/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_trap.c | 250 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 D | utils.c | 346 addr6->sin6_scope_id = dev->ifindex;
|
/linux-master/net/can/j1939/ |
H A D | transport.c | 602 can_skb_prv(skb)->ifindex = priv->ndev->ifindex; 1541 can_skb_prv(skb)->ifindex = priv->ndev->ifindex;
|
/linux-master/drivers/net/ |
H A D | ifb.c | 125 skb->skb_iif = txp->dev->ifindex;
|
H A D | veth.c | 203 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 D | amt.c | 636 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 D | uverbs_std_types_device.c | 422 entry.netdev_ifindex = ndev->ifindex;
|
/linux-master/net/caif/ |
H A D | caif_dev.c | 393 link_support = cfserl_create(dev->ifindex,
|
H A D | chnl_net.c | 459 /* 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 D | mip6.c | 241 sel.ifindex = fl6->flowi6_oif;
|
H A D | ndisc.c | 486 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 D | route.c | 478 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 D | net_namespace.h | 71 u32 ifindex; member in struct:net
|
H A D | ip6_route.h | 109 int ifindex, struct flowi6 *fl6,
|
/linux-master/include/linux/ |
H A D | filter.h | 1518 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 D | netdevice.h | 1786 * @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 D | prog.c | 451 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 D | ovs-dpctl.py | 1521 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 D | cxgbit_main.c | 618 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 D | ktls_rx.c | 503 th->dest, netdev->ifindex); 514 netdev->ifindex, 0);
|
/linux-master/net/ieee802154/ |
H A D | socket.c | 220 sk->sk_bound_dev_if = dev->ifindex; 370 sk->sk_bound_dev_if == dev->ifindex) {
|
/linux-master/tools/testing/selftests/net/ |
H A D | txtimestamp.c | 276 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 D | raw.c | 188 skb->dev->ifindex, sdif)) { 275 int dif = skb->dev->ifindex;
|
H A D | nexthop.c | 477 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 D | smc_ib.c | 906 smcibdev->ndev_ifidx[port] = ndev->ifindex; 931 smcibdev->ndev_ifidx[i] = ndev->ifindex;
|