Lines Matching refs:len
88 u_int len = length, vers; in gre_print() local
90 if (len < 2) { in gre_print()
99 gre_print_0(ndo, bp, len); in gre_print()
102 gre_print_1(ndo, bp, len); in gre_print()
113 u_int len = length; in gre_print_0() local
121 len -= 2; in gre_print_0()
124 if (len < 2) in gre_print_0()
127 len -= 2; in gre_print_0()
131 if (len < 2) in gre_print_0()
136 len -= 2; in gre_print_0()
138 if (len < 2) in gre_print_0()
142 len -= 2; in gre_print_0()
146 if (len < 4) in gre_print_0()
150 len -= 4; in gre_print_0()
154 if (len < 4) in gre_print_0()
158 len -= 4; in gre_print_0()
167 if (len < 4) in gre_print_0()
173 len -= 4; in gre_print_0()
178 gre_sre_print(ndo, af, sreoff, srelen, bp, len); in gre_print_0()
180 if (len < srelen) in gre_print_0()
183 len -= srelen; in gre_print_0()
201 ip_print(ndo, bp, len); in gre_print_0()
204 ip6_print(ndo, bp, len); in gre_print_0()
207 mpls_print(ndo, bp, len); in gre_print_0()
210 ipx_print(ndo, bp, len); in gre_print_0()
213 atalk_print(ndo, bp, len); in gre_print_0()
216 isoclns_print(ndo, bp, len, len); in gre_print_0()
219 ether_print(ndo, bp, len, len, NULL, NULL); in gre_print_0()
233 u_int len = length; in gre_print_1() local
237 len -= 2; in gre_print_1()
244 if (len < 2) in gre_print_1()
247 len -= 2; in gre_print_1()
254 if (len < 4) in gre_print_1()
258 len -= 4; in gre_print_1()
263 if (len < 4) in gre_print_1()
267 len -= 4; in gre_print_1()
271 if (len < 4) in gre_print_1()
275 len -= 4; in gre_print_1()
298 ppp_print(ndo, bp, len); in gre_print_1()
312 uint8_t srelen, const u_char *bp, u_int len) in gre_sre_print() argument
317 gre_sre_ip_print(ndo, sreoff, srelen, bp, len); in gre_sre_print()
322 gre_sre_asn_print(ndo, sreoff, srelen, bp, len); in gre_sre_print()
332 const u_char *bp, u_int len) in gre_sre_ip_print() argument
351 if (len < 4 || srelen == 0) in gre_sre_ip_print()
360 len -= 4; in gre_sre_ip_print()
367 const u_char *bp, u_int len) in gre_sre_asn_print() argument
385 if (len < 2 || srelen == 0) in gre_sre_asn_print()
393 len -= 2; in gre_sre_asn_print()