Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:bp

49 nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
69 ND_TCHECK2(*bp, NSH_BASE_HDR_LEN + NSH_SERVICE_PATH_HDR_LEN);
71 ver = (uint8_t)(*bp >> 6);
72 flags = *bp;
73 bp += 1;
74 length = *bp;
75 bp += 1;
76 md_type = *bp;
77 bp += 1;
78 next_protocol = *bp;
79 bp += 1;
80 service_path_id = EXTRACT_24BITS(bp);
81 bp += 3;
82 service_index = *bp;
83 bp += 1;
104 ND_TCHECK2(*bp, length * NSH_HDR_WORD_SIZE);
120 ctx = EXTRACT_32BITS(bp);
121 bp += NSH_HDR_WORD_SIZE;
128 tlv_class = EXTRACT_16BITS(bp);
129 bp += 2;
130 tlv_type = *bp;
131 bp += 1;
132 tlv_len = *bp;
133 bp += 1;
146 ctx = EXTRACT_32BITS(bp);
147 bp += NSH_HDR_WORD_SIZE;
159 bp += (length - 2) * NSH_HDR_WORD_SIZE;
167 ip_print(ndo, bp, next_len);
170 ip6_print(ndo, bp, next_len);
173 ether_print(ndo, bp, next_len, ndo->ndo_snapend - bp, NULL, NULL);