Home
last modified time | relevance | path

Searched refs:ifindex (Results 1 – 25 of 36) sorted by relevance

12

/include/net/
Dl3mdev.h67 int ifindex; in l3mdev_master_ifindex() local
70 ifindex = l3mdev_master_ifindex_rcu(dev); in l3mdev_master_ifindex()
73 return ifindex; in l3mdev_master_ifindex()
76 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() argument
81 if (likely(ifindex)) { in l3mdev_master_ifindex_by_index()
84 dev = dev_get_by_index_rcu(net, ifindex); in l3mdev_master_ifindex_by_index()
119 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex);
121 int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index() argument
124 ifindex = l3mdev_master_upper_ifindex_by_index_rcu(net, ifindex); in l3mdev_master_upper_ifindex_by_index()
127 return ifindex; in l3mdev_master_upper_ifindex_by_index()
[all …]
Dllc.h73 struct hlist_head *llc_sk_dev_hash(struct llc_sap *sap, int ifindex) in llc_sk_dev_hash() argument
75 u32 bucket = hash_32(ifindex, LLC_SK_DEV_HASH_BITS); in llc_sk_dev_hash()
Daddrconf.h222 int type, int ifindex);
236 int ipv6_sock_mc_join(struct sock *sk, int ifindex,
238 int ipv6_sock_mc_drop(struct sock *sk, int ifindex,
305 int ipv6_sock_ac_join(struct sock *sk, int ifindex,
307 int ipv6_sock_ac_drop(struct sock *sk, int ifindex,
332 int ifindex, struct ipv6_devconf *devconf);
Dipv6_stubs.h23 int (*ipv6_sock_mc_join)(struct sock *sk, int ifindex,
25 int (*ipv6_sock_mc_drop)(struct sock *sk, int ifindex,
Ddcbnl.h16 int ifindex; member
Dmctp.h185 int ifindex; /* extended/direct addressing if set */ member
Dpkt_cls.h561 return dev->ifindex; in tcf_change_indev()
565 tcf_match_indev(struct sk_buff *skb, int ifindex) in tcf_match_indev() argument
567 if (!ifindex) in tcf_match_indev()
571 return ifindex == skb->skb_iif; in tcf_match_indev()
/include/trace/events/
Dxdp.h38 __field(int, ifindex)
44 __entry->ifindex = dev->ifindex;
50 __entry->ifindex)
61 __field(int, ifindex)
69 __entry->ifindex = dev->ifindex;
77 __entry->ifindex,
102 __field(int, ifindex)
110 u32 ifindex = 0, map_index = index;
117 ifindex = ((struct _bpf_dtab_netdev *)tgt)->dev->ifindex;
119 ifindex = index;
[all …]
Dqdisc.h26 __field( int, ifindex )
38 __entry->ifindex = txq->dev ? txq->dev->ifindex : 0;
45 __entry->ifindex, __entry->handle, __entry->parent,
59 __field(int, ifindex)
68 __entry->ifindex = txq->dev ? txq->dev->ifindex : 0;
74 __entry->ifindex, __entry->handle, __entry->parent, __entry->skbaddr)
/include/net/netfilter/
Dnf_conntrack_act_ct.h11 int ifindex[IP_CT_DIR_MAX]; member
31 act_ct_ext->ifindex[CTINFO2DIR(ctinfo)] = skb->dev->ifindex; in nf_conn_act_ct_ext_fill()
Dnf_nat.h65 nat->masq_index != out->ifindex; in nf_nat_oif_changed()
Dnf_flow_table.h202 u32 ifindex; member
211 u32 ifindex; member
/include/net/caif/
Dcaif_dev.h44 int ifindex; member
69 struct cflayer *client_layer, int *ifindex,
/include/uapi/linux/
Dxdp_diag.h52 __u32 ifindex; member
68 __u32 ifindex; member
Dicmp.h156 __be32 ifindex; member
Dif_bridge.h486 __u32 ifindex; member
686 __u32 ifindex; member
690 __u32 ifindex; member
Dxfrm.h60 int ifindex; member
511 int ifindex; member
Dbpf.h5887 __u32 ifindex; member
6100 __u32 ifindex; /* device index */ member
6198 __u32 ifindex; member
6235 __u32 ifindex; member
6302 __u32 ifindex; member
6735 __u32 ifindex; member
/include/uapi/linux/tc_act/
Dtc_mirred.h16 __u32 ifindex; /* ifindex of egress port */ member
/include/linux/
Dif_pppox.h26 int ifindex; /* ifindex of device associated with socket */ member
54 #define pppoe_ifindex proto.pppoe.ifindex
Digmp.h118 struct ip_mreq_source *mreqs, int ifindex);
119 extern int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf,int ifindex);
Dnetfilter_bridge.h55 return nf_bridge->physoutdev ? nf_bridge->physoutdev->ifindex : 0; in nf_bridge_get_physoutif()
Dfilter.h1434 const int ifindex, struct sock **psk) in bpf_sk_lookup_run_v4() argument
1450 .ingress_ifindex = ifindex, in bpf_sk_lookup_run_v4()
1473 const int ifindex, struct sock **psk) in bpf_sk_lookup_run_v6() argument
1489 .ingress_ifindex = ifindex, in bpf_sk_lookup_run_v6()
1507 static __always_inline int __bpf_xdp_redirect_map(struct bpf_map *map, u32 ifindex, in __bpf_xdp_redirect_map() argument
1518 ri->tgt_value = lookup_elem(map, ifindex); in __bpf_xdp_redirect_map()
1530 ri->tgt_index = ifindex; in __bpf_xdp_redirect_map()
/include/net/phonet/
Dpep.h28 int ifindex; member
/include/linux/can/
Dskb.h57 int ifindex; member

12