Searched refs:orgcode (Results 1 – 2 of 2) sorted by relevance
382 u_int32_t orgcode; in snap_print() local387 orgcode = EXTRACT_24BITS(p); in snap_print()395 if (otp->oui == orgcode) { in snap_print()401 tok2str(oui_values, "Unknown", orgcode), in snap_print()402 orgcode, in snap_print()403 (orgcode == 0x000000 ? "ethertype" : "pid"), in snap_print()411 switch (orgcode) { in snap_print()
2623 gen_snap(orgcode, ptype, offset) in gen_snap() argument2624 bpf_u_int32 orgcode; in gen_snap()2633 snapblock[3] = (orgcode >> 16); /* upper 8 bits of organization code */2634 snapblock[4] = (orgcode >> 8); /* middle 8 bits of organization code */2635 snapblock[5] = (orgcode >> 0); /* lower 8 bits of organization code */