Home
last modified time | relevance | path

Searched refs:orgcode (Results 1 – 2 of 2) sorted by relevance

/external/tcpdump/
Dprint-llc.c405 oui_to_struct_tok(uint32_t orgcode) in oui_to_struct_tok() argument
411 if (otp->oui == orgcode) { in oui_to_struct_tok()
424 uint32_t orgcode; in snap_print() local
431 orgcode = EXTRACT_24BITS(p); in snap_print()
441 tok2str(oui_values, "Unknown", orgcode), in snap_print()
442 orgcode, in snap_print()
443 (orgcode == 0x000000 ? "ethertype" : "pid"), in snap_print()
444 tok2str(oui_to_struct_tok(orgcode), "Unknown", et), in snap_print()
451 switch (orgcode) { in snap_print()
589 if (orgcode == 0x000000) { in snap_print()
[all …]
/external/libpcap/
Dgencode.c3566 gen_snap(compiler_state_t *cstate, bpf_u_int32 orgcode, bpf_u_int32 ptype) in gen_snap() argument
3573 snapblock[3] = (u_char)(orgcode >> 16); /* upper 8 bits of organization code */ in gen_snap()
3574 snapblock[4] = (u_char)(orgcode >> 8); /* middle 8 bits of organization code */ in gen_snap()
3575 snapblock[5] = (u_char)(orgcode >> 0); /* lower 8 bits of organization code */ in gen_snap()