ifindex 344 arch/powerpc/net/bpf_jit_comp.c ifindex) != 4); ifindex 360 arch/powerpc/net/bpf_jit_comp.c offsetof(struct net_device, ifindex)); ifindex 273 arch/s390/include/asm/diag.h u32 ifindex; ifindex 536 arch/sparc/net/bpf_jit_comp_32.c emit_load32(r_A, struct net_device, ifindex, r_A); ifindex 3290 drivers/base/core.c "DEVICE=n%u", net->ifindex); ifindex 181 drivers/infiniband/core/addr.c header->ifindex = dev_addr->bound_dev_if; ifindex 240 drivers/infiniband/core/addr.c dev_addr->bound_dev_if = dev->ifindex; ifindex 539 drivers/infiniband/core/addr.c addr->bound_dev_if = ndev->ifindex; ifindex 1426 drivers/infiniband/core/cma.c fl4.flowi4_iif = net_dev->ifindex; ifindex 1446 drivers/infiniband/core/cma.c &src_addr->sin6_addr, net_dev->ifindex, ifindex 1619 drivers/infiniband/core/cma.c (addr->dev_addr.bound_dev_if == net_dev->ifindex))) ifindex 4512 drivers/infiniband/core/cma.c if ((dev_addr->bound_dev_if == ndev->ifindex) && ifindex 324 drivers/infiniband/core/nldev.c RDMA_NLDEV_ATTR_NDEV_INDEX, netdev->ifindex); ifindex 995 drivers/infiniband/core/nldev.c u32 ifindex; ifindex 1004 drivers/infiniband/core/nldev.c ifindex = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); ifindex 1005 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), ifindex); ifindex 92 drivers/infiniband/sw/rxe/rxe_net.c fl.flowi4_oif = ndev->ifindex; ifindex 115 drivers/infiniband/sw/rxe/rxe_net.c fl6.flowi6_oif = ndev->ifindex; ifindex 1822 drivers/infiniband/sw/siw/siw_cm.c s->sk->sk_bound_dev_if = sdev->netdev->ifindex; ifindex 1831 drivers/infiniband/sw/siw/siw_cm.c s->sk->sk_bound_dev_if = sdev->netdev->ifindex; ifindex 1241 drivers/infiniband/ulp/ipoib/ipoib_main.c return dev->ifindex; ifindex 1244 drivers/infiniband/ulp/ipoib/ipoib_main.c return priv->parent->ifindex; ifindex 179 drivers/net/bonding/bond_netlink.c int ifindex = nla_get_u32(data[IFLA_BOND_ACTIVE_SLAVE]); ifindex 183 drivers/net/bonding/bond_netlink.c if (ifindex != 0) { ifindex 185 drivers/net/bonding/bond_netlink.c ifindex); ifindex 296 drivers/net/bonding/bond_netlink.c int ifindex = nla_get_u32(data[IFLA_BOND_PRIMARY]); ifindex 300 drivers/net/bonding/bond_netlink.c dev = __dev_get_by_index(dev_net(bond_dev), ifindex); ifindex 513 drivers/net/bonding/bond_netlink.c int ifindex; ifindex 517 drivers/net/bonding/bond_netlink.c ifindex = slave ? slave->ifindex : 0; ifindex 519 drivers/net/bonding/bond_netlink.c return ifindex; ifindex 527 drivers/net/bonding/bond_netlink.c int ifindex, i, targets_added; ifindex 534 drivers/net/bonding/bond_netlink.c ifindex = bond_option_active_slave_get_ifindex(bond); ifindex 535 drivers/net/bonding/bond_netlink.c if (ifindex && nla_put_u32(skb, IFLA_BOND_ACTIVE_SLAVE, ifindex)) ifindex 586 drivers/net/bonding/bond_netlink.c nla_put_u32(skb, IFLA_BOND_PRIMARY, primary->dev->ifindex)) ifindex 657 drivers/net/can/dev.c can_skb_prv(skb)->ifindex = dev->ifindex; ifindex 685 drivers/net/can/dev.c can_skb_prv(skb)->ifindex = dev->ifindex; ifindex 215 drivers/net/can/slcan.c can_skb_prv(skb)->ifindex = sl->dev->ifindex; ifindex 113 drivers/net/can/vxcan.c iflink = peer ? peer->ifindex : 0; ifindex 207 drivers/net/can/vxcan.c if (ifmp && dev->ifindex) ifindex 208 drivers/net/can/vxcan.c peer->ifindex = ifmp->ifi_index; ifindex 50 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c dev->ifindex); ifindex 68 drivers/net/ethernet/chelsio/cxgb3/l2t.c static inline unsigned int arp_hash(u32 key, int ifindex, ifindex 71 drivers/net/ethernet/chelsio/cxgb3/l2t.c return jhash_2words(key, ifindex, 0) & (d->nentries - 1); ifindex 241 drivers/net/ethernet/chelsio/cxgb3/l2t.c int hash = arp_hash(e->addr, e->ifindex, d); ifindex 320 drivers/net/ethernet/chelsio/cxgb3/l2t.c ifidx = neigh->dev->ifindex; ifindex 335 drivers/net/ethernet/chelsio/cxgb3/l2t.c if (e->addr == addr && e->ifindex == ifidx && ifindex 351 drivers/net/ethernet/chelsio/cxgb3/l2t.c e->ifindex = ifidx; ifindex 405 drivers/net/ethernet/chelsio/cxgb3/l2t.c int ifidx = neigh->dev->ifindex; ifindex 410 drivers/net/ethernet/chelsio/cxgb3/l2t.c if (e->addr == addr && e->ifindex == ifidx) { ifindex 61 drivers/net/ethernet/chelsio/cxgb3/l2t.h int ifindex; /* neighbor's net_device's ifindex */ ifindex 87 drivers/net/ethernet/chelsio/cxgb4/l2t.c int ifindex) ifindex 91 drivers/net/ethernet/chelsio/cxgb4/l2t.c return jhash_2words(*key, ifindex, 0) % l2t_size_half; ifindex 95 drivers/net/ethernet/chelsio/cxgb4/l2t.c int ifindex) ifindex 101 drivers/net/ethernet/chelsio/cxgb4/l2t.c (jhash_2words(xor, ifindex, 0) % l2t_size_half)); ifindex 105 drivers/net/ethernet/chelsio/cxgb4/l2t.c int addr_len, int ifindex) ifindex 107 drivers/net/ethernet/chelsio/cxgb4/l2t.c return addr_len == 4 ? arp_hash(d, addr, ifindex) : ifindex 108 drivers/net/ethernet/chelsio/cxgb4/l2t.c ipv6_hash(d, addr, ifindex); ifindex 428 drivers/net/ethernet/chelsio/cxgb4/l2t.c int ifidx = neigh->dev->ifindex; ifindex 445 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (!addreq(e, addr) && e->ifindex == ifidx && ifindex 461 drivers/net/ethernet/chelsio/cxgb4/l2t.c e->ifindex = ifidx; ifindex 541 drivers/net/ethernet/chelsio/cxgb4/l2t.c int ifidx = neigh->dev->ifindex; ifindex 546 drivers/net/ethernet/chelsio/cxgb4/l2t.c if (!addreq(e, addr) && e->ifindex == ifidx) { ifindex 77 drivers/net/ethernet/chelsio/cxgb4/l2t.h int ifindex; /* neighbor's net_device's ifindex */ ifindex 9255 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c int ifindex; ifindex 9265 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c int ifindex = data->ifindex; ifindex 9267 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (vadapter && upper->ifindex == ifindex) { ifindex 9277 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c static int handle_redirect_action(struct ixgbe_adapter *adapter, int ifindex, ifindex 9288 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (upper->ifindex == ifindex) { ifindex 9298 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c data.ifindex = ifindex; ifindex 9335 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return handle_redirect_action(adapter, dev->ifindex, ifindex 92 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4->flowi4_oif = uplink_dev->ifindex; ifindex 328 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c th->dest, netdev->ifindex); ifindex 336 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c netdev->ifindex, 0); ifindex 444 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct mlx5_core_dev *mlx5e_hairpin_get_mdev(struct net *net, int ifindex) ifindex 449 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c netdev = __dev_get_by_index(net, ifindex); ifindex 2868 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c parse_attr->mirred_ifindex[0] = peer_dev->ifindex; ifindex 3277 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c out_dev->ifindex; ifindex 4327 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->dev->ifindex, 0, ifindex 837 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c params->dev->ifindex); ifindex 2686 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int ifindex; ifindex 2847 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct in6_addr *gw, int ifindex, ifindex 2856 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (nh->ifindex == ifindex && nh->nh_weight == weight && ifindex 2876 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int ifindex, weight; ifindex 2878 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c ifindex = fib6_nh->fib_nh_dev->ifindex; ifindex 2881 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (!mlxsw_sp_nexthop6_group_has_nexthop(nh_grp, gw, ifindex, ifindex 2929 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c val ^= jhash(&nh->ifindex, sizeof(nh->ifindex), seed); ifindex 2947 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c val ^= jhash(&dev->ifindex, sizeof(dev->ifindex), seed); ifindex 5109 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c nh->ifindex = dev->ifindex; ifindex 6204 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (rule->iifindex == info->net->loopback_dev->ifindex) ifindex 6493 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return rif->dev->ifindex; ifindex 2187 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c fid = mlxsw_sp_fid_8021d_lookup(mlxsw_sp, bridge_device->dev->ifindex); ifindex 2225 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c fid = mlxsw_sp_fid_8021d_get(mlxsw_sp, bridge_device->dev->ifindex); ifindex 2261 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return mlxsw_sp_fid_8021d_lookup(mlxsw_sp, bridge_device->dev->ifindex); ifindex 833 drivers/net/ethernet/mscc/ocelot.c ndm->ndm_ifindex = dump->dev->ifindex; ifindex 74 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c return priv->real_dev->ifindex; ifindex 142 drivers/net/ethernet/rocker/rocker_ofdpa.c int ifindex; /* key */ ifindex 2212 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_internal_vlan_tbl_find(const struct ofdpa *ofdpa, int ifindex) ifindex 2217 drivers/net/ethernet/rocker/rocker_ofdpa.c entry, ifindex) { ifindex 2218 drivers/net/ethernet/rocker/rocker_ofdpa.c if (found->ifindex == ifindex) ifindex 2226 drivers/net/ethernet/rocker/rocker_ofdpa.c int ifindex) ifindex 2238 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->ifindex = ifindex; ifindex 2242 drivers/net/ethernet/rocker/rocker_ofdpa.c found = ofdpa_internal_vlan_tbl_find(ofdpa, ifindex); ifindex 2249 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_add(ofdpa->internal_vlan_tbl, &found->entry, found->ifindex); ifindex 2314 drivers/net/ethernet/rocker/rocker_ofdpa.c int ifindex) ifindex 2323 drivers/net/ethernet/rocker/rocker_ofdpa.c found = ofdpa_internal_vlan_tbl_find(ofdpa, ifindex); ifindex 2327 drivers/net/ethernet/rocker/rocker_ofdpa.c ifindex); ifindex 2447 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port->dev->ifindex); ifindex 2612 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port->dev->ifindex); ifindex 2614 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port_internal_vlan_id_get(ofdpa_port, bridge->ifindex); ifindex 2630 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port->bridge_dev->ifindex); ifindex 2633 drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port->dev->ifindex); ifindex 1361 drivers/net/ethernet/sun/sunvnet_common.c fl4.flowi4_oif = dev->ifindex; ifindex 97 drivers/net/ifb.c skb->skb_iif = txp->dev->ifindex; ifindex 423 drivers/net/ipvlan/ipvlan_core.c .flowi4_oif = dev->ifindex, ifindex 462 drivers/net/ipvlan/ipvlan_core.c .flowi6_oif = dev->ifindex, ifindex 67 drivers/net/ipvlan/ipvlan_l3s.c .flowi6_iif = sdev->ifindex, ifindex 329 drivers/net/ipvlan/ipvlan_main.c return ipvlan->phy_dev->ifindex; ifindex 150 drivers/net/ipvlan/ipvtap.c snprintf(tap_name, IFNAMSIZ, "tap%d", dev->ifindex); ifindex 218 drivers/net/loopback.c BUG_ON(dev->ifindex != LOOPBACK_IFINDEX); ifindex 1462 drivers/net/macsec.c int ifindex = nla_get_u32(attrs[MACSEC_ATTR_IFINDEX]); ifindex 1465 drivers/net/macsec.c dev = __dev_get_by_index(net, ifindex); ifindex 2427 drivers/net/macsec.c if (nla_put_u32(skb, MACSEC_ATTR_IFINDEX, dev->ifindex)) ifindex 2964 drivers/net/macsec.c return macsec_priv(dev)->real_dev->ifindex; ifindex 1122 drivers/net/macvlan.c return vlan->lowerdev->ifindex; ifindex 157 drivers/net/macvtap.c snprintf(tap_name, IFNAMSIZ, "tap%d", dev->ifindex); ifindex 162 drivers/net/ppp/pppoe.c unsigned char *addr, int ifindex) ifindex 170 drivers/net/ppp/pppoe.c ret->pppoe_ifindex == ifindex) ifindex 200 drivers/net/ppp/pppoe.c char *addr, int ifindex) ifindex 210 drivers/net/ppp/pppoe.c ret->pppoe_ifindex == ifindex) { ifindex 226 drivers/net/ppp/pppoe.c unsigned char *addr, int ifindex) ifindex 231 drivers/net/ppp/pppoe.c po = __get_item(pn, sid, addr, ifindex); ifindex 246 drivers/net/ppp/pppoe.c int ifindex; ifindex 251 drivers/net/ppp/pppoe.c ifindex = dev->ifindex; ifindex 254 drivers/net/ppp/pppoe.c sp->sa_addr.pppoe.remote, ifindex); ifindex 261 drivers/net/ppp/pppoe.c char *addr, int ifindex) ifindex 264 drivers/net/ppp/pppoe.c __delete_item(pn, sid, addr, ifindex); ifindex 449 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); ifindex 506 drivers/net/ppp/pppoe.c po = get_item(pn, ph->sid, eth_hdr(skb)->h_source, dev->ifindex); ifindex 676 drivers/net/ppp/pppoe.c po->pppoe_ifindex = dev->ifindex; ifindex 2285 drivers/net/team/team.c int ifindex; ifindex 2292 drivers/net/team/team.c ifindex = nla_get_u32(info->attrs[TEAM_ATTR_TEAM_IFINDEX]); ifindex 2293 drivers/net/team/team.c dev = dev_get_by_index(net, ifindex); ifindex 2341 drivers/net/team/team.c opt_inst_info->port->dev->ifindex)) ifindex 2445 drivers/net/team/team.c if (nla_put_u32(skb, TEAM_ATTR_TEAM_IFINDEX, team->dev->ifindex)) ifindex 2610 drivers/net/team/team.c opt_inst_info->port->dev->ifindex : 0; ifindex 2674 drivers/net/team/team.c if (nla_put_u32(skb, TEAM_ATTR_PORT_IFINDEX, port->dev->ifindex)) ifindex 2724 drivers/net/team/team.c if (nla_put_u32(skb, TEAM_ATTR_TEAM_IFINDEX, team->dev->ifindex)) ifindex 74 drivers/net/team/team_mode_activebackup.c ctx->data.u32_val = active_port->dev->ifindex; ifindex 85 drivers/net/team/team_mode_activebackup.c if (port->dev->ifindex == ctx->data.u32_val) { ifindex 382 drivers/net/team/team_mode_loadbalance.c ctx->data.u32_val = port ? port->dev->ifindex : 0; ifindex 394 drivers/net/team/team_mode_loadbalance.c if (ctx->data.u32_val == port->dev->ifindex && ifindex 169 drivers/net/tun.c unsigned int ifindex; ifindex 2804 drivers/net/tun.c dev->ifindex = tfile->ifindex; ifindex 3045 drivers/net/tun.c unsigned int ifindex, carrier; ifindex 3103 drivers/net/tun.c if (copy_from_user(&ifindex, argp, sizeof(ifindex))) ifindex 3107 drivers/net/tun.c tfile->ifindex = ifindex; ifindex 3437 drivers/net/tun.c tfile->ifindex = 0; ifindex 154 drivers/net/veth.c data[0] = peer ? peer->ifindex : 0; ifindex 1019 drivers/net/veth.c iflink = peer ? peer->ifindex : 0; ifindex 1296 drivers/net/veth.c if (ifmp && (dev->ifindex != 0)) ifindex 1297 drivers/net/veth.c peer->ifindex = ifmp->ifi_index; ifindex 182 drivers/net/vrf.c fl6.flowi6_oif = dev->ifindex; ifindex 259 drivers/net/vrf.c fl4.flowi4_oif = vrf_dev->ifindex; ifindex 954 drivers/net/vrf.c int ifindex, ifindex 960 drivers/net/vrf.c return ip6_pol_route(net, vrf->fib6_table, ifindex, fl6, skb, flags); ifindex 964 drivers/net/vrf.c int ifindex) ifindex 968 drivers/net/vrf.c .flowi6_iif = ifindex, ifindex 978 drivers/net/vrf.c rt6 = vrf_ip6_route_lookup(net, vrf_dev, &fl6, ifindex, skb, ifindex 1001 drivers/net/vrf.c skb->skb_iif = vrf_dev->ifindex; ifindex 1012 drivers/net/vrf.c skb->skb_iif = vrf_dev->ifindex; ifindex 1043 drivers/net/vrf.c skb->skb_iif = vrf_dev->ifindex; ifindex 1103 drivers/net/vrf.c if (fl6->flowi6_oif == dev->ifindex) { ifindex 189 drivers/net/vxlan.c __be16 port, u32 flags, int ifindex) ifindex 199 drivers/net/vxlan.c vs->sock->sk->sk_bound_dev_if == ifindex) ifindex 205 drivers/net/vxlan.c static struct vxlan_dev *vxlan_vs_find_vni(struct vxlan_sock *vs, int ifindex, ifindex 222 drivers/net/vxlan.c cfg->remote_ifindex != ifindex) ifindex 233 drivers/net/vxlan.c static struct vxlan_dev *vxlan_find_vni(struct net *net, int ifindex, ifindex 239 drivers/net/vxlan.c vs = vxlan_find_sock(net, family, port, flags, ifindex); ifindex 243 drivers/net/vxlan.c return vxlan_vs_find_vni(vs, ifindex, vni); ifindex 274 drivers/net/vxlan.c ndm->ndm_ifindex = vxlan->dev->ifindex; ifindex 522 drivers/net/vxlan.c __be32 vni, __u32 ifindex) ifindex 530 drivers/net/vxlan.c rd->remote_ifindex == ifindex) ifindex 647 drivers/net/vxlan.c __u32 ifindex, struct vxlan_rdst *oldrd) ifindex 651 drivers/net/vxlan.c rd = vxlan_fdb_find_rdst(f, ip, port, vni, ifindex); ifindex 664 drivers/net/vxlan.c rd->remote_ifindex = ifindex; ifindex 672 drivers/net/vxlan.c __u32 ifindex, struct vxlan_rdst **rdp) ifindex 676 drivers/net/vxlan.c rd = vxlan_fdb_find_rdst(f, ip, port, vni, ifindex); ifindex 693 drivers/net/vxlan.c rd->remote_ifindex = ifindex; ifindex 826 drivers/net/vxlan.c __be32 vni, __u32 ifindex, __u16 ndm_flags, ifindex 842 drivers/net/vxlan.c rc = vxlan_fdb_append(f, ip, port, vni, ifindex, &rd); ifindex 900 drivers/net/vxlan.c __u32 ifindex, __u16 ndm_flags, ifindex 934 drivers/net/vxlan.c ifindex, &oldrd); ifindex 943 drivers/net/vxlan.c rc = vxlan_fdb_append(f, ip, port, vni, ifindex, &rd); ifindex 979 drivers/net/vxlan.c __u32 ifindex, __u16 ndm_flags, ifindex 994 drivers/net/vxlan.c vni, ifindex, fdb_flags, &f); ifindex 1016 drivers/net/vxlan.c __u32 ifindex, __u16 ndm_flags, ifindex 1031 drivers/net/vxlan.c vni, ifindex, ndm_flags, f, ifindex 1038 drivers/net/vxlan.c port, src_vni, vni, ifindex, ifindex 1053 drivers/net/vxlan.c __be32 *vni, u32 *ifindex) ifindex 1104 drivers/net/vxlan.c *ifindex = nla_get_u32(tb[NDA_IFINDEX]); ifindex 1105 drivers/net/vxlan.c tdev = __dev_get_by_index(net, *ifindex); ifindex 1109 drivers/net/vxlan.c *ifindex = 0; ifindex 1126 drivers/net/vxlan.c u32 ifindex; ifindex 1139 drivers/net/vxlan.c err = vxlan_fdb_parse(tb, vxlan, &ip, &port, &src_vni, &vni, &ifindex); ifindex 1149 drivers/net/vxlan.c port, src_vni, vni, ifindex, ifindex 1160 drivers/net/vxlan.c u32 ifindex, bool swdev_notify) ifindex 1171 drivers/net/vxlan.c rd = vxlan_fdb_find_rdst(f, &ip, port, vni, ifindex); ifindex 1199 drivers/net/vxlan.c u32 ifindex; ifindex 1203 drivers/net/vxlan.c err = vxlan_fdb_parse(tb, vxlan, &ip, &port, &src_vni, &vni, &ifindex); ifindex 1209 drivers/net/vxlan.c err = __vxlan_fdb_delete(vxlan, addr, ip, port, src_vni, vni, ifindex, ifindex 1294 drivers/net/vxlan.c u32 ifindex = 0; ifindex 1299 drivers/net/vxlan.c ifindex = src_ifindex; ifindex 1307 drivers/net/vxlan.c rdst->remote_ifindex == ifindex)) ifindex 1336 drivers/net/vxlan.c ifindex, NTF_SELF, true, NULL); ifindex 1448 drivers/net/vxlan.c int ifindex = vxlan->default_dst.remote_ifindex; ifindex 1455 drivers/net/vxlan.c .imr_ifindex = ifindex, ifindex 1468 drivers/net/vxlan.c ret = ipv6_stub->ipv6_sock_mc_join(sk, ifindex, ifindex 1482 drivers/net/vxlan.c int ifindex = vxlan->default_dst.remote_ifindex; ifindex 1489 drivers/net/vxlan.c .imr_ifindex = ifindex, ifindex 1502 drivers/net/vxlan.c ret = ipv6_stub->ipv6_sock_mc_drop(sk, ifindex, ifindex 1597 drivers/net/vxlan.c u32 ifindex = skb->dev->ifindex; ifindex 1619 drivers/net/vxlan.c vxlan_snoop(skb->dev, &saddr, eth_hdr(skb)->h_source, ifindex, vni)) ifindex 1685 drivers/net/vxlan.c vxlan = vxlan_vs_find_vni(vs, skb->dev->ifindex, vni); ifindex 1804 drivers/net/vxlan.c vxlan = vxlan_vs_find_vni(vs, skb->dev->ifindex, vni); ifindex 2431 drivers/net/vxlan.c int ifindex; ifindex 2452 drivers/net/vxlan.c ifindex = rdst->remote_ifindex; ifindex 2490 drivers/net/vxlan.c ifindex = 0; ifindex 2511 drivers/net/vxlan.c if (!ifindex) ifindex 2512 drivers/net/vxlan.c ifindex = sock4->sock->sk->sk_bound_dev_if; ifindex 2514 drivers/net/vxlan.c rt = vxlan_get_route(vxlan, dev, sock4, skb, ifindex, tos, ifindex 2527 drivers/net/vxlan.c dst_port, ifindex, vni, ifindex 2563 drivers/net/vxlan.c if (!ifindex) ifindex 2564 drivers/net/vxlan.c ifindex = sock6->sock->sk->sk_bound_dev_if; ifindex 2566 drivers/net/vxlan.c ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, ifindex 2581 drivers/net/vxlan.c dst_port, ifindex, vni, ifindex 3194 drivers/net/vxlan.c __be16 port, u32 flags, int ifindex) ifindex 3212 drivers/net/vxlan.c udp_conf.bind_ifindex = ifindex; ifindex 3225 drivers/net/vxlan.c int ifindex) ifindex 3240 drivers/net/vxlan.c sock = vxlan_create_sock(net, ipv6, port, flags, ifindex); ifindex 4241 drivers/net/vxlan.c if (dst->remote_ifindex == dev->ifindex) ifindex 319 drivers/net/wireless/intersil/prism54/islpci_mgt.c header->device_id = priv->ndev->ifindex; ifindex 2288 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c iscsi_app->ifindex, priority); ifindex 2290 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c ndev = dev_get_by_index(&init_net, iscsi_app->ifindex); ifindex 589 drivers/scsi/cxgbi/libcxgbi.c int ifindex) ifindex 594 drivers/scsi/cxgbi/libcxgbi.c dport, sport, IPPROTO_TCP, tos, ifindex); ifindex 602 drivers/scsi/cxgbi/libcxgbi.c cxgbi_check_route(struct sockaddr *dst_addr, int ifindex) ifindex 617 drivers/scsi/cxgbi/libcxgbi.c daddr->sin_port, 0, ifindex); ifindex 704 drivers/scsi/cxgbi/libcxgbi.c int ifindex) ifindex 709 drivers/scsi/cxgbi/libcxgbi.c fl.flowi6_oif = ifindex; ifindex 718 drivers/scsi/cxgbi/libcxgbi.c cxgbi_check_route6(struct sockaddr *dst_addr, int ifindex) ifindex 732 drivers/scsi/cxgbi/libcxgbi.c rt = find_route_ipv6(NULL, &daddr6->sin6_addr, ifindex); ifindex 2560 drivers/scsi/cxgbi/libcxgbi.c int ifindex = 0; ifindex 2577 drivers/scsi/cxgbi/libcxgbi.c csk = cxgbi_check_route(dst_addr, ifindex); ifindex 2580 drivers/scsi/cxgbi/libcxgbi.c csk = cxgbi_check_route6(dst_addr, ifindex); ifindex 2596 drivers/scsi/cxgbi/libcxgbi.c if (ifindex != hba->ndev->ifindex) { ifindex 2599 drivers/scsi/cxgbi/libcxgbi.c ifindex = hba->ndev->ifindex; ifindex 1804 drivers/scsi/fcoe/fcoe.c netdev = dev_get_by_index(&init_net, entry->ifindex); ifindex 582 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ndm->ndm_ifindex = dump->dev->ifindex; ifindex 35 drivers/staging/gdm724x/netlink_k.c int ifindex; ifindex 55 drivers/staging/gdm724x/netlink_k.c memcpy(&ifindex, ND_NLMSG_IFIDX(nlh), ND_IFINDEX_LEN); ifindex 59 drivers/staging/gdm724x/netlink_k.c dev = dev_get_by_index(&init_net, ifindex); ifindex 64 drivers/staging/gdm724x/netlink_k.c pr_err("nl cb - dev (%d) not found\n", ifindex); ifindex 611 drivers/target/iscsi/cxgbit/cxgbit_main.c iscsi_app->ifindex, priority); ifindex 613 drivers/target/iscsi/cxgbit/cxgbit_main.c ndev = dev_get_by_index(&init_net, iscsi_app->ifindex); ifindex 2834 drivers/tty/n_gsm.c return net->ifindex; /* return network index */ ifindex 344 fs/lockd/svc.c sin6.sin6_scope_id = ifa->idev->dev->ifindex; ifindex 477 fs/nfsd/nfssvc.c sin6.sin6_scope_id = ifa->idev->dev->ifindex; ifindex 106 include/linux/can/dev.h can_skb_prv(skb)->ifindex = dev->ifindex; ifindex 35 include/linux/can/skb.h int ifindex; ifindex 28 include/linux/if_pppox.h int ifindex; /* ifindex of device associated with socket */ ifindex 56 include/linux/if_pppox.h #define pppoe_ifindex proto.pppoe.ifindex ifindex 121 include/linux/igmp.h struct ip_mreq_source *mreqs, int ifindex); ifindex 122 include/linux/igmp.h extern int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf,int ifindex); ifindex 171 include/linux/inetdevice.h int ifindex, struct ipv4_devconf *devconf); ifindex 1824 include/linux/netdevice.h int ifindex; ifindex 2653 include/linux/netdevice.h struct net_device *dev_get_by_index(struct net *net, int ifindex); ifindex 2654 include/linux/netdevice.h struct net_device *__dev_get_by_index(struct net *net, int ifindex); ifindex 2655 include/linux/netdevice.h struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex); ifindex 2657 include/linux/netdevice.h int netdev_get_name(struct net *net, char *name, int ifindex); ifindex 45 include/linux/netfilter_bridge.h return nf_bridge->physindev ? nf_bridge->physindev->ifindex : 0; ifindex 55 include/linux/netfilter_bridge.h return nf_bridge->physoutdev ? nf_bridge->physoutdev->ifindex : 0; ifindex 200 include/net/addrconf.h int type, int ifindex); ifindex 214 include/net/addrconf.h int ipv6_sock_mc_join(struct sock *sk, int ifindex, ifindex 216 include/net/addrconf.h int ipv6_sock_mc_drop(struct sock *sk, int ifindex, ifindex 272 include/net/addrconf.h int ipv6_sock_ac_join(struct sock *sk, int ifindex, ifindex 274 include/net/addrconf.h int ipv6_sock_ac_drop(struct sock *sk, int ifindex, ifindex 298 include/net/addrconf.h int ifindex, struct ipv6_devconf *devconf); ifindex 44 include/net/caif/caif_dev.h int ifindex; ifindex 69 include/net/caif/caif_dev.h struct cflayer *client_layer, int *ifindex, ifindex 14 include/net/dcbnl.h int ifindex; ifindex 91 include/net/if_inet6.h int ifindex; ifindex 114 include/net/ip6_route.h int ifindex, struct flowi6 *fl6, ifindex 429 include/net/ip_fib.h l3mdev_master_ifindex_rcu(nhc->nhc_dev) == dev->ifindex) ifindex 1158 include/net/ipv6.h int ipv6_sock_mc_join(struct sock *sk, int ifindex, ifindex 1160 include/net/ipv6.h int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex, ifindex 1162 include/net/ipv6.h int ipv6_sock_mc_drop(struct sock *sk, int ifindex, ifindex 23 include/net/ipv6_stubs.h int (*ipv6_sock_mc_join)(struct sock *sk, int ifindex, ifindex 25 include/net/ipv6_stubs.h int (*ipv6_sock_mc_drop)(struct sock *sk, int ifindex, ifindex 48 include/net/l3mdev.h int ifindex; ifindex 51 include/net/l3mdev.h ifindex = l3mdev_master_ifindex_rcu(dev); ifindex 54 include/net/l3mdev.h return ifindex; ifindex 57 include/net/l3mdev.h static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) ifindex 62 include/net/l3mdev.h if (likely(ifindex)) { ifindex 65 include/net/l3mdev.h dev = dev_get_by_index_rcu(net, ifindex); ifindex 100 include/net/l3mdev.h int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex); ifindex 102 include/net/l3mdev.h int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) ifindex 105 include/net/l3mdev.h ifindex = l3mdev_master_upper_ifindex_by_index_rcu(net, ifindex); ifindex 108 include/net/l3mdev.h return ifindex; ifindex 112 include/net/l3mdev.h u32 l3mdev_fib_table_by_index(struct net *net, int ifindex); ifindex 124 include/net/l3mdev.h static inline bool netif_index_is_l3_master(struct net *net, int ifindex) ifindex 129 include/net/l3mdev.h if (ifindex == 0) ifindex 134 include/net/l3mdev.h dev = dev_get_by_index_rcu(net, ifindex); ifindex 213 include/net/l3mdev.h static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) ifindex 219 include/net/l3mdev.h int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) ifindex 224 include/net/l3mdev.h int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) ifindex 243 include/net/l3mdev.h static inline u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) ifindex 248 include/net/l3mdev.h static inline bool netif_index_is_l3_master(struct net *net, int ifindex) ifindex 73 include/net/llc.h struct hlist_head *llc_sk_dev_hash(struct llc_sap *sap, int ifindex) ifindex 75 include/net/llc.h return &sap->sk_dev_hash[ifindex % LLC_SK_DEV_HASH_ENTRIES]; ifindex 69 include/net/net_namespace.h int ifindex; ifindex 65 include/net/netfilter/nf_nat.h nat->masq_index != out->ifindex; ifindex 25 include/net/phonet/pep.h int ifindex; ifindex 498 include/net/pkt_cls.h return dev->ifindex; ifindex 502 include/net/pkt_cls.h tcf_match_indev(struct sk_buff *skb, int ifindex) ifindex 504 include/net/pkt_cls.h if (!ifindex) ifindex 508 include/net/pkt_cls.h return ifindex == skb->skb_iif; ifindex 24 include/trace/events/qdisc.h __field( int, ifindex ) ifindex 36 include/trace/events/qdisc.h __entry->ifindex = txq->dev ? txq->dev->ifindex : 0; ifindex 43 include/trace/events/qdisc.h __entry->ifindex, __entry->handle, __entry->parent, ifindex 38 include/trace/events/xdp.h __field(int, ifindex) ifindex 44 include/trace/events/xdp.h __entry->ifindex = dev->ifindex; ifindex 50 include/trace/events/xdp.h __entry->ifindex) ifindex 61 include/trace/events/xdp.h __field(int, ifindex) ifindex 69 include/trace/events/xdp.h __entry->ifindex = dev->ifindex; ifindex 77 include/trace/events/xdp.h __entry->ifindex, ifindex 94 include/trace/events/xdp.h __field(int, ifindex) ifindex 104 include/trace/events/xdp.h __entry->ifindex = dev->ifindex; ifindex 114 include/trace/events/xdp.h __entry->ifindex, __entry->to_ifindex, ifindex 150 include/trace/events/xdp.h __entry->ifindex, __entry->to_ifindex, ifindex 165 include/trace/events/xdp.h __entry->ifindex, __entry->to_ifindex, ifindex 180 include/trace/events/xdp.h ((struct _bpf_dtab_netdev *)fwd)->dev->ifindex : 0) ifindex 286 include/trace/events/xdp.h __entry->from_ifindex = from_dev->ifindex; ifindex 287 include/trace/events/xdp.h __entry->to_ifindex = to_dev->ifindex; ifindex 358 include/trace/events/xdp.h __field(int, ifindex) ifindex 367 include/trace/events/xdp.h __entry->ifindex = rxq->dev->ifindex; ifindex 375 include/trace/events/xdp.h __entry->ifindex ifindex 2983 include/uapi/linux/bpf.h __u32 ifindex; ifindex 3232 include/uapi/linux/bpf.h __u32 ifindex; ifindex 3265 include/uapi/linux/bpf.h __u32 ifindex; ifindex 3507 include/uapi/linux/bpf.h __u32 ifindex; ifindex 231 include/uapi/linux/if_bridge.h __u32 ifindex; ifindex 235 include/uapi/linux/if_bridge.h __u32 ifindex; ifindex 905 include/uapi/linux/if_link.h __u32 ifindex; ifindex 16 include/uapi/linux/tc_act/tc_mirred.h __u32 ifindex; /* ifindex of egress port */ ifindex 50 include/uapi/linux/xdp_diag.h __u32 ifindex; ifindex 66 include/uapi/linux/xdp_diag.h __u32 ifindex; ifindex 60 include/uapi/linux/xfrm.h int ifindex; ifindex 504 include/uapi/linux/xfrm.h int ifindex; ifindex 210 include/uapi/rdma/rdma_netlink.h __u32 ifindex; ifindex 501 kernel/bpf/devmap.c return dev ? &dev->ifindex : NULL; ifindex 510 kernel/bpf/devmap.c return dev ? &dev->ifindex : NULL; ifindex 586 kernel/bpf/devmap.c u32 ifindex, ifindex 610 kernel/bpf/devmap.c dev->dev = dev_get_by_index(net, ifindex); ifindex 628 kernel/bpf/devmap.c u32 ifindex = *(u32 *)value; ifindex 638 kernel/bpf/devmap.c if (!ifindex) { ifindex 641 kernel/bpf/devmap.c dev = __dev_map_alloc_node(net, dtab, ifindex, i); ifindex 669 kernel/bpf/devmap.c u32 ifindex = *(u32 *)value; ifindex 674 kernel/bpf/devmap.c if (unlikely(map_flags > BPF_EXIST || !ifindex)) ifindex 683 kernel/bpf/devmap.c dev = __dev_map_alloc_node(net, dtab, ifindex, idx); ifindex 279 kernel/bpf/offload.c args->info->ifindex = aux->offload->netdev->ifindex; ifindex 284 kernel/bpf/offload.c args->info->ifindex = 0; ifindex 310 kernel/bpf/offload.c if (!info->ifindex) ifindex 506 kernel/bpf/offload.c args->info->ifindex = args->offmap->netdev->ifindex; ifindex 511 kernel/bpf/offload.c args->info->ifindex = 0; ifindex 533 kernel/bpf/offload.c if (!info->ifindex) ifindex 6493 lib/test_bpf.c skb->dev->ifindex = SKB_DEV_IFINDEX; ifindex 744 net/8021q/vlan_dev.c return real_dev->ifindex; ifindex 1952 net/batman-adv/bat_iv_ogm.c neigh_node->if_incoming->net_dev->ifindex) || ifindex 2234 net/batman-adv/bat_iv_ogm.c hardif_neigh->if_incoming->net_dev->ifindex) || ifindex 237 net/batman-adv/bat_v.c hardif_neigh->if_incoming->net_dev->ifindex) || ifindex 458 net/batman-adv/bat_v.c neigh_node->if_incoming->net_dev->ifindex) || ifindex 2214 net/batman-adv/bridge_loop_avoidance.c int ifindex; ifindex 2217 net/batman-adv/bridge_loop_avoidance.c ifindex = batadv_netlink_get_ifindex(cb->nlh, ifindex 2219 net/batman-adv/bridge_loop_avoidance.c if (!ifindex) ifindex 2222 net/batman-adv/bridge_loop_avoidance.c soft_iface = dev_get_by_index(net, ifindex); ifindex 2452 net/batman-adv/bridge_loop_avoidance.c int ifindex; ifindex 2455 net/batman-adv/bridge_loop_avoidance.c ifindex = batadv_netlink_get_ifindex(cb->nlh, ifindex 2457 net/batman-adv/bridge_loop_avoidance.c if (!ifindex) ifindex 2460 net/batman-adv/bridge_loop_avoidance.c soft_iface = dev_get_by_index(net, ifindex); ifindex 999 net/batman-adv/distributed-arp-table.c int ifindex; ifindex 1002 net/batman-adv/distributed-arp-table.c ifindex = batadv_netlink_get_ifindex(cb->nlh, ifindex 1004 net/batman-adv/distributed-arp-table.c if (!ifindex) ifindex 1007 net/batman-adv/distributed-arp-table.c soft_iface = dev_get_by_index(net, ifindex); ifindex 565 net/batman-adv/gateway_client.c int ifindex; ifindex 568 net/batman-adv/gateway_client.c ifindex = batadv_netlink_get_ifindex(cb->nlh, ifindex 570 net/batman-adv/gateway_client.c if (!ifindex) ifindex 573 net/batman-adv/gateway_client.c soft_iface = dev_get_by_index(net, ifindex); ifindex 130 net/batman-adv/hard-interface.c return (dev1_parent_iflink == dev2->ifindex) && ifindex 131 net/batman-adv/hard-interface.c (dev2_parent_iflink == dev1->ifindex) && ifindex 162 net/batman-adv/hard-interface.c dev_get_iflink(net_dev) == net_dev->ifindex) ifindex 219 net/batman-adv/hard-interface.c int ifindex; ifindex 226 net/batman-adv/hard-interface.c if (netdev->ifindex == dev_get_iflink(netdev)) { ifindex 236 net/batman-adv/hard-interface.c ifindex = dev_get_iflink(netdev); ifindex 238 net/batman-adv/hard-interface.c real_netdev = dev_get_by_index(real_net, ifindex); ifindex 2335 net/batman-adv/multicast.c int ifindex; ifindex 2338 net/batman-adv/multicast.c ifindex = batadv_netlink_get_ifindex(cb->nlh, BATADV_ATTR_MESH_IFINDEX); ifindex 2339 net/batman-adv/multicast.c if (!ifindex) ifindex 2342 net/batman-adv/multicast.c soft_iface = dev_get_by_index(net, ifindex); ifindex 244 net/batman-adv/netlink.c nla_put_u32(msg, BATADV_ATTR_MESH_IFINDEX, soft_iface->ifindex) || ifindex 266 net/batman-adv/netlink.c hard_iface->ifindex) || ifindex 813 net/batman-adv/netlink.c bat_priv->soft_iface->ifindex)) ifindex 817 net/batman-adv/netlink.c net_dev->ifindex) || ifindex 960 net/batman-adv/netlink.c int ifindex; ifindex 965 net/batman-adv/netlink.c ifindex = batadv_netlink_get_ifindex(cb->nlh, ifindex 967 net/batman-adv/netlink.c if (!ifindex) ifindex 970 net/batman-adv/netlink.c soft_iface = dev_get_by_index(net, ifindex); ifindex 1034 net/batman-adv/netlink.c bat_priv->soft_iface->ifindex)) ifindex 1149 net/batman-adv/netlink.c int ifindex; ifindex 1154 net/batman-adv/netlink.c ifindex = nla_get_u32(info->attrs[BATADV_ATTR_MESH_IFINDEX]); ifindex 1156 net/batman-adv/netlink.c soft_iface = dev_get_by_index(net, ifindex); ifindex 789 net/batman-adv/originator.c int ifindex, hard_ifindex; ifindex 791 net/batman-adv/originator.c ifindex = batadv_netlink_get_ifindex(cb->nlh, BATADV_ATTR_MESH_IFINDEX); ifindex 792 net/batman-adv/originator.c if (!ifindex) ifindex 795 net/batman-adv/originator.c soft_iface = dev_get_by_index(net, ifindex); ifindex 1486 net/batman-adv/originator.c int ifindex, hard_ifindex; ifindex 1488 net/batman-adv/originator.c ifindex = batadv_netlink_get_ifindex(cb->nlh, BATADV_ATTR_MESH_IFINDEX); ifindex 1489 net/batman-adv/originator.c if (!ifindex) ifindex 1492 net/batman-adv/originator.c soft_iface = dev_get_by_index(net, ifindex); ifindex 642 net/batman-adv/translation-table.c unsigned short vid, int ifindex, u32 mark) ifindex 659 net/batman-adv/translation-table.c if (ifindex != BATADV_NULL_IFINDEX) ifindex 660 net/batman-adv/translation-table.c in_dev = dev_get_by_index(net, ifindex); ifindex 1259 net/batman-adv/translation-table.c int ifindex; ifindex 1264 net/batman-adv/translation-table.c ifindex = batadv_netlink_get_ifindex(cb->nlh, BATADV_ATTR_MESH_IFINDEX); ifindex 1265 net/batman-adv/translation-table.c if (!ifindex) ifindex 1268 net/batman-adv/translation-table.c soft_iface = dev_get_by_index(net, ifindex); ifindex 2176 net/batman-adv/translation-table.c int ifindex; ifindex 2182 net/batman-adv/translation-table.c ifindex = batadv_netlink_get_ifindex(cb->nlh, BATADV_ATTR_MESH_IFINDEX); ifindex 2183 net/batman-adv/translation-table.c if (!ifindex) ifindex 2186 net/batman-adv/translation-table.c soft_iface = dev_get_by_index(net, ifindex); ifindex 20 net/batman-adv/translation-table.h unsigned short vid, int ifindex, u32 mark); ifindex 722 net/bluetooth/6lowpan.c netdev->ifindex, &chan->dst, chan->dst_type, ifindex 648 net/bridge/br_fdb.c ndm->ndm_ifindex = fdb->dst ? fdb->dst->dev->ifindex : br->dev->ifindex; ifindex 660 net/bridge/br_fdb.c if (nla_put_u32(skb, NDA_MASTER, br->dev->ifindex)) ifindex 30 net/bridge/br_ioctl.c indices[i++] = dev->ifindex; ifindex 44 net/bridge/br_ioctl.c ifindices[p->port_no] = p->dev->ifindex; ifindex 83 net/bridge/br_ioctl.c static int add_del_if(struct net_bridge *br, int ifindex, int isadd) ifindex 92 net/bridge/br_ioctl.c dev = __dev_get_by_index(net, ifindex); ifindex 39 net/bridge/br_mdb.c if (nla_put_nohdr(skb, sizeof(u32), &p->dev->ifindex) || ifindex 88 net/bridge/br_mdb.c int ifindex; ifindex 92 net/bridge/br_mdb.c ifindex = p->port->dev->ifindex; ifindex 96 net/bridge/br_mdb.c ifindex = mp->br->dev->ifindex; ifindex 101 net/bridge/br_mdb.c e.ifindex = ifindex; ifindex 196 net/bridge/br_mdb.c if (bpm->ifindex) { ifindex 243 net/bridge/br_mdb.c bpm->ifindex = dev->ifindex; ifindex 280 net/bridge/br_mdb.c bpm->ifindex = dev->ifindex; ifindex 398 net/bridge/br_mdb.c port_dev = __dev_get_by_index(net, entry->ifindex); ifindex 447 net/bridge/br_mdb.c entry.ifindex = port->dev->ifindex; ifindex 449 net/bridge/br_mdb.c entry.ifindex = dev->ifindex; ifindex 462 net/bridge/br_mdb.c int ifindex, u32 pid, ifindex 476 net/bridge/br_mdb.c bpm->ifindex = dev->ifindex; ifindex 481 net/bridge/br_mdb.c if (nla_put_u32(skb, MDBA_ROUTER_PORT, ifindex)) ifindex 507 net/bridge/br_mdb.c int ifindex; ifindex 509 net/bridge/br_mdb.c ifindex = port ? port->dev->ifindex : 0; ifindex 514 net/bridge/br_mdb.c err = nlmsg_populate_rtr_fill(skb, dev, ifindex, 0, 0, type, NTF_SELF); ifindex 529 net/bridge/br_mdb.c if (entry->ifindex == 0) ifindex 568 net/bridge/br_mdb.c if (bpm->ifindex == 0) { ifindex 573 net/bridge/br_mdb.c dev = __dev_get_by_index(net, bpm->ifindex); ifindex 662 net/bridge/br_mdb.c if (entry->ifindex != br->dev->ifindex) { ifindex 663 net/bridge/br_mdb.c dev = __dev_get_by_index(net, entry->ifindex); ifindex 698 net/bridge/br_mdb.c if (entry->ifindex != br->dev->ifindex) { ifindex 699 net/bridge/br_mdb.c pdev = __dev_get_by_index(net, entry->ifindex); ifindex 750 net/bridge/br_mdb.c if (entry->ifindex == mp->br->dev->ifindex && mp->host_joined) { ifindex 761 net/bridge/br_mdb.c if (!p->port || p->port->dev->ifindex != entry->ifindex) ifindex 803 net/bridge/br_mdb.c if (entry->ifindex != br->dev->ifindex) { ifindex 804 net/bridge/br_mdb.c pdev = __dev_get_by_index(net, entry->ifindex); ifindex 243 net/bridge/br_netlink.c backup_p->dev->ifindex); ifindex 397 net/bridge/br_netlink.c hdr->ifi_index = dev->ifindex; ifindex 402 net/bridge/br_netlink.c nla_put_u32(skb, IFLA_MASTER, br->dev->ifindex) || ifindex 407 net/bridge/br_netlink.c (dev->ifindex != dev_get_iflink(dev) && ifindex 388 net/caif/caif_dev.c link_support = cfserl_create(dev->ifindex, ifindex 751 net/caif/caif_socket.c int ifindex, headroom, tailroom; ifindex 828 net/caif/caif_socket.c cf_sk->conn_req.ifindex = cf_sk->sk.sk_bound_dev_if; ifindex 833 net/caif/caif_socket.c &cf_sk->layer, &ifindex, &headroom, &tailroom); ifindex 843 net/caif/caif_socket.c dev = dev_get_by_index_rcu(sock_net(sk), ifindex); ifindex 163 net/caif/caif_usb.c link_support = cfusbl_create(dev->ifindex, dev->dev_addr, ifindex 46 net/caif/cfcnfg.c int ifindex; ifindex 174 net/caif/cfcnfg.c if (phy->ifindex == ifi && phy->up) ifindex 230 net/caif/cfcnfg.c if (s->ifindex != 0) { ifindex 231 net/caif/cfcnfg.c res = cfcnfg_get_id_from_ifi(cnfg, s->ifindex); ifindex 301 net/caif/cfcnfg.c struct cflayer *adap_layer, int *ifindex, ifindex 347 net/caif/cfcnfg.c *ifindex = phy->ifindex; ifindex 469 net/caif/cfcnfg.c phyid = (dev->ifindex + i) & 0x7; ifindex 489 net/caif/cfcnfg.c phyinfo->ifindex = dev->ifindex; ifindex 480 net/caif/chnl_net.c caifdev->conn_req.sockaddr.u.dgm.connection_id = dev->ifindex; ifindex 103 net/can/bcm.c int ifindex; ifindex 127 net/can/bcm.c int ifindex; ifindex 170 net/can/bcm.c static char *bcm_proc_getifname(struct net *net, char *result, int ifindex) ifindex 174 net/can/bcm.c if (!ifindex) ifindex 178 net/can/bcm.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 200 net/can/bcm.c seq_printf(m, " / bound %s", bcm_proc_getifname(net, ifname, bo->ifindex)); ifindex 212 net/can/bcm.c bcm_proc_getifname(net, ifname, op->ifindex)); ifindex 241 net/can/bcm.c bcm_proc_getifname(net, ifname, op->ifindex)); ifindex 274 net/can/bcm.c if (!op->ifindex) ifindex 277 net/can/bcm.c dev = dev_get_by_index(sock_net(op->sk), op->ifindex); ifindex 288 net/can/bcm.c can_skb_prv(skb)->ifindex = dev->ifindex; ifindex 652 net/can/bcm.c op->rx_ifindex = skb->dev->ifindex; ifindex 701 net/can/bcm.c struct bcm_msg_head *mh, int ifindex) ifindex 706 net/can/bcm.c if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && ifindex 745 net/can/bcm.c int ifindex) ifindex 750 net/can/bcm.c if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && ifindex 758 net/can/bcm.c if (op->ifindex) { ifindex 768 net/can/bcm.c op->ifindex); ifindex 793 net/can/bcm.c int ifindex) ifindex 798 net/can/bcm.c if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && ifindex 813 net/can/bcm.c int ifindex) ifindex 815 net/can/bcm.c struct bcm_op *op = bcm_find_op(ops, msg_head, ifindex); ifindex 836 net/can/bcm.c int ifindex, struct sock *sk) ifindex 845 net/can/bcm.c if (!ifindex) ifindex 857 net/can/bcm.c op = bcm_find_op(&bo->tx_ops, msg_head, ifindex); ifindex 947 net/can/bcm.c op->ifindex = ifindex; ifindex 1011 net/can/bcm.c int ifindex, struct sock *sk) ifindex 1039 net/can/bcm.c op = bcm_find_op(&bo->rx_ops, msg_head, ifindex); ifindex 1119 net/can/bcm.c op->ifindex = ifindex; ifindex 1122 net/can/bcm.c op->rx_ifindex = ifindex; ifindex 1188 net/can/bcm.c if (ifindex) { ifindex 1191 net/can/bcm.c dev = dev_get_by_index(sock_net(sk), ifindex); ifindex 1221 net/can/bcm.c static int bcm_tx_send(struct msghdr *msg, int ifindex, struct sock *sk, ifindex 1229 net/can/bcm.c if (!ifindex) ifindex 1244 net/can/bcm.c dev = dev_get_by_index(sock_net(sk), ifindex); ifindex 1250 net/can/bcm.c can_skb_prv(skb)->ifindex = dev->ifindex; ifindex 1270 net/can/bcm.c int ifindex = bo->ifindex; /* default ifindex for this bcm_op */ ifindex 1293 net/can/bcm.c if (!ifindex && msg->msg_name) { ifindex 1304 net/can/bcm.c ifindex = addr->can_ifindex; ifindex 1306 net/can/bcm.c if (ifindex) { ifindex 1309 net/can/bcm.c dev = dev_get_by_index(sock_net(sk), ifindex); ifindex 1327 net/can/bcm.c ret = bcm_tx_setup(&msg_head, msg, ifindex, sk); ifindex 1331 net/can/bcm.c ret = bcm_rx_setup(&msg_head, msg, ifindex, sk); ifindex 1335 net/can/bcm.c if (bcm_delete_tx_op(&bo->tx_ops, &msg_head, ifindex)) ifindex 1342 net/can/bcm.c if (bcm_delete_rx_op(&bo->rx_ops, &msg_head, ifindex)) ifindex 1351 net/can/bcm.c ret = bcm_read_op(&bo->tx_ops, &msg_head, ifindex); ifindex 1357 net/can/bcm.c ret = bcm_read_op(&bo->rx_ops, &msg_head, ifindex); ifindex 1365 net/can/bcm.c ret = bcm_tx_send(msg, ifindex, sk, cfsiz); ifindex 1407 net/can/bcm.c if (bo->bound && bo->ifindex == dev->ifindex) { ifindex 1409 net/can/bcm.c bo->ifindex = 0; ifindex 1423 net/can/bcm.c if (bo->bound && bo->ifindex == dev->ifindex) { ifindex 1441 net/can/bcm.c bo->ifindex = 0; ifindex 1486 net/can/bcm.c if (op->ifindex) { ifindex 1495 net/can/bcm.c dev = dev_get_by_index(net, op->ifindex); ifindex 1518 net/can/bcm.c bo->ifindex = 0; ifindex 1564 net/can/bcm.c bo->ifindex = dev->ifindex; ifindex 1569 net/can/bcm.c bo->ifindex = 0; ifindex 440 net/can/gw.c can_skb_prv(skb)->ifindex == gwj->dst.dev->ifindex) ifindex 298 net/can/j1939/j1939-priv.h int ifindex; ifindex 446 net/can/j1939/socket.c if (jsk->ifindex != addr->can_ifindex) { ifindex 476 net/can/j1939/socket.c jsk->ifindex = addr->can_ifindex; ifindex 526 net/can/j1939/socket.c if (jsk->ifindex != addr->can_ifindex) { ifindex 557 net/can/j1939/socket.c addr->can_ifindex = jsk->ifindex; ifindex 853 net/can/j1939/socket.c can_skb_prv(skb)->ifindex = ndev->ifindex; ifindex 1100 net/can/j1939/socket.c int ifindex; ifindex 1111 net/can/j1939/socket.c ifindex = jsk->ifindex; ifindex 1133 net/can/j1939/socket.c if (addr->can_ifindex && addr->can_ifindex != ifindex) { ifindex 575 net/can/j1939/transport.c can_skb_prv(skb)->ifindex = priv->ndev->ifindex; ifindex 1465 net/can/j1939/transport.c can_skb_prv(skb)->ifindex = priv->ndev->ifindex; ifindex 85 net/can/raw.c int ifindex; ifindex 167 net/can/raw.c addr->can_ifindex = skb->dev->ifindex; ifindex 279 net/can/raw.c if (ro->ifindex != dev->ifindex) ifindex 292 net/can/raw.c ro->ifindex = 0; ifindex 317 net/can/raw.c ro->ifindex = 0; ifindex 360 net/can/raw.c if (ro->ifindex) { ifindex 363 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ro->ifindex); ifindex 376 net/can/raw.c ro->ifindex = 0; ifindex 395 net/can/raw.c int ifindex; ifindex 406 net/can/raw.c if (ro->bound && addr->can_ifindex == ro->ifindex) ifindex 425 net/can/raw.c ifindex = dev->ifindex; ifindex 431 net/can/raw.c ifindex = 0; ifindex 440 net/can/raw.c if (ro->ifindex) { ifindex 444 net/can/raw.c ro->ifindex); ifindex 454 net/can/raw.c ro->ifindex = ifindex; ifindex 482 net/can/raw.c addr->can_ifindex = ro->ifindex; ifindex 524 net/can/raw.c if (ro->bound && ro->ifindex) ifindex 525 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ro->ifindex); ifindex 578 net/can/raw.c if (ro->bound && ro->ifindex) ifindex 579 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ro->ifindex); ifindex 730 net/can/raw.c int ifindex; ifindex 742 net/can/raw.c ifindex = addr->can_ifindex; ifindex 744 net/can/raw.c ifindex = ro->ifindex; ifindex 747 net/can/raw.c dev = dev_get_by_index(sock_net(sk), ifindex); ifindex 766 net/can/raw.c can_skb_prv(skb)->ifindex = dev->ifindex; ifindex 212 net/core/dev.c static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) ifindex 214 net/core/dev.c return &net->dev_index_head[ifindex & (NETDEV_HASHENTRIES - 1)]; ifindex 242 net/core/dev.c dev_index_hash(net, dev->ifindex)); ifindex 610 net/core/dev.c return dev->ifindex; ifindex 727 net/core/dev.c struct net_device *__dev_get_by_index(struct net *net, int ifindex) ifindex 730 net/core/dev.c struct hlist_head *head = dev_index_hash(net, ifindex); ifindex 733 net/core/dev.c if (dev->ifindex == ifindex) ifindex 751 net/core/dev.c struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex) ifindex 754 net/core/dev.c struct hlist_head *head = dev_index_hash(net, ifindex); ifindex 757 net/core/dev.c if (dev->ifindex == ifindex) ifindex 776 net/core/dev.c struct net_device *dev_get_by_index(struct net *net, int ifindex) ifindex 781 net/core/dev.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 824 net/core/dev.c int netdev_get_name(struct net *net, char *name, int ifindex) ifindex 832 net/core/dev.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 4741 net/core/dev.c skb->skb_iif = skb->dev->ifindex; ifindex 8458 net/core/dev.c int ifindex = net->ifindex; ifindex 8461 net/core/dev.c if (++ifindex <= 0) ifindex 8462 net/core/dev.c ifindex = 1; ifindex 8463 net/core/dev.c if (!__dev_get_by_index(net, ifindex)) ifindex 8464 net/core/dev.c return net->ifindex = ifindex; ifindex 9031 net/core/dev.c if (!dev->ifindex) ifindex 9032 net/core/dev.c dev->ifindex = dev_new_index(net); ifindex 9033 net/core/dev.c else if (__dev_get_by_index(net, dev->ifindex)) ifindex 9775 net/core/dev.c if (__dev_get_by_index(net, dev->ifindex)) ifindex 9778 net/core/dev.c new_ifindex = dev->ifindex; ifindex 9795 net/core/dev.c dev->ifindex = new_ifindex; ifindex 10073 net/core/dev.c snprintf(fb_name, IFNAMSIZ, "dev%d", dev->ifindex); ifindex 150 net/core/dev_ioctl.c ifr->ifr_ifindex = dev->ifindex; ifindex 577 net/core/devlink.c netdev->ifindex) || ifindex 570 net/core/drop_monitor.c static int net_dm_packet_report_in_port_put(struct sk_buff *msg, int ifindex, ifindex 579 net/core/drop_monitor.c if (ifindex && ifindex 580 net/core/drop_monitor.c nla_put_u32(msg, NET_DM_ATTR_PORT_NETDEV_IFINDEX, ifindex)) ifindex 762 net/core/drop_monitor.c rc = net_dm_packet_report_in_port_put(msg, dev->ifindex, ifindex 539 net/core/fib_rules.c nlrule->iifindex = dev->ifindex; ifindex 549 net/core/fib_rules.c nlrule->oifindex = dev->ifindex; ifindex 1170 net/core/fib_rules.c rule->iifindex = dev->ifindex; ifindex 1173 net/core/fib_rules.c rule->oifindex = dev->ifindex; ifindex 1182 net/core/fib_rules.c if (rule->iifindex == dev->ifindex) ifindex 1184 net/core/fib_rules.c if (rule->oifindex == dev->ifindex) ifindex 341 net/core/filter.c BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); ifindex 352 net/core/filter.c offsetof(struct net_device, ifindex)); ifindex 2112 net/core/filter.c BPF_CALL_3(bpf_clone_redirect, struct sk_buff *, skb, u32, ifindex, u64, flags) ifindex 2121 net/core/filter.c dev = dev_get_by_index_rcu(dev_net(skb->dev), ifindex); ifindex 2155 net/core/filter.c BPF_CALL_2(bpf_redirect, u32, ifindex, u64, flags) ifindex 2163 net/core/filter.c ri->tgt_index = ifindex; ifindex 3724 net/core/filter.c BPF_CALL_2(bpf_xdp_redirect, u32, ifindex, u64, flags) ifindex 3732 net/core/filter.c ri->tgt_index = ifindex; ifindex 3747 net/core/filter.c BPF_CALL_3(bpf_xdp_redirect_map, struct bpf_map *, map, u32, ifindex, ifindex 3756 net/core/filter.c ri->tgt_value = __xdp_map_lookup_elem(map, ifindex); ifindex 3768 net/core/filter.c ri->tgt_index = ifindex; ifindex 4607 net/core/filter.c params->ifindex = dev->ifindex; ifindex 4626 net/core/filter.c dev = dev_get_by_index_rcu(net, params->ifindex); ifindex 4637 net/core/filter.c fl4.flowi4_oif = params->ifindex; ifindex 4639 net/core/filter.c fl4.flowi4_iif = params->ifindex; ifindex 4747 net/core/filter.c dev = dev_get_by_index_rcu(net, params->ifindex); ifindex 4757 net/core/filter.c oif = fl6.flowi6_oif = params->ifindex; ifindex 4759 net/core/filter.c oif = fl6.flowi6_iif = params->ifindex; ifindex 4902 net/core/filter.c dev = dev_get_by_index_rcu(net, params->ifindex); ifindex 5259 net/core/filter.c struct net *caller_net, u32 ifindex, u8 proto, u64 netns_id, ifindex 5285 net/core/filter.c sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); ifindex 5290 net/core/filter.c sk = sk_lookup(net, tuple, ifindex, sdif, family, proto); ifindex 5300 net/core/filter.c struct net *caller_net, u32 ifindex, u8 proto, u64 netns_id, ifindex 5304 net/core/filter.c ifindex, proto, netns_id, flags); ifindex 5322 net/core/filter.c int ifindex; ifindex 5326 net/core/filter.c ifindex = skb->dev->ifindex; ifindex 5329 net/core/filter.c ifindex = 0; ifindex 5332 net/core/filter.c return __bpf_skc_lookup(skb, tuple, len, caller_net, ifindex, proto, ifindex 5430 net/core/filter.c int ifindex = ctx->rxq->dev->ifindex; ifindex 5433 net/core/filter.c ifindex, IPPROTO_UDP, netns_id, ifindex 5453 net/core/filter.c int ifindex = ctx->rxq->dev->ifindex; ifindex 5456 net/core/filter.c ifindex, IPPROTO_TCP, netns_id, ifindex 5476 net/core/filter.c int ifindex = ctx->rxq->dev->ifindex; ifindex 5479 net/core/filter.c ifindex, IPPROTO_TCP, netns_id, ifindex 7265 net/core/filter.c case offsetof(struct __sk_buff, ifindex): ifindex 7271 net/core/filter.c bpf_target_off(struct net_device, ifindex, 4, ifindex 7750 net/core/filter.c case offsetof(struct __sk_buff, ifindex): ifindex 7755 net/core/filter.c bpf_target_off(struct net_device, ifindex, 4, ifindex 7797 net/core/filter.c offsetof(struct net_device, ifindex)); ifindex 38 net/core/link_watch.c return (dev->ifindex != dev_get_iflink(dev) ? ifindex 87 net/core/link_watch.c if (dev->ifindex != dev_get_iflink(dev)) ifindex 178 net/core/lwt_bpf.c int oif = l3mdev ? l3mdev->ifindex : 0; ifindex 1595 net/core/neighbour.c struct net *net, int ifindex) ifindex 1600 net/core/neighbour.c if ((p->dev && p->dev->ifindex == ifindex && net_eq(neigh_parms_net(p), net)) || ifindex 1601 net/core/neighbour.c (!p->dev && !ifindex && net_eq(net, &init_net))) ifindex 1988 net/core/neighbour.c nla_put_u32(skb, NDTPA_IFINDEX, parms->dev->ifindex)) || ifindex 2221 net/core/neighbour.c int i, ifindex = 0; ifindex 2230 net/core/neighbour.c ifindex = nla_get_u32(tbp[NDTPA_IFINDEX]); ifindex 2232 net/core/neighbour.c p = lookup_neigh_parms(tbl, net, ifindex); ifindex 2440 net/core/neighbour.c ndm->ndm_ifindex = neigh->dev->ifindex; ifindex 2495 net/core/neighbour.c ndm->ndm_ifindex = pn->dev ? pn->dev->ifindex : 0; ifindex 2526 net/core/neighbour.c if (!master || master->ifindex != master_idx) ifindex 2534 net/core/neighbour.c if (filter_idx && (!dev || dev->ifindex != filter_idx)) ifindex 328 net/core/net-procfs.c dev->ifindex, dev->name, ifindex 109 net/core/net-sysfs.c NETDEVICE_SHOW_RO(ifindex, fmt_dec); ifindex 1624 net/core/net-sysfs.c retval = add_uevent_var(env, "IFINDEX=%d", dev->ifindex); ifindex 1497 net/core/rtnetlink.c ret = nla_put_u32(skb, IFLA_MASTER, upper_dev->ifindex); ifindex 1506 net/core/rtnetlink.c int ifindex = dev_get_iflink(dev); ifindex 1508 net/core/rtnetlink.c if (force || dev->ifindex != ifindex) ifindex 1509 net/core/rtnetlink.c return nla_put_u32(skb, IFLA_LINK, ifindex); ifindex 1606 net/core/rtnetlink.c ifm->ifi_index = dev->ifindex; ifindex 1830 net/core/rtnetlink.c if (!master || master->ifindex != master_idx) ifindex 2364 net/core/rtnetlink.c static int do_set_master(struct net_device *dev, int ifindex, ifindex 2372 net/core/rtnetlink.c if (upper_dev->ifindex == ifindex) ifindex 2385 net/core/rtnetlink.c if (ifindex) { ifindex 2386 net/core/rtnetlink.c upper_dev = __dev_get_by_index(dev_net(dev), ifindex); ifindex 3224 net/core/rtnetlink.c dev->ifindex = ifm->ifi_index; ifindex 3574 net/core/rtnetlink.c ndm->ndm_ifindex = dev->ifindex; ifindex 4063 net/core/rtnetlink.c if (brport_idx && (dev->ifindex != brport_idx)) ifindex 4314 net/core/rtnetlink.c ifm->ifi_index = dev->ifindex; ifindex 4323 net/core/rtnetlink.c nla_put_u32(skb, IFLA_MASTER, br_dev->ifindex)) || ifindex 4326 net/core/rtnetlink.c (dev->ifindex != dev_get_iflink(dev) && ifindex 4815 net/core/rtnetlink.c ifsm->ifindex = dev->ifindex; ifindex 5026 net/core/rtnetlink.c if (ifsm->pad1 || ifsm->pad2 || (is_dump && ifsm->ifindex)) { ifindex 5059 net/core/rtnetlink.c if (ifsm->ifindex > 0) ifindex 5060 net/core/rtnetlink.c dev = __dev_get_by_index(net, ifsm->ifindex); ifindex 4519 net/core/skbuff.c serr->header.h4.iif = skb->dev ? skb->dev->ifindex : 0; ifindex 572 net/core/sock.c static int sock_setbindtodevice_locked(struct sock *sk, int ifindex) ifindex 584 net/core/sock.c if (ifindex < 0) ifindex 587 net/core/sock.c sk->sk_bound_dev_if = ifindex; ifindex 633 net/core/sock.c index = dev->ifindex; ifindex 346 net/core/utils.c addr6->sin6_scope_id = dev->ifindex; ifindex 1118 net/dcb/dcbnl.c if (itr->ifindex == netdev->ifindex) { ifindex 1277 net/dcb/dcbnl.c if (itr->ifindex == netdev->ifindex) { ifindex 1790 net/dcb/dcbnl.c int ifindex, int prio) ifindex 1797 net/dcb/dcbnl.c itr->ifindex == ifindex && ifindex 1805 net/dcb/dcbnl.c static int dcb_app_add(const struct dcb_app *app, int ifindex) ifindex 1814 net/dcb/dcbnl.c entry->ifindex = ifindex; ifindex 1833 net/dcb/dcbnl.c itr = dcb_app_lookup(app, dev->ifindex, -1); ifindex 1855 net/dcb/dcbnl.c event.ifindex = dev->ifindex; ifindex 1862 net/dcb/dcbnl.c itr = dcb_app_lookup(new, dev->ifindex, -1); ifindex 1874 net/dcb/dcbnl.c err = dcb_app_add(new, dev->ifindex); ifindex 1896 net/dcb/dcbnl.c itr = dcb_app_lookup(app, dev->ifindex, -1); ifindex 1918 net/dcb/dcbnl.c event.ifindex = dev->ifindex; ifindex 1925 net/dcb/dcbnl.c if (dcb_app_lookup(new, dev->ifindex, new->priority)) { ifindex 1930 net/dcb/dcbnl.c err = dcb_app_add(new, dev->ifindex); ifindex 1950 net/dcb/dcbnl.c event.ifindex = dev->ifindex; ifindex 1957 net/dcb/dcbnl.c if ((itr = dcb_app_lookup(del, dev->ifindex, del->priority))) { ifindex 1979 net/dcb/dcbnl.c int ifindex = dev->ifindex; ifindex 1987 net/dcb/dcbnl.c if (itr->ifindex == ifindex && ifindex 2009 net/dcb/dcbnl.c int ifindex = dev->ifindex; ifindex 2016 net/dcb/dcbnl.c if (itr->ifindex == ifindex && ifindex 2038 net/dcb/dcbnl.c int ifindex = dev->ifindex; ifindex 2044 net/dcb/dcbnl.c if (itr->ifindex == ifindex && ifindex 549 net/decnet/dn_dev.c static struct dn_dev *dn_dev_by_index(int ifindex) ifindex 554 net/decnet/dn_dev.c dev = __dev_get_by_index(&init_net, ifindex); ifindex 700 net/decnet/dn_dev.c ifm->ifa_index = ifa->ifa_dev->dev->ifindex; ifindex 582 net/decnet/dn_fib.c .oif = ifa->ifa_dev->dev->ifindex, ifindex 647 net/decnet/dn_route.c cb->iif = dev->ifindex; ifindex 1074 net/decnet/dn_route.c (neigh->dev->ifindex != oldflp->flowidn_oif)) || ifindex 1130 net/decnet/dn_route.c fld.flowidn_oif = dev_out->ifindex; ifindex 1147 net/decnet/dn_route.c fld.flowidn_oif = dev_out->ifindex; ifindex 1169 net/decnet/dn_route.c fld.flowidn_oif = dev_out->ifindex; ifindex 1317 net/decnet/dn_route.c .flowidn_iif = skb->dev->ifindex, ifindex 1461 net/decnet/dn_route.c rt->fld.flowidn_iif = in_dev->ifindex; ifindex 1581 net/decnet/dn_route.c nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex) < 0) ifindex 55 net/decnet/netfilter/dn_rtmsg.c rtm->nfdn_ifindex = rt_skb->dev->ifindex; ifindex 64 net/dsa/slave.c return dsa_slave_to_master(dev)->ifindex; ifindex 214 net/dsa/slave.c ndm->ndm_ifindex = dump->dev->ifindex; ifindex 517 net/hsr/hsr_framereg.c *addr_b_ifindex = port->dev->ifindex; ifindex 91 net/hsr/hsr_netlink.c res = nla_put_u32(skb, IFLA_HSR_SLAVE1, port->dev->ifindex); ifindex 99 net/hsr/hsr_netlink.c res = nla_put_u32(skb, IFLA_HSR_SLAVE2, port->dev->ifindex); ifindex 167 net/hsr/hsr_netlink.c res = nla_put_u32(skb, HSR_A_IFINDEX, port->dev->ifindex); ifindex 283 net/hsr/hsr_netlink.c res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); ifindex 326 net/hsr/hsr_netlink.c port->dev->ifindex); ifindex 339 net/hsr/hsr_netlink.c port->dev->ifindex); ifindex 411 net/hsr/hsr_netlink.c res = nla_put_u32(skb_out, HSR_A_IFINDEX, hsr_dev->ifindex); ifindex 88 net/ieee802154/6lowpan/core.c return lowpan_802154_dev(dev)->wdev->ifindex; ifindex 62 net/ieee802154/nl-mac.c nla_put_u32(msg, IEEE802154_ATTR_DEV_INDEX, dev->ifindex) || ifindex 101 net/ieee802154/nl-mac.c nla_put_u32(msg, IEEE802154_ATTR_DEV_INDEX, dev->ifindex) || ifindex 677 net/ieee802154/nl-mac.c nla_put_u32(msg, IEEE802154_ATTR_DEV_INDEX, dev->ifindex) || ifindex 921 net/ieee802154/nl-mac.c nla_put_u32(msg, IEEE802154_ATTR_DEV_INDEX, dev->ifindex) || ifindex 1057 net/ieee802154/nl-mac.c nla_put_u32(msg, IEEE802154_ATTR_DEV_INDEX, dev->ifindex) || ifindex 1165 net/ieee802154/nl-mac.c nla_put_u32(msg, IEEE802154_ATTR_DEV_INDEX, dev->ifindex) || ifindex 1294 net/ieee802154/nl-mac.c nla_put_u32(msg, IEEE802154_ATTR_DEV_INDEX, dev->ifindex) || ifindex 70 net/ieee802154/nl802154.c wpan_dev->netdev->ifindex == ifidx) { ifindex 133 net/ieee802154/nl802154.c int ifindex = nla_get_u32(attrs[NL802154_ATTR_IFINDEX]); ifindex 135 net/ieee802154/nl802154.c netdev = __dev_get_by_index(netns, ifindex); ifindex 799 net/ieee802154/nl802154.c (nla_put_u32(msg, NL802154_ATTR_IFINDEX, dev->ifindex) || ifindex 1453 net/ieee802154/nl802154.c if (nla_put_u32(msg, NL802154_ATTR_IFINDEX, dev->ifindex)) ifindex 1633 net/ieee802154/nl802154.c if (nla_put_u32(msg, NL802154_ATTR_IFINDEX, dev->ifindex)) ifindex 1799 net/ieee802154/nl802154.c if (nla_put_u32(msg, NL802154_ATTR_IFINDEX, dev->ifindex)) ifindex 1963 net/ieee802154/nl802154.c if (nla_put_u32(msg, NL802154_ATTR_IFINDEX, dev->ifindex)) ifindex 220 net/ieee802154/socket.c sk->sk_bound_dev_if = dev->ifindex; ifindex 366 net/ieee802154/socket.c sk->sk_bound_dev_if == dev->ifindex) { ifindex 113 net/ipv4/devinet.c int ifindex; ifindex 588 net/ipv4/devinet.c struct in_device *inetdev_by_index(struct net *net, int ifindex) ifindex 594 net/ipv4/devinet.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 624 net/ipv4/devinet.c .imr_ifindex = ifa->ifa_dev->dev->ifindex, ifindex 1666 net/ipv4/devinet.c ifm->ifa_index = ifa->ifa_dev->dev->ifindex; ifindex 1737 net/ipv4/devinet.c fillargs->ifindex = ifm->ifa_index; ifindex 1738 net/ipv4/devinet.c if (fillargs->ifindex) { ifindex 1832 net/ipv4/devinet.c if (fillargs.ifindex) { ifindex 1833 net/ipv4/devinet.c dev = __dev_get_by_index(tgt_net, fillargs.ifindex); ifindex 2027 net/ipv4/devinet.c static int inet_netconf_fill_devconf(struct sk_buff *skb, int ifindex, ifindex 2047 net/ipv4/devinet.c if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) ifindex 2088 net/ipv4/devinet.c int ifindex, struct ipv4_devconf *devconf) ifindex 2097 net/ipv4/devinet.c err = inet_netconf_fill_devconf(skb, ifindex, devconf, 0, 0, ifindex 2169 net/ipv4/devinet.c int ifindex; ifindex 2180 net/ipv4/devinet.c ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); ifindex 2181 net/ipv4/devinet.c switch (ifindex) { ifindex 2189 net/ipv4/devinet.c dev = __dev_get_by_index(net, ifindex); ifindex 2204 net/ipv4/devinet.c err = inet_netconf_fill_devconf(skb, ifindex, devconf, ifindex 2261 net/ipv4/devinet.c if (inet_netconf_fill_devconf(skb, dev->ifindex, ifindex 2351 net/ipv4/devinet.c dev->ifindex, &in_dev->cnf); ifindex 2365 net/ipv4/devinet.c return idev->dev->ifindex; ifindex 2381 net/ipv4/devinet.c int ifindex; ifindex 2398 net/ipv4/devinet.c ifindex = devinet_conf_ifindex(net, cnf); ifindex 2401 net/ipv4/devinet.c ifindex, cnf); ifindex 2405 net/ipv4/devinet.c ifindex = devinet_conf_ifindex(net, cnf); ifindex 2408 net/ipv4/devinet.c ifindex, cnf); ifindex 2412 net/ipv4/devinet.c ifindex = devinet_conf_ifindex(net, cnf); ifindex 2415 net/ipv4/devinet.c ifindex, cnf); ifindex 2451 net/ipv4/devinet.c idev->dev->ifindex, ifindex 2557 net/ipv4/devinet.c int ifindex, struct ipv4_devconf *p) ifindex 2582 net/ipv4/devinet.c ifindex, p); ifindex 2592 net/ipv4/devinet.c struct ipv4_devconf *cnf, int ifindex) ifindex 2602 net/ipv4/devinet.c inet_netconf_notify_devconf(net, RTM_DELNETCONF, 0, ifindex, NULL); ifindex 2616 net/ipv4/devinet.c idev->dev->ifindex, &idev->cnf); ifindex 2626 net/ipv4/devinet.c __devinet_sysctl_unregister(net, &idev->cnf, idev->dev->ifindex); ifindex 406 net/ipv4/fib_frontend.c fl4.flowi4_oif = dev->ifindex; ifindex 436 net/ipv4/fib_frontend.c (dev->ifindex != oif || !IN_DEV_TX_REDIRECTS(idev))) { ifindex 546 net/ipv4/fib_frontend.c cfg->fc_oif = dev->ifindex; ifindex 943 net/ipv4/fib_frontend.c int ifindex; ifindex 953 net/ipv4/fib_frontend.c ifindex = nla_get_u32(tb[i]); ifindex 954 net/ipv4/fib_frontend.c filter->dev = __dev_get_by_index(net, ifindex); ifindex 1072 net/ipv4/fib_frontend.c .fc_oif = ifa->ifa_dev->dev->ifindex, ifindex 439 net/ipv4/fib_semantics.c hash = fib_devindex_hashfn(dev->ifindex); ifindex 1002 net/ipv4/fib_semantics.c nh->fib_nh_oif = nh->fib_nh_dev->ifindex; ifindex 1564 net/ipv4/fib_semantics.c hash = fib_devindex_hashfn(nexthop_nh->fib_nh_dev->ifindex); ifindex 1640 net/ipv4/fib_semantics.c nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) ifindex 1668 net/ipv4/fib_semantics.c rtnh->rtnh_ifindex = dev ? dev->ifindex : 0; ifindex 1904 net/ipv4/fib_semantics.c unsigned int hash = fib_devindex_hashfn(dev->ifindex); ifindex 1927 net/ipv4/fib_semantics.c unsigned int hash = fib_devindex_hashfn(dev->ifindex); ifindex 2090 net/ipv4/fib_semantics.c hash = fib_devindex_hashfn(dev->ifindex); ifindex 676 net/ipv4/fou.c int ifindex; ifindex 754 net/ipv4/fou.c ifindex = nla_get_s32(info->attrs[FOU_ATTR_IFINDEX]); ifindex 756 net/ipv4/fou.c cfg->udp_config.bind_ifindex = ifindex; ifindex 373 net/ipv4/igmp.c IPPROTO_IGMP, 0, dev->ifindex); ifindex 751 net/ipv4/igmp.c IPPROTO_IGMP, 0, dev->ifindex); ifindex 1836 net/ipv4/igmp.c imr->imr_ifindex = dev->ifindex; ifindex 2164 net/ipv4/igmp.c int ifindex; ifindex 2181 net/ipv4/igmp.c ifindex = imr->imr_ifindex; ifindex 2184 net/ipv4/igmp.c i->multi.imr_ifindex == ifindex) ifindex 2250 net/ipv4/igmp.c u32 ifindex; ifindex 2260 net/ipv4/igmp.c ifindex = imr->imr_ifindex; ifindex 2266 net/ipv4/igmp.c if (ifindex) { ifindex 2267 net/ipv4/igmp.c if (iml->multi.imr_ifindex != ifindex) ifindex 2291 net/ipv4/igmp.c ip_mreq_source *mreqs, int ifindex) ifindex 2311 net/ipv4/igmp.c imr.imr_ifindex = ifindex; ifindex 2426 net/ipv4/igmp.c int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf, int ifindex) ifindex 2448 net/ipv4/igmp.c imr.imr_ifindex = ifindex; ifindex 2849 net/ipv4/igmp.c state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier); ifindex 2987 net/ipv4/igmp.c state->dev->ifindex, state->dev->name, ifindex 43 net/ipv4/inet_diag.c u32 ifindex; ifindex 629 net/ipv4/inet_diag.c u32 ifindex; ifindex 631 net/ipv4/inet_diag.c ifindex = *((const u32 *)(op + 1)); ifindex 632 net/ipv4/inet_diag.c if (ifindex != entry->ifindex) ifindex 686 net/ipv4/inet_diag.c entry.ifindex = sk->sk_bound_dev_if; ifindex 348 net/ipv4/ip_fragment.c qp->iif = dev->ifindex; ifindex 153 net/ipv4/ip_gre.c t = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, ifindex 239 net/ipv4/ip_gre.c skb->dev->ifindex, IPPROTO_GRE); ifindex 243 net/ipv4/ip_gre.c ipv4_redirect(skb, dev_net(skb->dev), skb->dev->ifindex, ifindex 270 net/ipv4/ip_gre.c tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, ifindex 339 net/ipv4/ip_gre.c tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, ifindex 874 net/ipv4/ip_gre.c t->mlink = dev->ifindex; ifindex 164 net/ipv4/ip_input.c sk->sk_bound_dev_if == dev->ifindex)) { ifindex 809 net/ipv4/ip_sockglue.c int ifindex; ifindex 815 net/ipv4/ip_sockglue.c ifindex = (__force int)ntohl((__force __be32)val); ifindex 816 net/ipv4/ip_sockglue.c if (ifindex == 0) { ifindex 822 net/ipv4/ip_sockglue.c dev = dev_get_by_index(sock_net(sk), ifindex); ifindex 835 net/ipv4/ip_sockglue.c inet->uc_index = ifindex; ifindex 880 net/ipv4/ip_sockglue.c mreq.imr_ifindex = dev->ifindex; ifindex 1085 net/ipv4/ip_sockglue.c int msize, i, ifindex; ifindex 1115 net/ipv4/ip_sockglue.c ifindex = gsf->gf_interface; ifindex 1136 net/ipv4/ip_sockglue.c err = ip_mc_msfilter(sk, msf, ifindex); ifindex 55 net/ipv4/ip_vti.c tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, ifindex 100 net/ipv4/ip_vti.c tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, ifindex 215 net/ipv4/ip_vti.c fl->u.ip4.flowi4_oif = dev->ifindex; ifindex 228 net/ipv4/ip_vti.c fl->u.ip6.flowi6_oif = dev->ifindex; ifindex 353 net/ipv4/ip_vti.c tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, ifindex 138 net/ipv4/ipip.c t = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, ifindex 221 net/ipv4/ipip.c tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, ifindex 523 net/ipv4/ipmr.c .flowi4_oif = dev->ifindex, ifindex 715 net/ipv4/ipmr.c dev->ifindex, &in_dev->cnf); ifindex 905 net/ipv4/ipmr.c dev->ifindex, &in_dev->cnf); ifindex 1180 net/ipv4/ipmr.c skb->skb_iif = dev->ifindex; ifindex 2078 net/ipv4/ipmr.c skb->dev->ifindex : 0), ifindex 2081 net/ipv4/ipmr.c skb->dev->ifindex), ifindex 2785 net/ipv4/ipmr.c if (nla_put_u32(skb, IPMRA_VIFA_IFINDEX, vif->dev->ifindex) || ifindex 27 net/ipv4/ipmr_base.c v->link = dev->ifindex; ifindex 225 net/ipv4/ipmr_base.c mrt->vif_table[c->mfc_parent].dev->ifindex) < 0) ifindex 248 net/ipv4/ipmr_base.c nhp->rtnh_ifindex = vif->dev->ifindex; ifindex 46 net/ipv4/netfilter/ipt_CLUSTERIP.c int ifindex; /* device ifindex */ ifindex 201 net/ipv4/netfilter/ipt_CLUSTERIP.c c->ifindex = dev->ifindex; ifindex 206 net/ipv4/netfilter/ipt_CLUSTERIP.c if (dev->ifindex == c->ifindex) { ifindex 208 net/ipv4/netfilter/ipt_CLUSTERIP.c c->ifindex = -1; ifindex 213 net/ipv4/netfilter/ipt_CLUSTERIP.c c->ifindex = dev->ifindex; ifindex 215 net/ipv4/netfilter/ipt_CLUSTERIP.c } else if (dev->ifindex == c->ifindex) { ifindex 217 net/ipv4/netfilter/ipt_CLUSTERIP.c c->ifindex = -1; ifindex 251 net/ipv4/netfilter/ipt_CLUSTERIP.c c->ifindex = dev->ifindex; ifindex 637 net/ipv4/netfilter/ipt_CLUSTERIP.c if (c->ifindex != state->out->ifindex) { ifindex 639 net/ipv4/netfilter/ipt_CLUSTERIP.c c->ifindex, state->out->ifindex); ifindex 84 net/ipv4/netfilter/nf_socket_ipv4.c in->ifindex); ifindex 87 net/ipv4/netfilter/nf_socket_ipv4.c in->ifindex); ifindex 100 net/ipv4/netfilter/nf_tproxy_ipv4.c in->ifindex, 0); ifindex 113 net/ipv4/netfilter/nf_tproxy_ipv4.c in->ifindex); ifindex 122 net/ipv4/netfilter/nf_tproxy_ipv4.c in->ifindex); ifindex 56 net/ipv4/nexthop.c hash = nh_dev_hashfn(dev->ifindex); ifindex 256 net/ipv4/nexthop.c if (dev && nla_put_u32(skb, NHA_OIF, dev->ifindex)) ifindex 1070 net/ipv4/nexthop.c unsigned int hash = nh_dev_hashfn(dev->ifindex); ifindex 1257 net/ipv4/nexthop.c cfg->nh_ifindex = net->loopback_dev->ifindex; ifindex 1642 net/ipv4/nexthop.c if (dev_idx && (!dev || dev->ifindex != dev_idx)) ifindex 1652 net/ipv4/nexthop.c if (!master || master->ifindex != master_idx) ifindex 1767 net/ipv4/nexthop.c unsigned int hash = nh_dev_hashfn(dev->ifindex); ifindex 175 net/ipv4/ping.c int dif = skb->dev->ifindex; ifindex 191 net/ipv4/raw.c skb->dev->ifindex, sdif)) { ifindex 298 net/ipv4/raw.c int dif = skb->dev->ifindex; ifindex 550 net/ipv4/route.c int oif = skb->dev->ifindex; ifindex 824 net/ipv4/route.c int oif = skb->dev->ifindex; ifindex 1266 net/ipv4/route.c .flowi4_oif = rt->dst.dev->ifindex, ifindex 1267 net/ipv4/route.c .flowi4_iif = skb->dev->ifindex, ifindex 2099 net/ipv4/route.c fl4.flowi4_iif = dev->ifindex; ifindex 2362 net/ipv4/route.c (orig_oif != dev_out->ifindex)) { ifindex 2516 net/ipv4/route.c fl4->flowi4_oif = dev_out->ifindex; ifindex 2620 net/ipv4/route.c fl4->flowi4_oif = dev_out->ifindex; ifindex 2628 net/ipv4/route.c fl4->flowi4_oif = dev_out->ifindex; ifindex 2776 net/ipv4/route.c nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex)) ifindex 601 net/ipv4/udp.c iph->saddr, uh->dest, skb->dev->ifindex, 0, ifindex 646 net/ipv4/udp.c iph->saddr, uh->source, skb->dev->ifindex, ifindex 2154 net/ipv4/udp.c int dif = skb->dev->ifindex; ifindex 2442 net/ipv4/udp.c int dif = skb->dev->ifindex; ifindex 513 net/ipv6/addrconf.c static int inet6_netconf_fill_devconf(struct sk_buff *skb, int ifindex, ifindex 533 net/ipv6/addrconf.c if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) ifindex 567 net/ipv6/addrconf.c int ifindex, struct ipv6_devconf *devconf) ifindex 576 net/ipv6/addrconf.c err = inet6_netconf_fill_devconf(skb, ifindex, devconf, 0, 0, ifindex 646 net/ipv6/addrconf.c int ifindex; ifindex 657 net/ipv6/addrconf.c ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); ifindex 658 net/ipv6/addrconf.c switch (ifindex) { ifindex 666 net/ipv6/addrconf.c dev = dev_get_by_index(net, ifindex); ifindex 681 net/ipv6/addrconf.c err = inet6_netconf_fill_devconf(skb, ifindex, devconf, ifindex 742 net/ipv6/addrconf.c if (inet6_netconf_fill_devconf(skb, dev->ifindex, ifindex 820 net/ipv6/addrconf.c dev->ifindex, &idev->cnf); ifindex 902 net/ipv6/addrconf.c dev->ifindex, ifindex 1469 net/ipv6/addrconf.c int ifindex; ifindex 1595 net/ipv6/addrconf.c ret = (!dst->ifindex || ifindex 1596 net/ipv6/addrconf.c dst->ifindex == score->ifa->idev->dev->ifindex); ifindex 1602 net/ipv6/addrconf.c score->ifa->idev->dev->ifindex) == dst->label; ifindex 1757 net/ipv6/addrconf.c dst.ifindex = dst_dev ? dst_dev->ifindex : 0; ifindex 1759 net/ipv6/addrconf.c dst.label = ipv6_addr_label(net, daddr, dst_type, dst.ifindex); ifindex 1805 net/ipv6/addrconf.c master_idx = master->ifindex; ifindex 2378 net/ipv6/addrconf.c .fc_ifindex = dev->ifindex, ifindex 2427 net/ipv6/addrconf.c if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex) ifindex 2452 net/ipv6/addrconf.c .fc_ifindex = dev->ifindex, ifindex 2877 net/ipv6/addrconf.c const struct in6_addr *addr, int ifindex) ifindex 2885 net/ipv6/addrconf.c ret = ipv6_sock_mc_join(sk, ifindex, addr); ifindex 2887 net/ipv6/addrconf.c ret = ipv6_sock_mc_drop(sk, ifindex, addr); ifindex 2896 net/ipv6/addrconf.c static int inet6_addr_add(struct net *net, int ifindex, ifindex 2919 net/ipv6/addrconf.c dev = __dev_get_by_index(net, ifindex); ifindex 2929 net/ipv6/addrconf.c true, cfg->pfx, ifindex); ifindex 2982 net/ipv6/addrconf.c cfg->pfx, ifindex); ifindex 2988 net/ipv6/addrconf.c static int inet6_addr_del(struct net *net, int ifindex, u32 ifa_flags, ifindex 2998 net/ipv6/addrconf.c dev = __dev_get_by_index(net, ifindex); ifindex 3021 net/ipv6/addrconf.c false, pfx, dev->ifindex); ifindex 4340 net/ipv6/addrconf.c ifp->idev->dev->ifindex, ifindex 4842 net/ipv6/addrconf.c u8 scope, int ifindex) ifindex 4851 net/ipv6/addrconf.c ifm->ifa_index = ifindex; ifindex 4901 net/ipv6/addrconf.c int ifindex; ifindex 4917 net/ipv6/addrconf.c ifa->idev->dev->ifindex); ifindex 4976 net/ipv6/addrconf.c int ifindex = ifmca->idev->dev->ifindex; ifindex 4990 net/ipv6/addrconf.c put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex); ifindex 5006 net/ipv6/addrconf.c int ifindex = dev ? dev->ifindex : 1; ifindex 5022 net/ipv6/addrconf.c put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex); ifindex 5117 net/ipv6/addrconf.c fillargs->ifindex = ifm->ifa_index; ifindex 5118 net/ipv6/addrconf.c if (fillargs->ifindex) { ifindex 5183 net/ipv6/addrconf.c if (fillargs.ifindex) { ifindex 5184 net/ipv6/addrconf.c dev = __dev_get_by_index(tgt_net, fillargs.ifindex); ifindex 5792 net/ipv6/addrconf.c hdr->ifi_index = dev->ifindex; ifindex 5800 net/ipv6/addrconf.c (dev->ifindex != dev_get_iflink(dev) && ifindex 5942 net/ipv6/addrconf.c pmsg->prefix_ifindex = idev->dev->ifindex; ifindex 6214 net/ipv6/addrconf.c idev->dev->ifindex, ifindex 6865 net/ipv6/addrconf.c int i, ifindex; ifindex 6892 net/ipv6/addrconf.c ifindex = NETCONFA_IFINDEX_ALL; ifindex 6894 net/ipv6/addrconf.c ifindex = NETCONFA_IFINDEX_DEFAULT; ifindex 6896 net/ipv6/addrconf.c ifindex = idev->dev->ifindex; ifindex 6898 net/ipv6/addrconf.c ifindex, p); ifindex 6908 net/ipv6/addrconf.c struct ipv6_devconf *p, int ifindex) ifindex 6920 net/ipv6/addrconf.c inet6_netconf_notify_devconf(net, RTM_DELNETCONF, 0, ifindex, NULL); ifindex 6945 net/ipv6/addrconf.c idev->dev->ifindex); ifindex 35 net/ipv6/addrlabel.c int ifindex; ifindex 116 net/ipv6/addrlabel.c int addrtype, int ifindex) ifindex 118 net/ipv6/addrlabel.c if (p->ifindex && p->ifindex != ifindex) ifindex 129 net/ipv6/addrlabel.c int type, int ifindex) ifindex 134 net/ipv6/addrlabel.c if (__ip6addrlbl_match(p, addr, type, ifindex)) ifindex 141 net/ipv6/addrlabel.c const struct in6_addr *addr, int type, int ifindex) ifindex 149 net/ipv6/addrlabel.c p = __ipv6_addr_label(net, addr, type, ifindex); ifindex 154 net/ipv6/addrlabel.c __func__, addr, type, ifindex, label); ifindex 161 net/ipv6/addrlabel.c int prefixlen, int ifindex, ifindex 168 net/ipv6/addrlabel.c __func__, prefix, prefixlen, ifindex, (unsigned int)label); ifindex 195 net/ipv6/addrlabel.c newp->ifindex = ifindex; ifindex 215 net/ipv6/addrlabel.c p->ifindex == newp->ifindex && ifindex 224 net/ipv6/addrlabel.c } else if ((p->prefixlen == newp->prefixlen && !p->ifindex) || ifindex 244 net/ipv6/addrlabel.c int ifindex, u32 label, int replace) ifindex 250 net/ipv6/addrlabel.c __func__, prefix, prefixlen, ifindex, (unsigned int)label, ifindex 253 net/ipv6/addrlabel.c newp = ip6addrlbl_alloc(prefix, prefixlen, ifindex, label); ifindex 267 net/ipv6/addrlabel.c int ifindex) ifindex 274 net/ipv6/addrlabel.c __func__, prefix, prefixlen, ifindex); ifindex 278 net/ipv6/addrlabel.c p->ifindex == ifindex && ifindex 291 net/ipv6/addrlabel.c int ifindex) ifindex 297 net/ipv6/addrlabel.c __func__, prefix, prefixlen, ifindex); ifindex 301 net/ipv6/addrlabel.c ret = __ip6addrlbl_del(net, &prefix_buf, prefixlen, ifindex); ifindex 364 net/ipv6/addrlabel.c static bool addrlbl_ifindex_exists(struct net *net, int ifindex) ifindex 370 net/ipv6/addrlabel.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 428 net/ipv6/addrlabel.c int prefixlen, int ifindex, u32 lseq) ifindex 434 net/ipv6/addrlabel.c ifal->ifal_index = ifindex; ifindex 449 net/ipv6/addrlabel.c ip6addrlbl_putmsg(nlh, p->prefixlen, p->ifindex, lseq); ifindex 662 net/ipv6/ah6.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 63 net/ipv6/anycast.c int ipv6_sock_ac_join(struct sock *sk, int ifindex, const struct in6_addr *addr) ifindex 80 net/ipv6/anycast.c if (ifindex) ifindex 81 net/ipv6/anycast.c dev = __dev_get_by_index(net, ifindex); ifindex 92 net/ipv6/anycast.c if (ifindex == 0) { ifindex 116 net/ipv6/anycast.c if (ifindex) ifindex 125 net/ipv6/anycast.c pac->acl_ifindex = dev->ifindex; ifindex 155 net/ipv6/anycast.c int ipv6_sock_ac_drop(struct sock *sk, int ifindex, const struct in6_addr *addr) ifindex 166 net/ipv6/anycast.c if ((ifindex == 0 || pac->acl_ifindex == ifindex) && ifindex 566 net/ipv6/anycast.c state->dev->ifindex, state->dev->name, ifindex 706 net/ipv6/esp6.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 91 net/ipv6/icmp.c ip6_update_pmtu(skb, net, info, skb->dev->ifindex, 0, sock_net_uid(net, NULL)); ifindex 93 net/ipv6/icmp.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 405 net/ipv6/icmp.c if (unlikely(dev->ifindex == LOOPBACK_IFINDEX || netif_is_l3_master(skb->dev))) { ifindex 417 net/ipv6/icmp.c return icmp6_dev(skb)->ifindex; ifindex 71 net/ipv6/ila/ila_lwt.c fl6.flowi6_oif = orig_dst->dev->ifindex; ifindex 15 net/ipv6/ila/ila_xlat.c int ifindex; ifindex 56 net/ipv6/ila/ila_xlat.c struct ila_addr *iaddr, int ifindex) ifindex 58 net/ipv6/ila/ila_xlat.c return (ila->xp.ifindex && ila->xp.ifindex != ifindex); ifindex 64 net/ipv6/ila/ila_xlat.c return (ila->xp.ifindex != xp->ifindex); ifindex 79 net/ipv6/ila/ila_xlat.c if (ila->xp.ifindex) ifindex 121 net/ipv6/ila/ila_xlat.c xp->ifindex = nla_get_s32(info->attrs[ILA_ATTR_IFINDEX]); ifindex 128 net/ipv6/ila/ila_xlat.c int ifindex, ifindex 136 net/ipv6/ila/ila_xlat.c if (!ila_cmp_wildcards(ila, iaddr, ifindex)) ifindex 432 net/ipv6/ila/ila_xlat.c nla_put_s32(msg, ILA_ATTR_IFINDEX, ila->xp.ifindex) || ifindex 650 net/ipv6/ila/ila_xlat.c ila = ila_lookup_wildcards(iaddr, skb->dev->ifindex, ilan); ifindex 120 net/ipv6/ip6_gre.c int link = dev->ifindex; ifindex 475 net/ipv6/ip6_gre.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 160 net/ipv6/ip6_input.c IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; ifindex 306 net/ipv6/ip6_output.c sk->sk_bound_dev_if == skb->dev->ifindex)) { ifindex 501 net/ipv6/ip6_output.c if (IP6CB(skb)->iif == dst->dev->ifindex && ifindex 991 net/ipv6/ip6_output.c (fl6->flowi6_oif && fl6->flowi6_oif != dst->dev->ifindex))) { ifindex 545 net/ipv6/ip6_tunnel.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 457 net/ipv6/ip6_vti.c fl->u.ip4.flowi4_oif = dev->ifindex; ifindex 467 net/ipv6/ip6_vti.c fl->u.ip6.flowi6_oif = dev->ifindex; ifindex 636 net/ipv6/ip6_vti.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 525 net/ipv6/ip6mr.c .flowi6_iif = skb->dev->ifindex, ifindex 594 net/ipv6/ip6mr.c .flowi6_oif = dev->ifindex, ifindex 740 net/ipv6/ip6mr.c dev->ifindex, &in6_dev->cnf); ifindex 908 net/ipv6/ip6mr.c dev->ifindex, &in6_dev->cnf); ifindex 1193 net/ipv6/ip6mr.c skb->skb_iif = dev->ifindex; ifindex 1609 net/ipv6/ip6mr.c .flowi6_oif = skb->dev->ifindex, ifindex 2189 net/ipv6/ip6mr.c .flowi6_iif = skb->dev->ifindex, ifindex 65 net/ipv6/ipcomp6.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 584 net/ipv6/ipv6_sockglue.c int ifindex; ifindex 589 net/ipv6/ipv6_sockglue.c ifindex = (__force int)ntohl((__force __be32)val); ifindex 590 net/ipv6/ipv6_sockglue.c if (ifindex == 0) { ifindex 596 net/ipv6/ipv6_sockglue.c dev = dev_get_by_index(net, ifindex); ifindex 606 net/ipv6/ipv6_sockglue.c np->ucast_oif = ifindex; ifindex 133 net/ipv6/mcast.c static int __ipv6_sock_mc_join(struct sock *sk, int ifindex, ifindex 149 net/ipv6/mcast.c if ((ifindex == 0 || mc_lst->ifindex == ifindex) && ifindex 165 net/ipv6/mcast.c if (ifindex == 0) { ifindex 173 net/ipv6/mcast.c dev = __dev_get_by_index(net, ifindex); ifindex 180 net/ipv6/mcast.c mc_lst->ifindex = dev->ifindex; ifindex 202 net/ipv6/mcast.c int ipv6_sock_mc_join(struct sock *sk, int ifindex, const struct in6_addr *addr) ifindex 204 net/ipv6/mcast.c return __ipv6_sock_mc_join(sk, ifindex, addr, MCAST_EXCLUDE); ifindex 208 net/ipv6/mcast.c int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex, ifindex 211 net/ipv6/mcast.c return __ipv6_sock_mc_join(sk, ifindex, addr, mode); ifindex 217 net/ipv6/mcast.c int ipv6_sock_mc_drop(struct sock *sk, int ifindex, const struct in6_addr *addr) ifindex 232 net/ipv6/mcast.c if ((ifindex == 0 || mc_lst->ifindex == ifindex) && ifindex 238 net/ipv6/mcast.c dev = __dev_get_by_index(net, mc_lst->ifindex); ifindex 261 net/ipv6/mcast.c int ifindex) ifindex 266 net/ipv6/mcast.c if (ifindex == 0) { ifindex 274 net/ipv6/mcast.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 302 net/ipv6/mcast.c dev = __dev_get_by_index(net, mc_lst->ifindex); ifindex 358 net/ipv6/mcast.c if (pgsr->gsr_interface && pmc->ifindex != pgsr->gsr_interface) ifindex 495 net/ipv6/mcast.c if (pmc->ifindex != gsf->gf_interface) ifindex 580 net/ipv6/mcast.c if (pmc->ifindex != gsf->gf_interface) ifindex 1670 net/ipv6/mcast.c skb->dev->ifindex); ifindex 2051 net/ipv6/mcast.c skb->dev->ifindex); ifindex 2764 net/ipv6/mcast.c state->dev->ifindex, state->dev->name, ifindex 2904 net/ipv6/mcast.c state->dev->ifindex, state->dev->name, ifindex 241 net/ipv6/mip6.c sel.ifindex = fl6->flowi6_oif; ifindex 482 net/ipv6/ndisc.c int oif = skb->dev->ifindex; ifindex 1146 net/ipv6/ndisc.c ndmsg->nduseropt_ifindex = ra->dev->ifindex; ifindex 1549 net/ipv6/ndisc.c skb->dev->ifindex); ifindex 1614 net/ipv6/ndisc.c &saddr_buf, &ipv6_hdr(skb)->saddr, dev->ifindex); ifindex 33 net/ipv6/netfilter.c strict ? skb_dst(skb)->dev->ifindex : 0, ifindex 57 net/ipv6/netfilter/ip6t_rpfilter.c fl6.flowi6_oif = dev->ifindex; ifindex 61 net/ipv6/netfilter/ip6t_rpfilter.c fl6.flowi6_oif = dev->ifindex; ifindex 76 net/ipv6/netfilter/ip6t_rpfilter.c l3mdev_master_ifindex_rcu(rt->rt6i_idev->dev) == dev->ifindex || ifindex 267 net/ipv6/netfilter/nf_conntrack_reasm.c fq->iif = dev->ifindex; ifindex 466 net/ipv6/netfilter/nf_conntrack_reasm.c skb->dev ? skb->dev->ifindex : 0); ifindex 88 net/ipv6/netfilter/nf_socket_ipv6.c in->ifindex); ifindex 91 net/ipv6/netfilter/nf_socket_ipv6.c in->ifindex); ifindex 100 net/ipv6/netfilter/nf_tproxy_ipv6.c in->ifindex, 0); ifindex 113 net/ipv6/netfilter/nf_tproxy_ipv6.c in->ifindex, 0); ifindex 122 net/ipv6/netfilter/nf_tproxy_ipv6.c in->ifindex); ifindex 19 net/ipv6/netfilter/nft_fib_ipv6.c return dev ? dev->ifindex : 0; ifindex 233 net/ipv6/proc.c seq_printf(seq, "%-32s\t%u\n", "ifIndex", idev->dev->ifindex); ifindex 192 net/ipv6/reassembly.c fq->iif = dev->ifindex; ifindex 354 net/ipv6/reassembly.c iif = skb->dev ? skb->dev->ifindex : 0; ifindex 485 net/ipv6/route.c if (dev->ifindex == oif) ifindex 722 net/ipv6/route.c if (!oif || nh->fib_nh_dev->ifindex == oif) ifindex 2451 net/ipv6/route.c .flowi6_iif = skb->dev->ifindex, ifindex 2878 net/ipv6/route.c fl6->flowi6_oif != nh->fib_nh_dev->ifindex) ifindex 2943 net/ipv6/route.c fl6->flowi6_oif = skb->dev->ifindex; ifindex 3521 net/ipv6/route.c fib6_nh->fib_nh_oif = dev->ifindex; ifindex 3837 net/ipv6/route.c if (cfg->fc_ifindex && rt->dst.dev->ifindex != cfg->fc_ifindex) ifindex 3955 net/ipv6/route.c nh->fib_nh_dev->ifindex != cfg->fc_ifindex)) ifindex 4125 net/ipv6/route.c int ifindex = dev->ifindex; ifindex 4143 net/ipv6/route.c if (rt->fib6_nh->fib_nh_dev->ifindex != ifindex) ifindex 4167 net/ipv6/route.c .fc_ifindex = dev->ifindex, ifindex 4232 net/ipv6/route.c .fc_ifindex = dev->ifindex, ifindex 4430 net/ipv6/route.c .fc_ifindex = idev->dev->ifindex, ifindex 5503 net/ipv6/route.c if (dst->dev && nla_put_u32(skb, RTA_OIF, dst->dev->ifindex)) ifindex 164 net/ipv6/seg6_local.c fl6.flowi6_iif = skb->dev->ifindex; ifindex 98 net/ipv6/sit.c int ifindex = dev ? dev->ifindex : 0; ifindex 103 net/ipv6/sit.c (!dev || !t->parms.link || ifindex == t->parms.link || ifindex 110 net/ipv6/sit.c (!dev || !t->parms.link || ifindex == t->parms.link || ifindex 117 net/ipv6/sit.c (!dev || !t->parms.link || ifindex == t->parms.link || ifindex 377 net/ipv6/tcp_ipv6.c skb->dev->ifindex, inet6_sdif(skb)); ifindex 978 net/ipv6/udp.c int dif = skb->dev->ifindex; ifindex 774 net/iucv/af_iucv.c sk->sk_bound_dev_if = dev->ifindex; ifindex 19 net/l3mdev/l3mdev.c int ifindex = 0; ifindex 25 net/l3mdev/l3mdev.c ifindex = dev->ifindex; ifindex 38 net/l3mdev/l3mdev.c ifindex = master->ifindex; ifindex 41 net/l3mdev/l3mdev.c return ifindex; ifindex 51 net/l3mdev/l3mdev.c int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) ifindex 55 net/l3mdev/l3mdev.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 59 net/l3mdev/l3mdev.c return dev ? dev->ifindex : 0; ifindex 96 net/l3mdev/l3mdev.c u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) ifindex 101 net/l3mdev/l3mdev.c if (!ifindex) ifindex 106 net/l3mdev/l3mdev.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 186 net/l3mdev/l3mdev.c int ifindex; ifindex 193 net/l3mdev/l3mdev.c ifindex = l3mdev_master_ifindex_rcu(dev); ifindex 194 net/l3mdev/l3mdev.c if (ifindex) { ifindex 195 net/l3mdev/l3mdev.c fl->flowi_oif = ifindex; ifindex 205 net/l3mdev/l3mdev.c ifindex = l3mdev_master_ifindex_rcu(dev); ifindex 206 net/l3mdev/l3mdev.c if (ifindex) { ifindex 207 net/l3mdev/l3mdev.c fl->flowi_iif = ifindex; ifindex 648 net/llc/af_llc.c info.lpi_ifindex = llc_sk(skb->sk)->dev->ifindex; ifindex 697 net/llc/llc_conn.c struct hlist_head *dev_hb = llc_sk_dev_hash(sap, llc->dev->ifindex); ifindex 394 net/llc/llc_sap.c struct hlist_head *dev_hb = llc_sk_dev_hash(sap, skb->dev->ifindex); ifindex 66 net/mac80211/debugfs_key.c KEY_READ(ifindex, sdata->name, "%s\n"); ifindex 67 net/mac80211/debugfs_key.c KEY_OPS(ifindex); ifindex 361 net/mac80211/debugfs_key.c DEBUGFS_ADD(ifindex); ifindex 106 net/mac802154/tx.c skb->skb_iif = dev->ifindex; ifindex 128 net/mac802154/tx.c skb->skb_iif = dev->ifindex; ifindex 1150 net/mpls/af_mpls.c if (nla_put_s32(skb, NETCONFA_IFINDEX, mdev->dev->ifindex) < 0) ifindex 1259 net/mpls/af_mpls.c int ifindex; ifindex 1270 net/mpls/af_mpls.c ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); ifindex 1271 net/mpls/af_mpls.c dev = __dev_get_by_index(net, ifindex); ifindex 2008 net/mpls/af_mpls.c if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) ifindex 2033 net/mpls/af_mpls.c rtnh->rtnh_ifindex = dev->ifindex; ifindex 2115 net/mpls/af_mpls.c int ifindex; ifindex 2118 net/mpls/af_mpls.c ifindex = nla_get_u32(tb[i]); ifindex 2119 net/mpls/af_mpls.c filter->dev = __dev_get_by_index(net, ifindex); ifindex 2482 net/mpls/af_mpls.c if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) ifindex 34 net/ncsi/ncsi-netlink.c static struct ncsi_dev_priv *ndp_from_ifindex(struct net *net, u32 ifindex) ifindex 44 net/ncsi/ncsi-netlink.c dev = dev_get_by_index(net, ifindex); ifindex 46 net/ncsi/ncsi-netlink.c pr_err("NCSI netlink: No device for ifindex %u\n", ifindex); ifindex 500 net/ncsi/ncsi-netlink.c nla_put_u32(skb, NCSI_ATTR_IFINDEX, nr->rsp->dev->ifindex); ifindex 541 net/ncsi/ncsi-netlink.c nla_put_u32(skb, NCSI_ATTR_IFINDEX, nr->cmd->dev->ifindex); ifindex 1366 net/netfilter/ipvs/ip_vs_sync.c if (sk->sk_bound_dev_if && dev->ifindex != sk->sk_bound_dev_if) ifindex 1370 net/netfilter/ipvs/ip_vs_sync.c inet->mc_index = dev->ifindex; ifindex 1377 net/netfilter/ipvs/ip_vs_sync.c np->mcast_oif = dev->ifindex; ifindex 1400 net/netfilter/ipvs/ip_vs_sync.c if (sk->sk_bound_dev_if && dev->ifindex != sk->sk_bound_dev_if) ifindex 1403 net/netfilter/ipvs/ip_vs_sync.c mreq.imr_ifindex = dev->ifindex; ifindex 1418 net/netfilter/ipvs/ip_vs_sync.c if (sk->sk_bound_dev_if && dev->ifindex != sk->sk_bound_dev_if) ifindex 1422 net/netfilter/ipvs/ip_vs_sync.c ret = ipv6_sock_mc_join(sk, dev->ifindex, addr); ifindex 1553 net/netfilter/ipvs/ip_vs_sync.c sock->sk->sk_bound_dev_if = dev->ifindex; ifindex 56 net/netfilter/nf_flow_table_core.c ft->iifidx = other_dst->dev->ifindex; ifindex 497 net/netfilter/nf_flow_table_core.c (flow->tuplehash[0].tuple.iifidx == dev->ifindex || ifindex 498 net/netfilter/nf_flow_table_core.c flow->tuplehash[1].tuple.iifidx == dev->ifindex)) ifindex 201 net/netfilter/nf_flow_table_ip.c tuple->iifidx = dev->ifindex; ifindex 291 net/netfilter/nf_flow_table_ip.c IPCB(skb)->iif = skb->dev->ifindex; ifindex 462 net/netfilter/nf_flow_table_ip.c tuple->iifidx = dev->ifindex; ifindex 521 net/netfilter/nf_flow_table_ip.c IP6CB(skb)->iif = skb->dev->ifindex; ifindex 50 net/netfilter/nf_nat_masquerade.c nat->masq_index = out->ifindex; ifindex 66 net/netfilter/nf_nat_masquerade.c static int device_cmp(struct nf_conn *i, void *ifindex) ifindex 72 net/netfilter/nf_nat_masquerade.c return nat->masq_index == (int)(long)ifindex; ifindex 89 net/netfilter/nf_nat_masquerade.c (void *)(long)dev->ifindex, 0, 0); ifindex 101 net/netfilter/nf_nat_masquerade.c if (!device_cmp(ct, (void *)(long)dev->ifindex)) ifindex 178 net/netfilter/nf_nat_masquerade.c nat->masq_index = out->ifindex; ifindex 194 net/netfilter/nf_nat_masquerade.c int ifindex; ifindex 202 net/netfilter/nf_nat_masquerade.c if (!device_cmp(ct, (void *)(long)w->ifindex)) ifindex 255 net/netfilter/nf_nat_masquerade.c w->ifindex = dev->ifindex; ifindex 88 net/netfilter/nf_tables_trace.c htonl(indev->ifindex))) ifindex 98 net/netfilter/nf_tables_trace.c htonl(outdev->ifindex))) ifindex 485 net/netfilter/nfnetlink_log.c htonl(indev->ifindex))) ifindex 493 net/netfilter/nfnetlink_log.c htonl(indev->ifindex)) || ifindex 499 net/netfilter/nfnetlink_log.c htonl(br_port_get_rcu(indev)->br->dev->ifindex))) ifindex 507 net/netfilter/nfnetlink_log.c htonl(indev->ifindex))) ifindex 513 net/netfilter/nfnetlink_log.c htonl(physindev->ifindex))) ifindex 522 net/netfilter/nfnetlink_log.c htonl(outdev->ifindex))) ifindex 530 net/netfilter/nfnetlink_log.c htonl(outdev->ifindex)) || ifindex 536 net/netfilter/nfnetlink_log.c htonl(br_port_get_rcu(outdev)->br->dev->ifindex))) ifindex 544 net/netfilter/nfnetlink_log.c htonl(outdev->ifindex))) ifindex 550 net/netfilter/nfnetlink_log.c htonl(physoutdev->ifindex))) ifindex 494 net/netfilter/nfnetlink_queue.c if (nla_put_be32(skb, NFQA_IFINDEX_INDEV, htonl(indev->ifindex))) ifindex 502 net/netfilter/nfnetlink_queue.c htonl(indev->ifindex)) || ifindex 506 net/netfilter/nfnetlink_queue.c htonl(br_port_get_rcu(indev)->br->dev->ifindex))) ifindex 514 net/netfilter/nfnetlink_queue.c htonl(indev->ifindex))) ifindex 528 net/netfilter/nfnetlink_queue.c if (nla_put_be32(skb, NFQA_IFINDEX_OUTDEV, htonl(outdev->ifindex))) ifindex 536 net/netfilter/nfnetlink_queue.c htonl(outdev->ifindex)) || ifindex 540 net/netfilter/nfnetlink_queue.c htonl(br_port_get_rcu(outdev)->br->dev->ifindex))) ifindex 548 net/netfilter/nfnetlink_queue.c htonl(outdev->ifindex))) ifindex 901 net/netfilter/nfnetlink_queue.c dev_cmp(struct nf_queue_entry *entry, unsigned long ifindex) ifindex 909 net/netfilter/nfnetlink_queue.c if (physinif == ifindex || physoutif == ifindex) ifindex 913 net/netfilter/nfnetlink_queue.c if (entry->state.in->ifindex == ifindex) ifindex 916 net/netfilter/nfnetlink_queue.c if (entry->state.out->ifindex == ifindex) ifindex 925 net/netfilter/nfnetlink_queue.c nfqnl_dev_drop(struct net *net, int ifindex) ifindex 937 net/netfilter/nfnetlink_queue.c nfqnl_flush(inst, dev_cmp, ifindex); ifindex 951 net/netfilter/nfnetlink_queue.c nfqnl_dev_drop(dev_net(dev), dev->ifindex); ifindex 306 net/netfilter/nft_chain_filter.c if (dev->ifindex != basechain->ops.dev->ifindex) ifindex 143 net/netfilter/nft_fib.c index = dev ? dev->ifindex : 0; ifindex 35 net/netfilter/nft_flow_offload.c fl.u.ip4.flowi4_oif = nft_in(pkt)->ifindex; ifindex 39 net/netfilter/nft_flow_offload.c fl.u.ip6.flowi6_oif = nft_in(pkt)->ifindex; ifindex 91 net/netfilter/nft_meta.c *dest = in ? in->ifindex : 0; ifindex 94 net/netfilter/nft_meta.c *dest = out ? out->ifindex : 0; ifindex 73 net/netfilter/xt_TEE.c priv->oif = dev->ifindex; ifindex 76 net/netfilter/xt_TEE.c if (dev->ifindex == priv->oif) ifindex 81 net/netfilter/xt_TEE.c priv->oif = dev->ifindex; ifindex 82 net/netfilter/xt_TEE.c else if (dev->ifindex == priv->oif) ifindex 119 net/netfilter/xt_TEE.c priv->oif = dev->ifindex; ifindex 44 net/netfilter/xt_addrtype.c flow.flowi6_oif = dev->ifindex; ifindex 83 net/netlabel/netlabel_unlabeled.c int ifindex; ifindex 186 net/netlabel/netlabel_unlabeled.c static u32 netlbl_unlhsh_hash(int ifindex) ifindex 188 net/netlabel/netlabel_unlabeled.c return ifindex & (netlbl_unlhsh_rcu_deref(netlbl_unlhsh)->size - 1); ifindex 202 net/netlabel/netlabel_unlabeled.c static struct netlbl_unlhsh_iface *netlbl_unlhsh_search_iface(int ifindex) ifindex 208 net/netlabel/netlabel_unlabeled.c bkt = netlbl_unlhsh_hash(ifindex); ifindex 211 net/netlabel/netlabel_unlabeled.c if (iter->valid && iter->ifindex == ifindex) ifindex 311 net/netlabel/netlabel_unlabeled.c static struct netlbl_unlhsh_iface *netlbl_unlhsh_add_iface(int ifindex) ifindex 320 net/netlabel/netlabel_unlabeled.c iface->ifindex = ifindex; ifindex 326 net/netlabel/netlabel_unlabeled.c if (ifindex > 0) { ifindex 327 net/netlabel/netlabel_unlabeled.c bkt = netlbl_unlhsh_hash(ifindex); ifindex 328 net/netlabel/netlabel_unlabeled.c if (netlbl_unlhsh_search_iface(ifindex) != NULL) ifindex 372 net/netlabel/netlabel_unlabeled.c int ifindex; ifindex 390 net/netlabel/netlabel_unlabeled.c ifindex = dev->ifindex; ifindex 391 net/netlabel/netlabel_unlabeled.c iface = netlbl_unlhsh_search_iface(ifindex); ifindex 393 net/netlabel/netlabel_unlabeled.c ifindex = 0; ifindex 397 net/netlabel/netlabel_unlabeled.c iface = netlbl_unlhsh_add_iface(ifindex); ifindex 490 net/netlabel/netlabel_unlabeled.c dev = dev_get_by_index(net, iface->ifindex); ifindex 551 net/netlabel/netlabel_unlabeled.c dev = dev_get_by_index(net, iface->ifindex); ifindex 600 net/netlabel/netlabel_unlabeled.c if (iface->ifindex > 0) ifindex 649 net/netlabel/netlabel_unlabeled.c iface = netlbl_unlhsh_search_iface(dev->ifindex); ifindex 710 net/netlabel/netlabel_unlabeled.c iface = netlbl_unlhsh_search_iface(dev->ifindex); ifindex 1084 net/netlabel/netlabel_unlabeled.c if (iface->ifindex > 0) { ifindex 1085 net/netlabel/netlabel_unlabeled.c dev = dev_get_by_index(&init_net, iface->ifindex); ifindex 143 net/openvswitch/datapath.c int ifindex; ifindex 149 net/openvswitch/datapath.c ifindex = local->dev->ifindex; ifindex 151 net/openvswitch/datapath.c ifindex = 0; ifindex 155 net/openvswitch/datapath.c return ifindex; ifindex 1912 net/openvswitch/datapath.c nla_put_u32(skb, OVS_VPORT_ATTR_IFINDEX, vport->dev->ifindex)) ifindex 528 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(&po->sk), po->ifindex); ifindex 2112 net/packet/af_packet.c sll->sll_ifindex = orig_dev->ifindex; ifindex 2114 net/packet/af_packet.c sll->sll_ifindex = dev->ifindex; ifindex 2370 net/packet/af_packet.c sll->sll_ifindex = orig_dev->ifindex; ifindex 2372 net/packet/af_packet.c sll->sll_ifindex = dev->ifindex; ifindex 3086 net/packet/af_packet.c static int packet_do_bind(struct sock *sk, const char *name, int ifindex, ifindex 3112 net/packet/af_packet.c } else if (ifindex) { ifindex 3113 net/packet/af_packet.c dev = dev_get_by_index_rcu(sock_net(sk), ifindex); ifindex 3140 net/packet/af_packet.c dev->ifindex); ifindex 3150 net/packet/af_packet.c po->ifindex = -1; ifindex 3154 net/packet/af_packet.c po->ifindex = dev ? dev->ifindex : 0; ifindex 3328 net/packet/af_packet.c if (pkt_sk(sk)->ifindex < 0) ifindex 3468 net/packet/af_packet.c dev = dev_get_by_index_rcu(sock_net(sk), pkt_sk(sk)->ifindex); ifindex 3488 net/packet/af_packet.c sll->sll_ifindex = po->ifindex; ifindex 3492 net/packet/af_packet.c dev = dev_get_by_index_rcu(sock_net(sk), po->ifindex); ifindex 3542 net/packet/af_packet.c if (ml->ifindex == dev->ifindex) { ifindex 3576 net/packet/af_packet.c if (ml->ifindex == mreq->mr_ifindex && ifindex 3588 net/packet/af_packet.c i->ifindex = mreq->mr_ifindex; ifindex 3613 net/packet/af_packet.c if (ml->ifindex == mreq->mr_ifindex && ifindex 3620 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(sk), ml->ifindex); ifindex 3645 net/packet/af_packet.c dev = __dev_get_by_index(sock_net(sk), ml->ifindex); ifindex 4082 net/packet/af_packet.c if (dev->ifindex == po->ifindex) { ifindex 4092 net/packet/af_packet.c po->ifindex = -1; ifindex 4101 net/packet/af_packet.c if (dev->ifindex == po->ifindex) { ifindex 4607 net/packet/af_packet.c po->ifindex, ifindex 17 net/packet/diag.c pinfo.pdi_index = po->ifindex; ifindex 58 net/packet/diag.c dml->pdmc_index = ml->ifindex; ifindex 9 net/packet/internal.h int ifindex; ifindex 125 net/packet/internal.h int ifindex; /* bound device */ ifindex 283 net/phonet/pep-gprs.c return dev->ifindex; ifindex 737 net/phonet/pep.c int ifindex = 0; ifindex 753 net/phonet/pep.c ifindex = pn->ifindex; ifindex 754 net/phonet/pep.c pn->ifindex = 0; ifindex 757 net/phonet/pep.c if (ifindex) ifindex 862 net/phonet/pep.c newpn->ifindex = 0; ifindex 967 net/phonet/pep.c pn->ifindex = 0; ifindex 997 net/phonet/pep.c if (!pn->ifindex == !val) ifindex 1007 net/phonet/pep.c pn->ifindex = err; ifindex 1011 net/phonet/pep.c pn->ifindex = 0; ifindex 1052 net/phonet/pep.c val = pn->ifindex ? PNPIPE_ENCAP_IP : PNPIPE_ENCAP_NONE; ifindex 1056 net/phonet/pep.c val = pn->ifindex; ifindex 110 net/phonet/pn_netlink.c ifm->ifa_index = dev->ifindex; ifindex 181 net/phonet/pn_netlink.c nla_put_u32(skb, RTA_OIF, dev->ifindex)) ifindex 711 net/rds/ib_cm.c idx = dev->ifindex; ifindex 737 net/rds/ib_cm.c u32 ifindex = 0; ifindex 760 net/rds/ib_cm.c ifindex = __rds_find_ifindex(&init_net, daddr6); ifindex 762 net/rds/ib_cm.c if (ifindex == 0) { ifindex 768 net/rds/ib_cm.c ifindex = __rds_find_ifindex(&init_net, daddr6); ifindex 770 net/rds/ib_cm.c if (ifindex == 0) { ifindex 796 net/rds/ib_cm.c GFP_KERNEL, ifindex); ifindex 146 net/sched/act_mirred.c if (!parm->ifindex) { ifindex 173 net/sched/act_mirred.c if (parm->ifindex) { ifindex 174 net/sched/act_mirred.c dev = dev_get_by_index(net, parm->ifindex); ifindex 282 net/sched/act_mirred.c skb2->skb_iif = skb->dev->ifindex; ifindex 346 net/sched/act_mirred.c opt.ifindex = dev->ifindex; ifindex 178 net/sched/act_sample.c oif = skb->dev->ifindex; ifindex 180 net/sched/act_sample.c iif = skb->dev->ifindex; ifindex 1061 net/sched/cls_api.c u32 *parent, int ifindex, bool rtnl_held, ifindex 1068 net/sched/cls_api.c if (ifindex == TCM_IFINDEX_MAGIC_BLOCK) ifindex 1074 net/sched/cls_api.c dev = dev_get_by_index_rcu(net, ifindex); ifindex 1136 net/sched/cls_api.c int ifindex, struct netlink_ext_ack *extack) ifindex 1138 net/sched/cls_api.c if (ifindex == TCM_IFINDEX_MAGIC_BLOCK) ifindex 1156 net/sched/cls_api.c unsigned long cl, int ifindex, ifindex 1162 net/sched/cls_api.c if (ifindex == TCM_IFINDEX_MAGIC_BLOCK) { ifindex 1231 net/sched/cls_api.c int ifindex, u32 block_index, ifindex 1239 net/sched/cls_api.c err = __tcf_qdisc_find(net, q, parent, ifindex, true, extack); ifindex 1243 net/sched/cls_api.c err = __tcf_qdisc_cl_find(*q, *parent, cl, ifindex, extack); ifindex 1247 net/sched/cls_api.c block = __tcf_block_find(net, *q, *cl, ifindex, block_index, extack); ifindex 1799 net/sched/cls_api.c tcm->tcm_ifindex = qdisc_dev(q)->ifindex; ifindex 2629 net/sched/cls_api.c tcm->tcm_ifindex = qdisc_dev(block->q)->ifindex; ifindex 37 net/sched/cls_fw.c int ifindex; ifindex 65 net/sched/cls_fw.c if (!tcf_match_indev(skb, f->ifindex)) ifindex 223 net/sched/cls_fw.c f->ifindex = ret; ifindex 270 net/sched/cls_fw.c fnew->ifindex = f->ifindex; ifindex 397 net/sched/cls_fw.c if (f->ifindex) { ifindex 399 net/sched/cls_fw.c dev = __dev_get_by_index(net, f->ifindex); ifindex 48 net/sched/cls_u32.c int ifindex; ifindex 174 net/sched/cls_u32.c if (!tcf_match_indev(skb, n->ifindex)) { ifindex 760 net/sched/cls_u32.c n->ifindex = ret; ifindex 809 net/sched/cls_u32.c new->ifindex = n->ifindex; ifindex 1343 net/sched/cls_u32.c if (n->ifindex) { ifindex 1345 net/sched/cls_u32.c dev = __dev_get_by_index(net, n->ifindex); ifindex 144 net/sched/em_meta.c dst->value = dev->ifindex; ifindex 888 net/sched/sch_api.c tcm->tcm_ifindex = qdisc_dev(q)->ifindex; ifindex 1803 net/sched/sch_api.c tcm->tcm_ifindex = qdisc_dev(q)->ifindex; ifindex 42 net/sctp/diag.c r->id.idiag_if = dst ? dst->dev->ifindex : 0; ifindex 89 net/sctp/ipv6.c addr->a.v6.sin6_scope_id = ifa->idev->dev->ifindex; ifindex 430 net/sctp/ipv6.c addr->a.v6.sin6_scope_id = dev->ifindex; ifindex 508 net/sctp/protocol.c if (!odev || odev->ifindex != fl4->flowi4_oif) { ifindex 744 net/socket.c ts_pktinfo.if_index = orig_dev->ifindex; ifindex 185 net/sunrpc/addr.c scope_id = dev->ifindex; ifindex 94 net/tipc/udp_media.c u32 ifindex; ifindex 195 net/tipc/udp_media.c .flowi6_oif = ub->ifindex, ifindex 405 net/tipc/udp_media.c mreqn.imr_ifindex = ub->ifindex; ifindex 409 net/tipc/udp_media.c err = ipv6_stub->ipv6_sock_mc_join(sk, ub->ifindex, ifindex 687 net/tipc/udp_media.c &ub->ifindex); ifindex 735 net/tipc/udp_media.c ub->ifindex = dev->ifindex; ifindex 73 net/wimax/id-table.c struct genl_info *info, int ifindex) ifindex 77 net/wimax/id-table.c d_fnstart(3, NULL, "(info %p ifindex %d)\n", info, ifindex); ifindex 80 net/wimax/id-table.c if (wimax_dev->net_dev->ifindex == ifindex) { ifindex 87 net/wimax/id-table.c ifindex); ifindex 91 net/wimax/id-table.c info, ifindex, wimax_dev); ifindex 126 net/wimax/id-table.c __func__, wimax_dev, wimax_dev->net_dev->ifindex); ifindex 130 net/wimax/op-msg.c wimax_dev->net_dev->ifindex); ifindex 319 net/wimax/op-msg.c int result, ifindex; ifindex 334 net/wimax/op-msg.c ifindex = nla_get_u32(info->attrs[WIMAX_GNL_MSG_IFIDX]); ifindex 335 net/wimax/op-msg.c wimax_dev = wimax_dev_get_by_genl_info(info, ifindex); ifindex 89 net/wimax/op-reset.c int result, ifindex; ifindex 98 net/wimax/op-reset.c ifindex = nla_get_u32(info->attrs[WIMAX_GNL_RESET_IFIDX]); ifindex 99 net/wimax/op-reset.c wimax_dev = wimax_dev_get_by_genl_info(info, ifindex); ifindex 400 net/wimax/op-rfkill.c int result, ifindex; ifindex 411 net/wimax/op-rfkill.c ifindex = nla_get_u32(info->attrs[WIMAX_GNL_RFKILL_IFIDX]); ifindex 412 net/wimax/op-rfkill.c wimax_dev = wimax_dev_get_by_genl_info(info, ifindex); ifindex 33 net/wimax/op-state-get.c int result, ifindex; ifindex 42 net/wimax/op-state-get.c ifindex = nla_get_u32(info->attrs[WIMAX_GNL_STGET_IFIDX]); ifindex 43 net/wimax/op-state-get.c wimax_dev = wimax_dev_get_by_genl_info(info, ifindex); ifindex 124 net/wimax/stack.c wimax_dev->net_dev->ifindex); ifindex 99 net/wireless/nl80211.c wdev->netdev->ifindex == ifidx) { ifindex 160 net/wireless/nl80211.c int ifindex = nla_get_u32(attrs[NL80211_ATTR_IFINDEX]); ifindex 162 net/wireless/nl80211.c netdev = __dev_get_by_index(netns, ifindex); ifindex 2887 net/wireless/nl80211.c int ifindex = nla_get_u32(info->attrs[NL80211_ATTR_IFINDEX]); ifindex 2889 net/wireless/nl80211.c netdev = __dev_get_by_index(genl_info_net(info), ifindex); ifindex 3201 net/wireless/nl80211.c (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 3802 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 5078 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 6111 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 6574 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 8629 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev->netdev->ifindex)) ifindex 8809 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex)) ifindex 9669 net/wireless/nl80211.c wdev->netdev->ifindex)) ifindex 12658 net/wireless/nl80211.c wdev->netdev->ifindex)) || ifindex 12740 net/wireless/nl80211.c wdev->netdev->ifindex)) || ifindex 13692 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex)) ifindex 14878 net/wireless/nl80211.c wdev->netdev->ifindex)) || ifindex 14906 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, req->dev->ifindex) || ifindex 15087 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15191 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15243 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15302 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15349 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15381 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15417 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15456 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 15494 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 15589 net/wireless/nl80211.c wdev->netdev->ifindex)) || ifindex 15726 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 15765 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 15841 net/wireless/nl80211.c netdev->ifindex)) || ifindex 15884 net/wireless/nl80211.c netdev->ifindex)) || ifindex 15933 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 15988 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex)) ifindex 16151 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 16207 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex)) ifindex 16264 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex)) ifindex 16350 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 16397 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex)) ifindex 16450 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 16602 net/wireless/nl80211.c wdev->netdev->ifindex)) ifindex 16712 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 16818 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 16893 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, wdev->netdev->ifindex) || ifindex 16928 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, dev->ifindex) || ifindex 16968 net/wireless/nl80211.c nla_put_u32(msg, NL80211_ATTR_IFINDEX, netdev->ifindex) || ifindex 2097 net/wireless/scan.c cfg80211_get_dev_from_ifindex(struct net *net, int ifindex) ifindex 2104 net/wireless/scan.c dev = dev_get_by_index(net, ifindex); ifindex 2132 net/wireless/scan.c rdev = cfg80211_get_dev_from_ifindex(dev_net(dev), dev->ifindex); ifindex 2600 net/wireless/scan.c rdev = cfg80211_get_dev_from_ifindex(dev_net(dev), dev->ifindex); ifindex 38 net/wireless/trace.h __field(int, ifindex) ifindex 42 net/wireless/trace.h (__entry->ifindex) = (netdev->ifindex); \ ifindex 45 net/wireless/trace.h #define NETDEV_PR_ARG __entry->name, __entry->ifindex ifindex 432 net/wireless/wext-core.c r->ifi_index = dev->ifindex; ifindex 21 net/xdp/xsk_diag.c di.ifindex = xs->dev ? xs->dev->ifindex : 0; ifindex 61 net/xdp/xsk_diag.c du.ifindex = umem->dev ? umem->dev->ifindex : 0; ifindex 207 net/xfrm/xfrm_device.c dev = dev_get_by_index(net, xuo->ifindex); ifindex 78 net/xfrm/xfrm_interface.c int ifindex = 0; ifindex 85 net/xfrm/xfrm_interface.c ifindex = inet6_sdif(skb); ifindex 88 net/xfrm/xfrm_interface.c ifindex = inet_sdif(skb); ifindex 91 net/xfrm/xfrm_interface.c if (!ifindex) ifindex 92 net/xfrm/xfrm_interface.c ifindex = skb->dev->ifindex; ifindex 97 net/xfrm/xfrm_interface.c if (ifindex == xi->dev->ifindex && ifindex 354 net/xfrm/xfrm_interface.c fl.u.ip6.flowi6_oif = dev->ifindex; ifindex 371 net/xfrm/xfrm_interface.c fl.u.ip4.flowi4_oif = dev->ifindex; ifindex 505 net/xfrm/xfrm_interface.c ip6_redirect(skb, net, skb->dev->ifindex, 0, ifindex 203 net/xfrm/xfrm_policy.c (fl4->flowi4_oif == sel->ifindex || !sel->ifindex); ifindex 216 net/xfrm/xfrm_policy.c (fl6->flowi6_oif == sel->ifindex || !sel->ifindex); ifindex 3272 net/xfrm/xfrm_policy.c oif = skb_dst(skb)->dev->ifindex; ifindex 3390 net/xfrm/xfrm_policy.c oif = skb_dst(skb)->dev->ifindex; ifindex 866 net/xfrm/xfrm_state.c sel->ifindex = fl4->flowi4_oif; ifindex 885 net/xfrm/xfrm_state.c sel->ifindex = fl6->flowi6_oif; ifindex 845 net/xfrm/xfrm_user.c xuo->ifindex = xso->dev->ifindex; ifindex 57 samples/bpf/bpf_load.h int bpf_set_link_xdp_fd(int ifindex, int fd, __u32 flags); ifindex 74 samples/bpf/hbm_edt_kern.c if (qsp != NULL && !qsp->loopback && (skb->ifindex == 1)) ifindex 76 samples/bpf/hbm_out_kern.c if (qsp != NULL && !qsp->loopback && (skb->ifindex == 1)) ifindex 65 samples/bpf/tc_l2_redirect_kern.c int key = 0, *ifindex; ifindex 72 samples/bpf/tc_l2_redirect_kern.c ifindex = bpf_map_lookup_elem(&tun_iface, &key); ifindex 73 samples/bpf/tc_l2_redirect_kern.c if (!ifindex) ifindex 86 samples/bpf/tc_l2_redirect_kern.c bpf_trace_printk(fmt4, sizeof(fmt4), *ifindex, ifindex 88 samples/bpf/tc_l2_redirect_kern.c return bpf_redirect(*ifindex, BPF_F_INGRESS); ifindex 100 samples/bpf/tc_l2_redirect_kern.c bpf_trace_printk(fmt6, sizeof(fmt6), *ifindex, ifindex 103 samples/bpf/tc_l2_redirect_kern.c return bpf_redirect(*ifindex, BPF_F_INGRESS); ifindex 116 samples/bpf/tc_l2_redirect_kern.c int key = 0, *ifindex; ifindex 123 samples/bpf/tc_l2_redirect_kern.c ifindex = bpf_map_lookup_elem(&tun_iface, &key); ifindex 124 samples/bpf/tc_l2_redirect_kern.c if (!ifindex) ifindex 138 samples/bpf/tc_l2_redirect_kern.c bpf_trace_printk(fmt4, sizeof(fmt4), _htonl(daddr), *ifindex); ifindex 147 samples/bpf/tc_l2_redirect_kern.c return bpf_redirect(*ifindex, 0); ifindex 157 samples/bpf/tc_l2_redirect_kern.c int key = 0, *ifindex; ifindex 162 samples/bpf/tc_l2_redirect_kern.c ifindex = bpf_map_lookup_elem(&tun_iface, &key); ifindex 163 samples/bpf/tc_l2_redirect_kern.c if (!ifindex) ifindex 177 samples/bpf/tc_l2_redirect_kern.c *ifindex); ifindex 189 samples/bpf/tc_l2_redirect_kern.c _htonl(ip6h->daddr.s6_addr32[0]), *ifindex); ifindex 202 samples/bpf/tc_l2_redirect_kern.c return bpf_redirect(*ifindex, 0); ifindex 26 samples/bpf/tc_l2_redirect_user.c int ifindex = -1; ifindex 39 samples/bpf/tc_l2_redirect_user.c ifindex = atoi(optarg); ifindex 47 samples/bpf/tc_l2_redirect_user.c if (ifindex < 0 || !pinned_file) { ifindex 60 samples/bpf/tc_l2_redirect_user.c ret = bpf_map_update_elem(array_fd, &array_key, &ifindex, 0); ifindex 71 samples/bpf/tcbpf1_kern.c return bpf_redirect(skb->ifindex + 1, 0); ifindex 76 samples/bpf/tcbpf1_kern.c return bpf_redirect(skb->ifindex + 1, 1); ifindex 81 samples/bpf/tcbpf1_kern.c bpf_clone_redirect(skb, skb->ifindex + 1, 0); ifindex 87 samples/bpf/tcbpf1_kern.c bpf_clone_redirect(skb, skb->ifindex + 1, 1); ifindex 50 samples/bpf/test_lwt_bpf.c skb->ingress_ifindex, skb->ifindex); ifindex 171 samples/bpf/test_lwt_bpf.c int ret, ifindex = DST_IFINDEX; ifindex 189 samples/bpf/test_lwt_bpf.c return bpf_redirect(ifindex, 0); ifindex 201 samples/bpf/test_lwt_bpf.c int ret, ifindex = DST_IFINDEX; ifindex 205 samples/bpf/test_lwt_bpf.c printk("redirected to %d\n", ifindex); ifindex 239 samples/bpf/test_lwt_bpf.c int ifindex = DST_IFINDEX; ifindex 241 samples/bpf/test_lwt_bpf.c printk("redirected to %d\n", ifindex); ifindex 242 samples/bpf/test_lwt_bpf.c return bpf_redirect(ifindex, 0); ifindex 21 samples/bpf/xdp1_user.c static int ifindex; ifindex 29 samples/bpf/xdp1_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { ifindex 34 samples/bpf/xdp1_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); ifindex 122 samples/bpf/xdp1_user.c ifindex = if_nametoindex(argv[optind]); ifindex 123 samples/bpf/xdp1_user.c if (!ifindex) { ifindex 149 samples/bpf/xdp1_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { ifindex 27 samples/bpf/xdp_adjust_tail_user.c static int ifindex = -1; ifindex 35 samples/bpf/xdp_adjust_tail_user.c if (ifindex > -1) { ifindex 36 samples/bpf/xdp_adjust_tail_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { ifindex 41 samples/bpf/xdp_adjust_tail_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); ifindex 106 samples/bpf/xdp_adjust_tail_user.c ifindex = if_nametoindex(optarg); ifindex 107 samples/bpf/xdp_adjust_tail_user.c if (!ifindex) ifindex 108 samples/bpf/xdp_adjust_tail_user.c ifindex = atoi(optarg); ifindex 142 samples/bpf/xdp_adjust_tail_user.c if (!ifindex) { ifindex 168 samples/bpf/xdp_adjust_tail_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { ifindex 102 samples/bpf/xdp_fwd_kern.c fib_params.ifindex = ctx->ingress_ifindex; ifindex 130 samples/bpf/xdp_fwd_kern.c if (!bpf_map_lookup_elem(&xdp_tx_ports, &fib_params.ifindex)) ifindex 140 samples/bpf/xdp_fwd_kern.c return bpf_redirect_map(&xdp_tx_ports, fib_params.ifindex, 0); ifindex 32 samples/bpf/xdp_monitor_kern.c int ifindex; // offset:16 size:4; signed:1; ifindex 102 samples/bpf/xdp_monitor_kern.c int ifindex; // offset:16; size:4; signed:1; ifindex 579 samples/bpf/xdp_redirect_cpu_kern.c int ifindex; // offset:16 size:4; signed:1; ifindex 634 samples/bpf/xdp_redirect_cpu_kern.c int ifindex; // offset:16; size:4; signed:1; ifindex 37 samples/bpf/xdp_redirect_cpu_user.c static int ifindex = -1; ifindex 83 samples/bpf/xdp_redirect_cpu_user.c if (ifindex > -1) { ifindex 84 samples/bpf/xdp_redirect_cpu_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { ifindex 91 samples/bpf/xdp_redirect_cpu_user.c ifindex, ifname); ifindex 92 samples/bpf/xdp_redirect_cpu_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); ifindex 733 samples/bpf/xdp_redirect_cpu_user.c ifindex = if_nametoindex(ifname); ifindex 734 samples/bpf/xdp_redirect_cpu_user.c if (ifindex == 0) { ifindex 783 samples/bpf/xdp_redirect_cpu_user.c if (ifindex == -1) { ifindex 812 samples/bpf/xdp_redirect_cpu_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { ifindex 62 samples/bpf/xdp_redirect_kern.c int *ifindex, port = 0; ifindex 71 samples/bpf/xdp_redirect_kern.c ifindex = bpf_map_lookup_elem(&tx_port, &port); ifindex 72 samples/bpf/xdp_redirect_kern.c if (!ifindex) ifindex 80 samples/bpf/xdp_redirect_kern.c return bpf_redirect(*ifindex, 0); ifindex 63 samples/bpf/xdp_redirect_map_user.c static void poll_stats(int interval, int ifindex) ifindex 81 samples/bpf/xdp_redirect_map_user.c ifindex, sum / interval); ifindex 63 samples/bpf/xdp_redirect_user.c static void poll_stats(int interval, int ifindex) ifindex 81 samples/bpf/xdp_redirect_user.c ifindex, sum / interval); ifindex 22 samples/bpf/xdp_router_ipv4_kern.c int ifindex; ifindex 40 samples/bpf/xdp_router_ipv4_kern.c int ifindex; ifindex 150 samples/bpf/xdp_router_ipv4_kern.c forward_to = direct_entry->ifindex; ifindex 171 samples/bpf/xdp_router_ipv4_kern.c forward_to = prefix_value->ifindex; ifindex 144 samples/bpf/xdp_router_ipv4_user.c int ifindex; ifindex 206 samples/bpf/xdp_router_ipv4_user.c int ifindex; ifindex 217 samples/bpf/xdp_router_ipv4_user.c direct_entry.ifindex = route.iface; ifindex 250 samples/bpf/xdp_router_ipv4_user.c prefix_value->ifindex = route.iface; ifindex 292 samples/bpf/xdp_router_ipv4_user.c prefix_value->ifindex = route.iface; ifindex 390 samples/bpf/xdp_router_ipv4_user.c int ifindex; ifindex 18 samples/bpf/xdp_rxq_info_kern.c int ifindex; ifindex 100 samples/bpf/xdp_rxq_info_kern.c if (ingress_ifindex != config->ifindex) { ifindex 29 samples/bpf/xdp_rxq_info_user.c static int ifindex = -1; ifindex 64 samples/bpf/xdp_rxq_info_user.c if (ifindex > -1) { ifindex 65 samples/bpf/xdp_rxq_info_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { ifindex 72 samples/bpf/xdp_rxq_info_user.c ifindex, ifname); ifindex 73 samples/bpf/xdp_rxq_info_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); ifindex 85 samples/bpf/xdp_rxq_info_user.c int ifindex; ifindex 355 samples/bpf/xdp_rxq_info_user.c ifname, ifindex, action2str(action), options2str(cfg_opt)); ifindex 517 samples/bpf/xdp_rxq_info_user.c ifindex = if_nametoindex(ifname); ifindex 518 samples/bpf/xdp_rxq_info_user.c if (ifindex == 0) { ifindex 555 samples/bpf/xdp_rxq_info_user.c if (ifindex == -1) { ifindex 560 samples/bpf/xdp_rxq_info_user.c cfg.ifindex = ifindex; ifindex 594 samples/bpf/xdp_rxq_info_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { ifindex 25 samples/bpf/xdp_tx_iptunnel_user.c static int ifindex = -1; ifindex 34 samples/bpf/xdp_tx_iptunnel_user.c if (ifindex > -1) { ifindex 35 samples/bpf/xdp_tx_iptunnel_user.c if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { ifindex 40 samples/bpf/xdp_tx_iptunnel_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); ifindex 185 samples/bpf/xdp_tx_iptunnel_user.c ifindex = if_nametoindex(optarg); ifindex 186 samples/bpf/xdp_tx_iptunnel_user.c if (!ifindex) ifindex 187 samples/bpf/xdp_tx_iptunnel_user.c ifindex = atoi(optarg); ifindex 259 samples/bpf/xdp_tx_iptunnel_user.c if (!ifindex) { ifindex 294 samples/bpf/xdp_tx_iptunnel_user.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { ifindex 308 samples/bpf/xdp_tx_iptunnel_user.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); ifindex 4933 security/selinux/hooks.c static int selinux_inet_sys_rcv_skb(struct net *ns, int ifindex, ifindex 4941 security/selinux/hooks.c err = sel_netif_sid(ns, ifindex, &if_sid); ifindex 5609 security/selinux/hooks.c ad.u.net->netif = indev->ifindex; ifindex 5615 security/selinux/hooks.c err = selinux_inet_sys_rcv_skb(dev_net(indev), indev->ifindex, ifindex 5715 security/selinux/hooks.c int ifindex, ifindex 5731 security/selinux/hooks.c ad.u.net->netif = ifindex; ifindex 5754 security/selinux/hooks.c int ifindex = outdev->ifindex; ifindex 5767 security/selinux/hooks.c return selinux_ip_postroute_compat(skb, ifindex, family); ifindex 5855 security/selinux/hooks.c ad.u.net->netif = ifindex; ifindex 5870 security/selinux/hooks.c if (sel_netif_sid(dev_net(outdev), ifindex, &if_sid)) ifindex 21 security/selinux/include/netif.h int sel_netif_sid(struct net *ns, int ifindex, u32 *sid); ifindex 86 security/selinux/include/objsec.h int ifindex; /* device index */ ifindex 53 security/selinux/netif.c static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) ifindex 55 security/selinux/netif.c return (((uintptr_t)ns + ifindex) & (SEL_NETIF_HASH_SIZE - 1)); ifindex 69 security/selinux/netif.c int ifindex) ifindex 71 security/selinux/netif.c int idx = sel_netif_hashfn(ns, ifindex); ifindex 76 security/selinux/netif.c netif->nsec.ifindex == ifindex) ifindex 98 security/selinux/netif.c idx = sel_netif_hashfn(netif->nsec.ns, netif->nsec.ifindex); ifindex 133 security/selinux/netif.c static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) ifindex 143 security/selinux/netif.c dev = dev_get_by_index(ns, ifindex); ifindex 146 security/selinux/netif.c __func__, ifindex); ifindex 151 security/selinux/netif.c netif = sel_netif_find(ns, ifindex); ifindex 163 security/selinux/netif.c new->nsec.ifindex = ifindex; ifindex 174 security/selinux/netif.c __func__, ifindex); ifindex 192 security/selinux/netif.c int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) ifindex 197 security/selinux/netif.c netif = sel_netif_find(ns, ifindex); ifindex 205 security/selinux/netif.c return sel_netif_sid_slow(ns, ifindex, sid); ifindex 218 security/selinux/netif.c static void sel_netif_kill(const struct net *ns, int ifindex) ifindex 224 security/selinux/netif.c netif = sel_netif_find(ns, ifindex); ifindex 256 security/selinux/netif.c sel_netif_kill(dev_net(dev), dev->ifindex); ifindex 457 tools/bpf/bpftool/common.c ifindex_to_name_ns(__u32 ifindex, __u32 ns_dev, __u32 ns_ino, char *buf) ifindex 471 tools/bpf/bpftool/common.c return if_indextoname(ifindex, buf); ifindex 513 tools/bpf/bpftool/common.c ifindex_to_bfd_params(__u32 ifindex, __u64 ns_dev, __u64 ns_ino, ifindex 520 tools/bpf/bpftool/common.c if (!ifindex_to_name_ns(ifindex, ns_dev, ns_ino, devname)) { ifindex 521 tools/bpf/bpftool/common.c p_err("Can't get net device name for ifindex %d: %s", ifindex, ifindex 548 tools/bpf/bpftool/common.c void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) ifindex 552 tools/bpf/bpftool/common.c if (!ifindex) ifindex 556 tools/bpf/bpftool/common.c if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) ifindex 560 tools/bpf/bpftool/common.c ifindex, ns_dev, ns_inode); ifindex 563 tools/bpf/bpftool/common.c void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) ifindex 567 tools/bpf/bpftool/common.c if (!ifindex) ifindex 572 tools/bpf/bpftool/common.c jsonw_uint_field(json_wtr, "ifindex", ifindex); ifindex 575 tools/bpf/bpftool/common.c if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) ifindex 462 tools/bpf/bpftool/feature.c const char *define_prefix, __u32 ifindex) ifindex 469 tools/bpf/bpftool/feature.c if (ifindex) ifindex 479 tools/bpf/bpftool/feature.c res = bpf_probe_prog_type(prog_type, ifindex); ifindex 499 tools/bpf/bpftool/feature.c __u32 ifindex) ifindex 506 tools/bpf/bpftool/feature.c res = bpf_probe_map_type(map_type, ifindex); ifindex 524 tools/bpf/bpftool/feature.c const char *define_prefix, __u32 ifindex) ifindex 531 tools/bpf/bpftool/feature.c if (ifindex) ifindex 554 tools/bpf/bpftool/feature.c res = bpf_probe_helper(id, prog_type, ifindex); ifindex 580 tools/bpf/bpftool/feature.c __u32 ifindex = 0; ifindex 605 tools/bpf/bpftool/feature.c if (target != COMPONENT_UNSPEC || ifindex) { ifindex 614 tools/bpf/bpftool/feature.c ifindex = if_nametoindex(ifname); ifindex 615 tools/bpf/bpftool/feature.c if (!ifindex) { ifindex 693 tools/bpf/bpftool/feature.c probe_prog_type(i, supported_types, define_prefix, ifindex); ifindex 701 tools/bpf/bpftool/feature.c probe_map_type(i, define_prefix, ifindex); ifindex 725 tools/bpf/bpftool/feature.c define_prefix, ifindex); ifindex 129 tools/bpf/bpftool/main.h void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode); ifindex 130 tools/bpf/bpftool/main.h void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode); ifindex 195 tools/bpf/bpftool/main.h ifindex_to_bfd_params(__u32 ifindex, __u64 ns_dev, __u64 ns_ino, ifindex 227 tools/bpf/bpftool/main.h const char *devname, int ifindex); ifindex 505 tools/bpf/bpftool/map.c print_dev_json(info->ifindex, info->netns_dev, info->netns_ino); ifindex 582 tools/bpf/bpftool/map.c print_dev_plain(info->ifindex, info->netns_dev, info->netns_ino); ifindex 26 tools/bpf/bpftool/net.c int ifindex; ifindex 51 tools/bpf/bpftool/net.c int ifindex; ifindex 104 tools/bpf/bpftool/net.c netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; ifindex 155 tools/bpf/bpftool/net.c filter_info->devname, filter_info->ifindex); ifindex 170 tools/bpf/bpftool/net.c ret = libbpf_nl_get_class(sock, nl_pid, dev->ifindex, ifindex 176 tools/bpf/bpftool/net.c ret = libbpf_nl_get_qdisc(sock, nl_pid, dev->ifindex, ifindex 182 tools/bpf/bpftool/net.c filter_info.ifindex = dev->ifindex; ifindex 185 tools/bpf/bpftool/net.c ret = libbpf_nl_get_filter(sock, nl_pid, dev->ifindex, ifindex 195 tools/bpf/bpftool/net.c ret = libbpf_nl_get_filter(sock, nl_pid, dev->ifindex, handle, ifindex 202 tools/bpf/bpftool/net.c ret = libbpf_nl_get_filter(sock, nl_pid, dev->ifindex, handle, ifindex 209 tools/bpf/bpftool/net.c ret = libbpf_nl_get_filter(sock, nl_pid, dev->ifindex, handle, ifindex 257 tools/bpf/bpftool/net.c int ifindex; ifindex 262 tools/bpf/bpftool/net.c ifindex = if_nametoindex(**argv); ifindex 263 tools/bpf/bpftool/net.c if (!ifindex) ifindex 272 tools/bpf/bpftool/net.c return ifindex; ifindex 276 tools/bpf/bpftool/net.c int ifindex, bool overwrite) ifindex 289 tools/bpf/bpftool/net.c return bpf_set_link_xdp_fd(ifindex, progfd, flags); ifindex 295 tools/bpf/bpftool/net.c int progfd, ifindex, err = 0; ifindex 313 tools/bpf/bpftool/net.c ifindex = net_parse_dev(&argc, &argv); ifindex 314 tools/bpf/bpftool/net.c if (ifindex < 1) { ifindex 331 tools/bpf/bpftool/net.c err = do_attach_detach_xdp(progfd, attach_type, ifindex, ifindex 349 tools/bpf/bpftool/net.c int progfd, ifindex, err = 0; ifindex 362 tools/bpf/bpftool/net.c ifindex = net_parse_dev(&argc, &argv); ifindex 363 tools/bpf/bpftool/net.c if (ifindex < 1) ifindex 369 tools/bpf/bpftool/net.c err = do_attach_detach_xdp(progfd, attach_type, ifindex, NULL); ifindex 29 tools/bpf/bpftool/netlink_dumper.c static int do_xdp_dump_one(struct nlattr *attr, unsigned int ifindex, ifindex 48 tools/bpf/bpftool/netlink_dumper.c NET_DUMP_UINT("ifindex", "(%d)", ifindex); ifindex 162 tools/bpf/bpftool/netlink_dumper.c const char *devname, int ifindex) ifindex 171 tools/bpf/bpftool/netlink_dumper.c NET_DUMP_UINT("ifindex", "(%u)", ifindex); ifindex 223 tools/bpf/bpftool/prog.c print_dev_json(info->ifindex, info->netns_dev, info->netns_ino); ifindex 286 tools/bpf/bpftool/prog.c print_dev_plain(info->ifindex, info->netns_dev, info->netns_ino); ifindex 545 tools/bpf/bpftool/prog.c if (info->ifindex) { ifindex 546 tools/bpf/bpftool/prog.c name = ifindex_to_bfd_params(info->ifindex, ifindex 1107 tools/bpf/bpftool/prog.c __u32 ifindex = 0; ifindex 1197 tools/bpf/bpftool/prog.c if (ifindex) { ifindex 1204 tools/bpf/bpftool/prog.c ifindex = if_nametoindex(*argv); ifindex 1205 tools/bpf/bpftool/prog.c if (!ifindex) { ifindex 1245 tools/bpf/bpftool/prog.c bpf_program__set_ifindex(pos, ifindex); ifindex 1282 tools/bpf/bpftool/prog.c bpf_map__set_ifindex(map, ifindex); ifindex 2983 tools/include/uapi/linux/bpf.h __u32 ifindex; ifindex 3232 tools/include/uapi/linux/bpf.h __u32 ifindex; ifindex 3265 tools/include/uapi/linux/bpf.h __u32 ifindex; ifindex 3507 tools/include/uapi/linux/bpf.h __u32 ifindex; ifindex 905 tools/include/uapi/linux/if_link.h __u32 ifindex; ifindex 4347 tools/lib/bpf/libbpf.c void bpf_program__set_ifindex(struct bpf_program *prog, __u32 ifindex) ifindex 4349 tools/lib/bpf/libbpf.c prog->prog_ifindex = ifindex; ifindex 4706 tools/lib/bpf/libbpf.c void bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex) ifindex 4708 tools/lib/bpf/libbpf.c map->map_ifindex = ifindex; ifindex 4841 tools/lib/bpf/libbpf.c prog->prog_ifindex = attr->ifindex; ifindex 4864 tools/lib/bpf/libbpf.c map->map_ifindex = attr->ifindex; ifindex 151 tools/lib/bpf/libbpf.h __u32 ifindex); ifindex 337 tools/lib/bpf/libbpf.h LIBBPF_API void bpf_map__set_ifindex(struct bpf_map *map, __u32 ifindex); ifindex 349 tools/lib/bpf/libbpf.h int ifindex; ifindex 359 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_set_link_xdp_fd(int ifindex, int fd, __u32 flags); ifindex 360 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags); ifindex 25 tools/lib/bpf/libbpf_probes.c static int get_vendor_id(int ifindex) ifindex 31 tools/lib/bpf/libbpf_probes.c if (!if_indextoname(ifindex, ifname)) ifindex 69 tools/lib/bpf/libbpf_probes.c size_t insns_cnt, char *buf, size_t buf_len, __u32 ifindex) ifindex 113 tools/lib/bpf/libbpf_probes.c xattr.prog_ifindex = ifindex; ifindex 120 tools/lib/bpf/libbpf_probes.c bool bpf_probe_prog_type(enum bpf_prog_type prog_type, __u32 ifindex) ifindex 127 tools/lib/bpf/libbpf_probes.c if (ifindex && prog_type == BPF_PROG_TYPE_SCHED_CLS) ifindex 132 tools/lib/bpf/libbpf_probes.c probe_load(prog_type, insns, ARRAY_SIZE(insns), NULL, 0, ifindex); ifindex 193 tools/lib/bpf/libbpf_probes.c bool bpf_probe_map_type(enum bpf_map_type map_type, __u32 ifindex) ifindex 262 tools/lib/bpf/libbpf_probes.c if (ifindex) ifindex 279 tools/lib/bpf/libbpf_probes.c attr.map_ifindex = ifindex; ifindex 297 tools/lib/bpf/libbpf_probes.c __u32 ifindex) ifindex 307 tools/lib/bpf/libbpf_probes.c ifindex); ifindex 310 tools/lib/bpf/libbpf_probes.c if (ifindex) { ifindex 311 tools/lib/bpf/libbpf_probes.c switch (get_vendor_id(ifindex)) { ifindex 25 tools/lib/bpf/netlink.c int ifindex; ifindex 131 tools/lib/bpf/netlink.c int bpf_set_link_xdp_fd(int ifindex, int fd, __u32 flags) ifindex 153 tools/lib/bpf/netlink.c req.ifinfo.ifi_index = ifindex; ifindex 227 tools/lib/bpf/netlink.c if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) ifindex 253 tools/lib/bpf/netlink.c int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags) ifindex 273 tools/lib/bpf/netlink.c xdp_id.ifindex = ifindex; ifindex 322 tools/lib/bpf/netlink.c int libbpf_nl_get_class(int sock, unsigned int nl_pid, int ifindex, ifindex 333 tools/lib/bpf/netlink.c .t.tcm_ifindex = ifindex, ifindex 361 tools/lib/bpf/netlink.c int libbpf_nl_get_qdisc(int sock, unsigned int nl_pid, int ifindex, ifindex 372 tools/lib/bpf/netlink.c .t.tcm_ifindex = ifindex, ifindex 400 tools/lib/bpf/netlink.c int libbpf_nl_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, ifindex 411 tools/lib/bpf/netlink.c .t.tcm_ifindex = ifindex, ifindex 63 tools/lib/bpf/xsk.c int ifindex; ifindex 72 tools/lib/bpf/xsk.c int ifindex; ifindex 383 tools/lib/bpf/xsk.c err = bpf_set_link_xdp_fd(xsk->ifindex, prog_fd, xsk->config.xdp_flags); ifindex 522 tools/lib/bpf/xsk.c err = bpf_get_link_xdp_id(xsk->ifindex, &prog_id, ifindex 594 tools/lib/bpf/xsk.c xsk->ifindex = if_nametoindex(ifname); ifindex 595 tools/lib/bpf/xsk.c if (!xsk->ifindex) { ifindex 671 tools/lib/bpf/xsk.c sxdp.sxdp_ifindex = xsk->ifindex; ifindex 58 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_clone_redirect)(void *ctx, int ifindex, int flags) = ifindex 60 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_redirect)(int ifindex, int flags) = ifindex 143 tools/testing/selftests/bpf/progs/test_l4lb.c __u32 ifindex; ifindex 343 tools/testing/selftests/bpf/progs/test_l4lb.c __u32 ifindex; ifindex 432 tools/testing/selftests/bpf/progs/test_l4lb.c ifindex = cval->ifindex; ifindex 439 tools/testing/selftests/bpf/progs/test_l4lb.c ifindex = cval->ifindex; ifindex 450 tools/testing/selftests/bpf/progs/test_l4lb.c return bpf_redirect(ifindex, 0); ifindex 139 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c __u32 ifindex; ifindex 343 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c __u32 ifindex; ifindex 432 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c ifindex = cval->ifindex; ifindex 439 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c ifindex = cval->ifindex; ifindex 450 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c return bpf_redirect(ifindex, 0); ifindex 129 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __u32 ifindex; ifindex 864 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, ifindex)), ifindex 875 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, ifindex)), ifindex 26 tools/testing/selftests/bpf/xdping.c static int ifindex; ifindex 31 tools/testing/selftests/bpf/xdping.c bpf_set_link_xdp_fd(ifindex, -1, xdp_flags); ifindex 120 tools/testing/selftests/bpf/xdping.c ifindex = if_nametoindex(ifname); ifindex 121 tools/testing/selftests/bpf/xdping.c if (!ifindex) { ifindex 206 tools/testing/selftests/bpf/xdping.c if (bpf_set_link_xdp_fd(ifindex, prog_fd, xdp_flags) < 0) { ifindex 76 tools/testing/selftests/net/nettest.c int ifindex; ifindex 317 tools/testing/selftests/net/nettest.c int ifindex = 0; ifindex 323 tools/testing/selftests/net/nettest.c ifindex = get_ifidx(name); ifindex 326 tools/testing/selftests/net/nettest.c *name ? name : "<none>", ifindex); ifindex 331 tools/testing/selftests/net/nettest.c if (args->expected_ifindex != ifindex) { ifindex 333 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); ifindex 338 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); ifindex 391 tools/testing/selftests/net/nettest.c static int set_unicast_if(int sd, int ifindex, int version) ifindex 397 tools/testing/selftests/net/nettest.c ifindex = htonl(ifindex); ifindex 403 tools/testing/selftests/net/nettest.c rc = setsockopt(sd, level, opt, &ifindex, sizeof(ifindex)); ifindex 410 tools/testing/selftests/net/nettest.c static int set_multicast_if(int sd, int ifindex) ifindex 412 tools/testing/selftests/net/nettest.c struct ip_mreqn mreq = { .imr_ifindex = ifindex }; ifindex 422 tools/testing/selftests/net/nettest.c static int set_membership(int sd, uint32_t grp, uint32_t addr, int ifindex) ifindex 428 tools/testing/selftests/net/nettest.c if (addr == htonl(INADDR_ANY) && !ifindex) { ifindex 435 tools/testing/selftests/net/nettest.c mreq.imr_ifindex = ifindex; ifindex 585 tools/testing/selftests/net/nettest.c int ifindex = 0; ifindex 598 tools/testing/selftests/net/nettest.c ifindex = pi->ipi_ifindex; ifindex 605 tools/testing/selftests/net/nettest.c ifindex = pi6->ipi6_ifindex; ifindex 609 tools/testing/selftests/net/nettest.c if (ifindex) { ifindex 611 tools/testing/selftests/net/nettest.c ifindex, buf); ifindex 613 tools/testing/selftests/net/nettest.c return ifindex; ifindex 638 tools/testing/selftests/net/nettest.c int ifindex, int version) ifindex 664 tools/testing/selftests/net/nettest.c pi->ipi_ifindex = ifindex; ifindex 676 tools/testing/selftests/net/nettest.c pi6->ipi6_ifindex = ifindex; ifindex 706 tools/testing/selftests/net/nettest.c } else if (args->ifindex && args->use_cmsg) { ifindex 707 tools/testing/selftests/net/nettest.c if (send_msg_cmsg(sd, addr, alen, args->ifindex, args->version)) ifindex 735 tools/testing/selftests/net/nettest.c int ifindex; ifindex 760 tools/testing/selftests/net/nettest.c ifindex = get_index_from_cmsg(&m); ifindex 762 tools/testing/selftests/net/nettest.c if (args->expected_ifindex != ifindex) { ifindex 764 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); ifindex 768 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); ifindex 787 tools/testing/selftests/net/nettest.c ifindex, AF_INET) < 0) ifindex 807 tools/testing/selftests/net/nettest.c s6->sin6_scope_id = ifindex; ifindex 1039 tools/testing/selftests/net/nettest.c set_multicast_if(sd, args->ifindex)) ifindex 1051 tools/testing/selftests/net/nettest.c args->local_addr.in.s_addr, args->ifindex)) ifindex 1132 tools/testing/selftests/net/nettest.c set_unicast_if(sd, args->ifindex, args->version)) ifindex 1307 tools/testing/selftests/net/nettest.c set_unicast_if(sd, args->ifindex, args->version)) ifindex 1653 tools/testing/selftests/net/nettest.c args.ifindex = get_ifidx(optarg); ifindex 1654 tools/testing/selftests/net/nettest.c if (args.ifindex < 0) { ifindex 1714 tools/testing/selftests/net/nettest.c if ((args.use_setsockopt || args.use_cmsg) && !args.ifindex) { ifindex 191 tools/testing/selftests/networking/timestamping/txtimestamp.c static void print_pktinfo(int family, int ifindex, void *saddr, void *daddr) ifindex 196 tools/testing/selftests/networking/timestamping/txtimestamp.c ifindex,