Searched refs:tp_status (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/contrib/libpcap/
H A Dpcap-linux.c362 uint64_t tp_status; member in struct:tpacket_hdr_64
415 * or "on VLAN 0". There is no flag set in the tp_status field to
420 * in the tp_status field, otherwise the tp_vlan_tci field is set to 0 and
421 * the TP_STATUS_VLAN_VALID flag isn't set in the tp_status field.
431 * with the TP_STATUS_VLAN_VALID flag not set in tp_status as not having
439 #define VLAN_VALID(hdr, hv) ((hv)->tp_vlan_tci != 0 || ((hdr)->tp_status & TP_STATUS_VLAN_VALID))
446 * tp_status field, so the tests of it will always fail; that means
449 #define VLAN_VALID(hdr, hv) ((hv)->tp_vlan_tci != 0 || ((hdr)->tp_status & 0x10))
453 # define VLAN_TPID(hdr, hv) (((hv)->tp_vlan_tpid || ((hdr)->tp_status & TP_STATUS_VLAN_TPID_VALID)) ? (hv)->tp_vlan_tpid : ETH_P_8021Q)
4972 return (h.h1->tp_status);
[all...]

Completed in 103 milliseconds