Home
last modified time | relevance | path

Searched refs:TPACKET_ALIGNMENT (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_packet.h141 #define TPACKET_ALIGNMENT 16 macro
142 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1))
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_packet.h141 #define TPACKET_ALIGNMENT 16 macro
142 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1))
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_packet.h142 #define TPACKET_ALIGNMENT 16 macro
143 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1))
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dpsock_tpacket.c56 # define __aligned_tpacket __attribute__((aligned(TPACKET_ALIGNMENT)))
633 ring->req.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v1_v2_fill()
654 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dpacket_mmap.rst382 - Start. Frame must be aligned to TPACKET_ALIGNMENT=16
384 - pad to TPACKET_ALIGNMENT=16
387 TPACKET_ALIGNMENT=16
389 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
390 - Pad to align to TPACKET_ALIGNMENT=16
397 - tp_frame_size must be a multiple of TPACKET_ALIGNMENT
/OK3568_Linux_fs/kernel/net/packet/
H A Daf_packet.c4380 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()