Searched refs:TPACKET_ALIGN (Results 1 – 2 of 2) sorted by relevance
66 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1)) macro67 #define TPACKET_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket_hdr)) + sizeof(struct sockaddr_ll))
585 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()