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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dif_packet.h90 #define TPACKET_ALIGNMENT 16 macro
91 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1))
115 - Start. Frame must be aligned to TPACKET_ALIGNMENT=16
117 - pad to TPACKET_ALIGNMENT=16
119 - Gap, chosen so that packet data (Start+tp_net) alignes to TPACKET_ALIGNMENT=16
121 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
122 - Pad to align to TPACKET_ALIGNMENT=16
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/packet/
H A Daf_packet.c2407 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1)))

Completed in 245 milliseconds