Searched refs:if_gettype (Results 1 – 19 of 19) sorted by relevance
149 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL)151 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL)153 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL)155 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL)157 (if_gettype(_ifp) == IFT_L2VLAN ? \
579 int if_gettype(const if_t ifp);
5072 if_gettype(if_t ifp) in if_gettype() function
91 if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP) in ifnet_check_outgoing()94 if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP) in ifnet_check_outgoing()106 if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP) in ifnet_check_incoming()109 if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP) in ifnet_check_incoming()
45 return (if_gettype(ifp) == IFT_L2VLAN); in is_vlan_dev()
363 #define IFP_IS_ETH(ifp) (if_gettype(ifp) == IFT_ETHER)364 #define IFP_IS_LOOP(ifp) (if_gettype(ifp) == IFT_LOOP)
254 if (if_gettype(rt_ifp) == IFT_ETHER) in t4_connect()256 else if (if_gettype(rt_ifp) == IFT_L2VLAN) { in t4_connect()262 } else if (if_gettype(rt_ifp) == IFT_IEEE8023ADLAG) in t4_connect()
367 if (if_gettype(ifp) == IFT_L2VLAN) { in t4_l2t_get()
181 if (if_gettype(dev) == IFT_ETHER && if_getpcp(dev) != IFNET_PCP_NONE) in rdma_vlan_dev_vlan_id()372 if (if_gettype(dev) != IFT_ETHER || if_getpcp(dev) == IFNET_PCP_NONE) in rdma_vlan_dev_real_dev()
238 if (if_gettype(ifp) != IFT_L2VLAN) in roce_gid_update_addr_callback()335 switch (if_gettype(ndev)) { in roce_gid_queue_scan_event()
144 int dev_type = if_gettype(dev); in rdma_copy_addr()
178 switch (if_gettype(ifp)) { in get_operstate()304 ifinfo->ifi_type = if_gettype(ifp); in dump_iface()423 if (attrs->ifi_type != 0 && attrs->ifi_index != if_gettype(ifp)) in match_iface()
1292 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_config_vlan()1362 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_unconfig_vlan()
1116 if (if_gettype(ifp) == IFT_LOOP) { in generic_netmap_attach()
1189 if (if_gettype(ifp) == IFT_LOOP) { in lomac_ifnet_create()
1025 if (if_gettype(ifp) == IFT_LOOP) in mls_ifnet_create()
1065 if (if_gettype(ifp) == IFT_LOOP || interfaces_equal != 0) { in biba_ifnet_create()
343 if (if_gettype(ifp) == IFT_L2VLAN) { in find_real_listen_ep()
92 return if_gettype(ndev) == IFT_ETHER && in mlx5_netdev_match()