packet_type
Regular
4.4
: ✅struct packet_type {
__be16 type;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
4.8
: ✅struct packet_type {
__be16 type;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
4.10
: ✅struct packet_type {
__be16 type;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
4.13
: ✅struct packet_type {
__be16 type;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
4.15
: ✅struct packet_type {
__be16 type;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
4.18
: ✅struct packet_type {
__be16 type;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
5.0
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
5.3
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
5.4
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
5.8
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
5.11
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
5.13
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
5.15
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
struct net *af_packet_net;
void *af_packet_priv;
struct list_head list;
};
5.19
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
netdevice_tracker dev_tracker;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
struct net *af_packet_net;
void *af_packet_priv;
struct list_head list;
};
6.2
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
netdevice_tracker dev_tracker;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
struct net *af_packet_net;
void *af_packet_priv;
struct list_head list;
};
6.5
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
netdevice_tracker dev_tracker;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
struct net *af_packet_net;
void *af_packet_priv;
struct list_head list;
};
6.8
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
netdevice_tracker dev_tracker;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
struct net *af_packet_net;
void *af_packet_priv;
struct list_head list;
};
arm64
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
armhf
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
ppc64el
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
riscv64
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
aws
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
azure
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
gcp
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
lowlatency
: ✅struct packet_type {
__be16 type;
bool ignore_outgoing;
struct net_device *dev;
int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *);
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *);
bool (*id_match)(struct packet_type *, struct sock *);
void *af_packet_priv;
struct list_head list;
};
Regular
4.4
and 4.8
✅
4.8
and 4.10
✅
4.10
and 4.13
✅
4.13
and 4.15
✅
4.15
and 4.18
✅
4.18
and 5.0
⚠️bool ignore_outgoing
void (*list_func)(struct list_head *, struct packet_type *, struct net_device *)
5.0
and 5.3
✅
5.3
and 5.4
✅
5.4
and 5.8
✅
5.8
and 5.11
✅
5.11
and 5.13
✅
5.13
and 5.15
⚠️struct net *af_packet_net
5.15
and 5.19
⚠️netdevice_tracker dev_tracker
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
✅