packet_fanoutRegular
4.4: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
atomic_t sk_ref;
struct packet_type prot_hook;
};
4.8: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
atomic_t sk_ref;
struct packet_type prot_hook;
};
4.10: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
atomic_t sk_ref;
struct packet_type prot_hook;
};
4.13: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
4.15: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
4.18: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
5.0: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
5.3: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
5.4: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
5.8: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
5.11: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u32 max_num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
struct sock * arr[0];
};
5.13: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u32 max_num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
struct sock * arr[0];
};
5.15: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u32 max_num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
struct sock * arr[0];
};
5.19: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u32 max_num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
struct sock * arr[0];
};
6.2: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u32 max_num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
struct sock * arr[0];
};
6.5: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u32 max_num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
struct sock * arr[0];
};
6.8: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u32 max_num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
struct sock * arr[0];
};
arm64: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
armhf: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
ppc64el: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
riscv64: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
aws: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
azure: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
gcp: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
lowlatency: ✅struct packet_fanout {
possible_net_t net;
unsigned int num_members;
u16 id;
u8 type;
u8 flags;
atomic_t rr_cur;
struct bpf_prog *bpf_prog;
struct list_head list;
struct sock * arr[256];
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook;
};
Regular
4.4 and 4.8 ✅
4.8 and 4.10 ✅
4.10 and 4.13 ⚠️atomic_t sk_ref ➡️ refcount_t sk_ref
4.13 and 4.15 ✅
4.15 and 4.18 ✅
4.18 and 5.0 ✅
5.0 and 5.3 ✅
5.3 and 5.4 ✅
5.4 and 5.8 ✅
5.8 and 5.11 ⚠️u32 max_num_members
struct sock * arr[256] ➡️ struct sock * arr[0]
5.11 and 5.13 ✅
5.13 and 5.15 ✅
5.15 and 5.19 ✅
5.19 and 6.2 ✅
6.2 and 6.5 ✅
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅