Lines Matching refs:ifindex
408 uint32_t ifindex = *((const uint32_t *)NLA_DATA_CONST(nla)); in nlattr_get_ifp_internal() local
410 if (ifindex == 0 && zero_ok) { in nlattr_get_ifp_internal()
417 struct ifnet *ifp = ifnet_byindex(ifindex); in nlattr_get_ifp_internal()
420 nla->nla_type, ifindex); in nlattr_get_ifp_internal()
425 ifindex, if_name(ifp)); in nlattr_get_ifp_internal()
535 int ifindex = *((const int *)src); in nlf_get_ifp() local
539 struct ifnet *ifp = ifnet_byindex(ifindex); in nlf_get_ifp()
541 NL_LOG(LOG_DEBUG, "ifindex %u invalid", ifindex); in nlf_get_ifp()
552 int ifindex = *((const int *)src); in nlf_get_ifpz() local
556 struct ifnet *ifp = ifnet_byindex(ifindex); in nlf_get_ifpz()
557 if (ifindex != 0 && ifp == NULL) { in nlf_get_ifpz()
558 NL_LOG(LOG_DEBUG, "ifindex %u invalid", ifindex); in nlf_get_ifpz()