Lines Matching refs:bp
89 geneve_opts_print(netdissect_options *ndo, const u_char *bp, u_int len) in geneve_opts_print() argument
101 opt_class = EXTRACT_16BITS(bp); in geneve_opts_print()
102 opt_type = *(bp + 2); in geneve_opts_print()
103 opt_len = 4 + ((*(bp + 3) & OPT_LEN_MASK) * 4); in geneve_opts_print()
115 uint32_t *print_data = (uint32_t *)(bp + 4); in geneve_opts_print()
126 bp += opt_len; in geneve_opts_print()
132 geneve_print(netdissect_options *ndo, const u_char *bp, u_int len) in geneve_print() argument
144 ND_TCHECK2(*bp, 8); in geneve_print()
146 ver_opt = *bp; in geneve_print()
147 bp += 1; in geneve_print()
156 flags = *bp; in geneve_print()
157 bp += 1; in geneve_print()
160 prot = EXTRACT_16BITS(bp); in geneve_print()
161 bp += 2; in geneve_print()
164 vni = EXTRACT_24BITS(bp); in geneve_print()
165 bp += 3; in geneve_print()
168 reserved = *bp; in geneve_print()
169 bp += 1; in geneve_print()
191 ND_TCHECK2(*bp, opts_len); in geneve_print()
197 geneve_opts_print(ndo, bp, opts_len); in geneve_print()
204 bp += opts_len; in geneve_print()
212 if (ethertype_print(ndo, prot, bp, len, len) == 0) { in geneve_print()
214 ether_print(ndo, bp, len, len, NULL, NULL); in geneve_print()