Lines Matching defs:sreoff
175 uint8_t sreoff;
182 sreoff = *(bp + 2);
190 if (!gre_sre_print(ndo, af, sreoff, srelen, bp, len))
328 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff,
336 ret = gre_sre_ip_print(ndo, sreoff, srelen, bp, len);
341 ret = gre_sre_asn_print(ndo, sreoff, srelen, bp, len);
352 gre_sre_ip_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen,
358 if (sreoff & 3) {
359 ND_PRINT((ndo, ", badoffset=%u", sreoff));
366 if (sreoff >= srelen) {
367 ND_PRINT((ndo, ", badoff/len=%u/%u", sreoff, srelen));
379 ((bp - up) == sreoff) ? "*" : "", buf));
389 gre_sre_asn_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen,
394 if (sreoff & 1) {
395 ND_PRINT((ndo, ", badoffset=%u", sreoff));
402 if (sreoff >= srelen) {
403 ND_PRINT((ndo, ", badoff/len=%u/%u", sreoff, srelen));
414 ((bp - up) == sreoff) ? "*" : "",