Searched refs:if_getindex (Results 1 – 16 of 16) sorted by relevance
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_addr.c | 152 dev_addr->bound_dev_if = if_getindex(dev); in rdma_copy_addr() 168 dev_addr->bound_dev_if = if_getindex(dev); in rdma_copy_addr() 646 if (addr->bound_dev_if == if_getindex(dev)) in addr_resolve_neigh() 873 dev_addr.bound_dev_if = if_getindex(dev); in rdma_addr_find_l2_eth_by_grh()
|
H A D | ib_cma.c | 1451 if_getindex(net_dev)); in validate_ipv6_net_dev() 1464 src_tmp.sin6_scope_id = if_getindex(net_dev); in validate_ipv6_net_dev() 1467 dst_tmp.sin6_scope_id = if_getindex(net_dev); in validate_ipv6_net_dev() 1480 if_getindex(net_dev), NHR_NONE, 0); in validate_ipv6_net_dev() 1696 addr->dev_addr.bound_dev_if == if_getindex(net_dev)); in cma_match_net_dev() 2789 route->path_rec->ifindex = if_getindex(ndev); in cma_resolve_iboe_route()
|
H A D | ib_cm.c | 1820 work->path[0].ifindex = if_getindex(gid_attr.ndev); in cm_req_handler() 1834 work->path[0].ifindex = if_getindex(gid_attr.ndev); in cm_req_handler()
|
/freebsd/sys/netlink/route/ |
H A D | iface_drivers.c | 123 uint32_t ifindex = (uint32_t)if_getindex(ifp); in _nl_store_ifp_cookie()
|
H A D | nexthop.c | 455 nlattr_add_u32(nw, NHA_OIF, if_getindex(nh->nh_ifp)); in dump_nhop() 476 nlattr_add_u32(nw, NHAF_AIF, if_getindex(nh->nh_aifp)); in dump_nhop() 686 in6_set_unicast_scopeid(&sa6->sin6_addr, if_getindex(ifp)); in set_scope6() 810 in6_set_unicast_scopeid(&gw6->sin6_addr, if_getindex(ifp)); in nl_set_nexthop_gw() 909 NL_LOG(LOG_DEBUG, "IFINDEX %d", attrs.nha_oif ? if_getindex(attrs.nha_oif) : 0); in rtnl_handle_newnhop()
|
H A D | neigh.c | 158 ndm->ndm_ifindex = if_getindex(wa->ifp); in dump_lle_locked() 302 in6_set_unicast_scopeid(&sa6->sin6_addr, if_getindex(ifp)); in set_scope6()
|
H A D | rt.c | 201 rtnh->rtnh_ifindex = if_getindex(wn[i].nh->nh_ifp); in dump_rc_nhg() 256 nlattr_add_u32(nw, NL_RTA_OIF, if_getindex(nh->nh_ifp)); in dump_rc_nhop() 392 in6_set_unicast_scopeid(&sa6->sin6_addr, if_getindex(ifp)); in set_scope6()
|
H A D | iface.c | 305 ifinfo->ifi_index = if_getindex(ifp); in dump_iface() 423 if (attrs->ifi_index != 0 && attrs->ifi_index != if_getindex(ifp)) in match_iface() 973 ifamsg->ifa_index = if_getindex(ifp); in dump_iface_addr()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tom_l2t.c | 382 hash = l2_hash(d, sa, if_getindex(ifp)); in t4_l2t_get() 433 hash = l2_hash(d, sa, if_getindex(ifp)); in t4_l2_update()
|
/freebsd/sys/compat/linsysfs/ |
H A D | linsysfs_net.c | 143 error = sbuf_printf(sb, "%u\n", if_getindex(ifp)); in linsysfs_if_ifindex()
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 1325 if (if_getindex(vf_ifp) < hn_vfmap_size) in hn_xpnt_vf_input() 1326 hn_ifp = hn_vfmap[if_getindex(vf_ifp)]; in hn_xpnt_vf_input() 1885 if (if_getindex(ifp) >= hn_vfmap_size) { in hn_ifnet_attevent() 1889 newsize = if_getindex(ifp) + HN_VFMAP_SIZE_DEF; in hn_ifnet_attevent() 1899 KASSERT(hn_vfmap[if_getindex(ifp)] == NULL, in hn_ifnet_attevent() 1901 if_name(ifp), if_getindex(ifp), if_name(hn_vfmap[if_getindex(ifp)]))); in hn_ifnet_attevent() 1902 hn_vfmap[if_getindex(ifp)] = sc->hn_ifp; in hn_ifnet_attevent() 2013 KASSERT(if_getindex(ifp) < hn_vfmap_size, in hn_ifnet_detevent() 2014 ("ifindex %d, vfmapsize %d", if_getindex(ifp), hn_vfmap_size)); in hn_ifnet_detevent() 2015 if (hn_vfmap[if_getindex(ifp)] != NULL) { in hn_ifnet_detevent() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_mbuf.c | 1674 idx = if_getindex(m->m_pkthdr.rcvif); in m_rcvif_serialize() 1679 idx = if_getindex(m->m_pkthdr.leaf_rcvif); in m_rcvif_serialize()
|
/freebsd/sys/net/ |
H A D | if_var.h | 585 int if_getindex(const if_t ifp);
|
H A D | if.c | 4307 if_getindex(const if_t ifp) in if_getindex() function
|
/freebsd/sys/dev/irdma/ |
H A D | fbsd_kcompat.c | 479 dst_addr.sin6_scope_id = if_getindex(iwdev->netdev); in irdma_addr_resolve_neigh_ipv6()
|
/freebsd/sys/contrib/rdma/krping/ |
H A D | krping.c | 1991 retval = if_getindex(ifp); in krping_get_ipv6_scope_id()
|