Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-llc.c383 u_int32_t orgcode; in snap_print() local
388 orgcode = EXTRACT_24BITS(p); in snap_print()
396 if (otp->oui == orgcode) { in snap_print()
402 tok2str(oui_values, "Unknown", orgcode), in snap_print()
403 orgcode, in snap_print()
404 (orgcode == 0x000000 ? "ethertype" : "pid"), in snap_print()
412 switch (orgcode) { in snap_print()
/external/libpcap/
Dgencode.c3443 gen_snap(orgcode, ptype) in gen_snap() argument
3444 bpf_u_int32 orgcode; in gen_snap()
3452 snapblock[3] = (orgcode >> 16); /* upper 8 bits of organization code */
3453 snapblock[4] = (orgcode >> 8); /* middle 8 bits of organization code */
3454 snapblock[5] = (orgcode >> 0); /* lower 8 bits of organization code */