Lines Matching refs:fraglen

76 interpret_ospf6_hello(int flags, struct ospf6hdr *op, int fraglen)  in interpret_ospf6_hello()  argument
81 if (fraglen < OSPF6_MIN_HEADER_SIZE + OSPF_MIN_HELLO_HEADER_SIZE) in interpret_ospf6_hello()
97 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf6_hello()
99 ((uchar_t *)op + fraglen)) in interpret_ospf6_hello()
136 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf6_hello()
138 ((uchar_t *)op + fraglen)) in interpret_ospf6_hello()
145 return (fraglen); in interpret_ospf6_hello()
585 interpret_ospf6(int flags, struct ospf6hdr *ospf, int iplen, int fraglen) in interpret_ospf6() argument
593 if ((fraglen < OSPF6_MIN_HEADER_SIZE) || in interpret_ospf6()
594 (fraglen < ntohs(ospf->ospf6_len))) in interpret_ospf6()
595 return (fraglen); /* incomplete header */ in interpret_ospf6()
602 return (interpret_ospf(flags, ospf, iplen, fraglen)); in interpret_ospf6()
604 return (fraglen); in interpret_ospf6()
608 if (fraglen > ntohs(ospf->ospf6_len)) in interpret_ospf6()
609 fraglen = ntohs(ospf->ospf6_len); in interpret_ospf6()
618 show_header("OSPFv3: ", "OSPFv3 Header", fraglen); in interpret_ospf6()
623 return (fraglen); in interpret_ospf6()
639 show_header("OSPFv3: ", "OSPF Header", fraglen); in interpret_ospf6()
657 if (interpret_ospf6_hello(flags, ospf, fraglen) < 0) in interpret_ospf6()
662 if (fraglen < OSPF6_MIN_HEADER_SIZE + in interpret_ospf6()
679 fraglen); in interpret_ospf6()
693 while ((uchar_t *)lsah < ((uchar_t *)ospf + fraglen)) { in interpret_ospf6()
695 ((uchar_t *)ospf + fraglen)) { in interpret_ospf6()
706 if (fraglen < OSPF6_MIN_HEADER_SIZE + in interpret_ospf6()
713 fraglen); in interpret_ospf6()
718 while ((uchar_t *)lsr < ((uchar_t *)ospf + fraglen)) { in interpret_ospf6()
720 ((uchar_t *)ospf + fraglen)) { in interpret_ospf6()
738 if (fraglen < OSPF6_MIN_HEADER_SIZE + in interpret_ospf6()
745 fraglen); in interpret_ospf6()
756 uchar_t *fragend = (uchar_t *)ospf + fraglen; in interpret_ospf6()
778 fraglen); in interpret_ospf6()
783 while ((uchar_t *)lsah < ((uchar_t *)ospf + fraglen)) { in interpret_ospf6()
785 ((uchar_t *)ospf + fraglen)) { in interpret_ospf6()
812 return (fraglen); in interpret_ospf6()