Lines Matching refs:fraglen

129 interpret_ospf_hello(int flags, struct ospfhdr *op, int fraglen)  in interpret_ospf_hello()  argument
134 if (fraglen < OSPF_MIN_HEADER_SIZE + OSPF_MIN_HELLO_HEADER_SIZE) in interpret_ospf_hello()
150 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf_hello()
152 ((uchar_t *)op + fraglen)) in interpret_ospf_hello()
188 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf_hello()
190 ((uchar_t *)op + fraglen)) in interpret_ospf_hello()
197 return (fraglen); in interpret_ospf_hello()
538 interpret_ospf(int flags, struct ospfhdr *ospf, int iplen, int fraglen) in interpret_ospf() argument
546 if ((fraglen < OSPF_MIN_HEADER_SIZE) || in interpret_ospf()
547 (fraglen < ntohs(ospf->ospf_len))) in interpret_ospf()
548 return (fraglen); /* incomplete header */ in interpret_ospf()
550 if (fraglen > ntohs(ospf->ospf_len)) in interpret_ospf()
551 fraglen = ntohs(ospf->ospf_len); in interpret_ospf()
561 show_header("OSPF: ", "OSPF Header", fraglen); in interpret_ospf()
566 return (fraglen); in interpret_ospf()
582 show_header("OSPF: ", "OSPF Header", fraglen); in interpret_ospf()
610 return (interpret_ospf6(flags, ospf, iplen, fraglen)); in interpret_ospf()
612 return (fraglen); in interpret_ospf()
618 if (interpret_ospf_hello(flags, ospf, fraglen) < 0) in interpret_ospf()
623 if (fraglen < OSPF_MIN_HEADER_SIZE + OSPF_MIN_DB_HEADER_SIZE) { in interpret_ospf()
637 fraglen); in interpret_ospf()
649 while ((uchar_t *)lsah < ((uchar_t *)ospf + fraglen)) { in interpret_ospf()
651 ((uchar_t *)ospf + fraglen)) { in interpret_ospf()
662 if (fraglen < OSPF_MIN_HEADER_SIZE + OSPF_MIN_LSR_HEADER_SIZE) { in interpret_ospf()
671 while ((uchar_t *)lsr < ((uchar_t *)ospf + fraglen)) { in interpret_ospf()
673 ((uchar_t *)ospf + fraglen)) { in interpret_ospf()
693 if (fraglen < OSPF_MIN_HEADER_SIZE + OSPF_MIN_LSU_HEADER_SIZE) { in interpret_ospf()
699 fraglen); in interpret_ospf()
710 uchar_t *fragend = (uchar_t *)ospf + fraglen; in interpret_ospf()
733 fraglen); in interpret_ospf()
738 while ((uchar_t *)lsah < ((uchar_t *)ospf + fraglen)) { in interpret_ospf()
740 ((uchar_t *)ospf + fraglen)) { in interpret_ospf()
769 return (fraglen); in interpret_ospf()