Searched refs:ifindex (Results 326 - 350 of 441) sorted by relevance

<<1112131415161718

/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c250 mlxsw_sp_port->dev->ifindex : 0;
289 mlxsw_sp_port->dev->ifindex, params->truncate,
339 mlxsw_sp_port->dev->ifindex, params->truncate,
375 mlxsw_sp_port->dev->ifindex, params->truncate,
/linux-master/net/core/
H A Dutils.c346 addr6->sin6_scope_id = dev->ifindex;
/linux-master/net/can/j1939/
H A Dtransport.c602 can_skb_prv(skb)->ifindex = priv->ndev->ifindex;
1541 can_skb_prv(skb)->ifindex = priv->ndev->ifindex;
/linux-master/drivers/net/
H A Difb.c125 skb->skb_iif = txp->dev->ifindex;
H A Dveth.c203 data[0] = peer ? peer->ifindex : 0;
1449 iflink = peer ? READ_ONCE(peer->ifindex) : 0;
1824 if (ifmp && (dev->ifindex != 0))
1825 peer->ifindex = ifmp->ifi_index;
H A Damt.c636 amt->stream_dev->ifindex);
725 amt->stream_dev->ifindex);
1018 fl4.flowi4_oif = amt->stream_dev->ifindex;
1077 fl4.flowi4_oif = amt->stream_dev->ifindex;
1131 fl4.flowi4_oif = amt->stream_dev->ifindex;
2573 amt->stream_dev->ifindex);
3315 if (nla_put_u32(skb, IFLA_AMT_LINK, amt->stream_dev->ifindex))
/linux-master/drivers/infiniband/core/
H A Duverbs_std_types_device.c422 entry.netdev_ifindex = ndev->ifindex;
/linux-master/net/caif/
H A Dcaif_dev.c393 link_support = cfserl_create(dev->ifindex,
H A Dchnl_net.c459 /* Use ifindex as connection id, and use loopback channel default. */
461 caifdev->conn_req.sockaddr.u.dgm.connection_id = dev->ifindex;
/linux-master/net/ipv6/
H A Dmip6.c241 sel.ifindex = fl6->flowi6_oif;
H A Dndisc.c486 int oif = skb->dev->ifindex;
1213 ndmsg->nduseropt_ifindex = ra->dev->ifindex;
1649 skb->dev->ifindex);
1714 &saddr_buf, &ipv6_hdr(skb)->saddr, dev->ifindex);
H A Droute.c478 if (dev->ifindex == oif)
717 if (!oif || nh->fib_nh_dev->ifindex == oif)
2576 .flowi6_iif = skb->dev->ifindex,
3007 fl6->flowi6_oif != nh->fib_nh_dev->ifindex)
3634 fib6_nh->fib_nh_oif = dev->ifindex;
3976 if (cfg->fc_ifindex && rt->dst.dev->ifindex != cfg->fc_ifindex)
4094 nh->fib_nh_dev->ifindex != cfg->fc_ifindex))
4265 int ifindex = dev->ifindex;
4283 if (rt->fib6_nh->fib_nh_dev->ifindex !
4264 int ifindex = dev->ifindex; local
[all...]
/linux-master/include/net/
H A Dnet_namespace.h71 u32 ifindex; member in struct:net
H A Dip6_route.h109 int ifindex, struct flowi6 *fl6,
/linux-master/include/linux/
H A Dfilter.h1518 const int ifindex, struct sock **psk)
1534 .ingress_ifindex = ifindex,
1557 const int ifindex, struct sock **psk)
1573 .ingress_ifindex = ifindex,
1515 bpf_sk_lookup_run_v4(struct net *net, int protocol, const __be32 saddr, const __be16 sport, const __be32 daddr, const u16 dport, const int ifindex, struct sock **psk) argument
1552 bpf_sk_lookup_run_v6(struct net *net, int protocol, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 dport, const int ifindex, struct sock **psk) argument
H A Dnetdevice.h1786 * @ifindex: interface index
2088 int ifindex; member in struct:net_device
3023 #define for_each_netdev_dump(net, d, ifindex) \
3024 xa_for_each_start(&(net)->dev_by_index, (ifindex), (d), (ifindex))
3132 struct net_device *dev_get_by_index(struct net *net, int ifindex);
3133 struct net_device *__dev_get_by_index(struct net *net, int ifindex);
3134 struct net_device *netdev_get_by_index(struct net *net, int ifindex,
3138 struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex);
5052 return dev->ifindex;
[all...]
/linux-master/tools/bpf/bpftool/
H A Dprog.c451 print_dev_json(info->ifindex, info->netns_dev, info->netns_ino);
521 print_dev_plain(info->ifindex, info->netns_dev, info->netns_ino);
768 if (info->ifindex) {
769 name = ifindex_to_arch(info->ifindex, info->netns_dev,
1746 /* Set ifindex and name reuse */
/linux-master/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1521 def info(self, dpname, ifindex=0):
1526 msg["dpifindex"] = ifindex
2027 def print_ovsdp_full(dp_lookup_rep, ifindex, ndb=NDB(), vpl=OvsVport()):
2054 rep = vpl.info(iface.ifname, ifindex)
/linux-master/drivers/target/iscsi/cxgbit/
H A Dcxgbit_main.c618 iscsi_app->ifindex, priority);
620 ndev = dev_get_by_index(&init_net, iscsi_app->ifindex);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_rx.c503 th->dest, netdev->ifindex);
514 netdev->ifindex, 0);
/linux-master/net/ieee802154/
H A Dsocket.c220 sk->sk_bound_dev_if = dev->ifindex;
370 sk->sk_bound_dev_if == dev->ifindex) {
/linux-master/tools/testing/selftests/net/
H A Dtxtimestamp.c276 static void print_pktinfo(int family, int ifindex, void *saddr, void *daddr) argument
280 fprintf(stderr, " pktinfo: ifindex=%u src=%s dst=%s\n",
281 ifindex,
/linux-master/net/ipv4/
H A Draw.c188 skb->dev->ifindex, sdif)) {
275 int dif = skb->dev->ifindex;
H A Dnexthop.c477 hash = nh_dev_hashfn(dev->ifindex);
957 if (dev && nla_put_u32(skb, NHA_OIF, dev->ifindex))
2626 unsigned int hash = nh_dev_hashfn(dev->ifindex);
2870 cfg->nh_ifindex = net->loopback_dev->ifindex;
3357 if (filter->dev_idx && (!dev || dev->ifindex != filter->dev_idx))
3367 if (!master || master->ifindex != filter->master_idx)
3802 unsigned int hash = nh_dev_hashfn(dev->ifindex);
/linux-master/net/smc/
H A Dsmc_ib.c906 smcibdev->ndev_ifidx[port] = ndev->ifindex;
931 smcibdev->ndev_ifidx[i] = ndev->ifindex;

Completed in 830 milliseconds

<<1112131415161718