Lines Matching refs:err
46 static __always_inline __u32 xdp_get_err_key(int err) in xdp_get_err_key() argument
48 switch (err) { in xdp_get_err_key()
66 static __always_inline int xdp_redirect_collect_stat(int from, int err) in xdp_redirect_collect_stat() argument
76 key = xdp_get_err_key(err); in xdp_redirect_collect_stat()
97 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument
100 return xdp_redirect_collect_stat(dev->ifindex, err); in BPF_PROG()
105 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument
108 return xdp_redirect_collect_stat(dev->ifindex, err); in BPF_PROG()
113 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument
116 return xdp_redirect_collect_stat(dev->ifindex, err); in BPF_PROG()
121 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument
124 return xdp_redirect_collect_stat(dev->ifindex, err); in BPF_PROG()
207 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument
231 if (err || drops < 0) in BPF_PROG()
238 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument
263 if (err || drops < 0) in BPF_PROG()