internal.h (a02001086bbfb4da35d1228bebc2f1b442db455f) | internal.h (0c5c9fb55106333e773de8c9dd321fa8240caeb3) |
---|---|
1#ifndef __PACKET_INTERNAL_H__ 2#define __PACKET_INTERNAL_H__ 3 4struct packet_mclist { 5 struct packet_mclist *next; 6 int ifindex; 7 int count; 8 unsigned short type; --- 60 unchanged lines hidden (view full) --- 69 70 struct tpacket_kbdq_core prb_bdqc; 71}; 72 73extern struct mutex fanout_mutex; 74#define PACKET_FANOUT_MAX 256 75 76struct packet_fanout { | 1#ifndef __PACKET_INTERNAL_H__ 2#define __PACKET_INTERNAL_H__ 3 4struct packet_mclist { 5 struct packet_mclist *next; 6 int ifindex; 7 int count; 8 unsigned short type; --- 60 unchanged lines hidden (view full) --- 69 70 struct tpacket_kbdq_core prb_bdqc; 71}; 72 73extern struct mutex fanout_mutex; 74#define PACKET_FANOUT_MAX 256 75 76struct packet_fanout { |
77#ifdef CONFIG_NET_NS 78 struct net *net; 79#endif | 77 possible_net_t net; |
80 unsigned int num_members; 81 u16 id; 82 u8 type; 83 u8 flags; 84 atomic_t rr_cur; 85 struct list_head list; 86 struct sock *arr[PACKET_FANOUT_MAX]; 87 int next[PACKET_FANOUT_MAX]; --- 40 unchanged lines hidden --- | 78 unsigned int num_members; 79 u16 id; 80 u8 type; 81 u8 flags; 82 atomic_t rr_cur; 83 struct list_head list; 84 struct sock *arr[PACKET_FANOUT_MAX]; 85 int next[PACKET_FANOUT_MAX]; --- 40 unchanged lines hidden --- |