Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Dif_packet.h66 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1)) macro
67 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll))
/linux-2.4.37.9/net/packet/
Daf_packet.c585 macoff = netoff = TPACKET_ALIGN(TPACKET_HDRLEN) + 16; in tpacket_rcv()
588 netoff = TPACKET_ALIGN(TPACKET_HDRLEN + (maclen < 16 ? 16 : maclen)); in tpacket_rcv()
635 sll = (struct sockaddr_ll*)((u8*)h + TPACKET_ALIGN(sizeof(*h))); in tpacket_rcv()