Lines Matching refs:sreoff
172 u_int8_t sreoff; in gre_print_0() local
178 sreoff = *(bp + 2); in gre_print_0()
186 gre_sre_print(af, sreoff, srelen, bp, len); in gre_print_0()
321 gre_sre_print(u_int16_t af, u_int8_t sreoff, u_int8_t srelen, in gre_sre_print() argument
327 gre_sre_ip_print(sreoff, srelen, bp, len); in gre_sre_print()
332 gre_sre_asn_print(sreoff, srelen, bp, len); in gre_sre_print()
340 gre_sre_ip_print(u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) in gre_sre_ip_print() argument
345 if (sreoff & 3) { in gre_sre_ip_print()
346 printf(", badoffset=%u", sreoff); in gre_sre_ip_print()
353 if (sreoff >= srelen) { in gre_sre_ip_print()
354 printf(", badoff/len=%u/%u", sreoff, srelen); in gre_sre_ip_print()
364 ((bp - up) == sreoff) ? "*" : "", in gre_sre_ip_print()
374 gre_sre_asn_print(u_int8_t sreoff, u_int8_t srelen, const u_char *bp, u_int len) in gre_sre_asn_print() argument
378 if (sreoff & 1) { in gre_sre_asn_print()
379 printf(", badoffset=%u", sreoff); in gre_sre_asn_print()
386 if (sreoff >= srelen) { in gre_sre_asn_print()
387 printf(", badoff/len=%u/%u", sreoff, srelen); in gre_sre_asn_print()
396 ((bp - up) == sreoff) ? "*" : "", in gre_sre_asn_print()