Lines Matching defs:packet_sock
274 struct packet_sock { struct
276 struct sock sk;
277 struct packet_fanout *fanout;
278 struct tpacket_stats stats;
279 union tpacket_stats_u stats_u;
280 struct packet_ring_buffer rx_ring;
281 struct packet_ring_buffer tx_ring;
282 int copy_thresh;
283 spinlock_t bind_lock;
284 struct mutex pg_vec_lock;
285 unsigned int running:1, /* prot_hook is attached*/
286 auxdata:1,
287 origdev:1,
288 has_vnet_hdr:1;
289 int ifindex; /* bound device */
290 __be16 num;
291 struct packet_mclist *mclist;
292 atomic_t mapped;
293 enum tpacket_versions tp_version;
294 unsigned int tp_hdrlen;
295 unsigned int tp_reserve;
296 unsigned int tp_loss:1;
297 unsigned int tp_tstamp;
298 struct packet_type prot_hook ____cacheline_aligned_in_smp;