Searched refs:if_gettype (Results 1 – 19 of 19) sorted by relevance
144 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL)146 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL)148 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL)150 (if_gettype(_ifp) == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL)152 (if_gettype(_ifp) == IFT_L2VLAN ? \
616 int if_gettype(const if_t ifp);
4936 if_gettype(if_t ifp) in if_gettype() function
89 if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP) in ifnet_check_outgoing()92 if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP) in ifnet_check_outgoing()104 if (ifoff_lo_enabled && if_gettype(ifp) == IFT_LOOP) in ifnet_check_incoming()107 if (ifoff_other_enabled && if_gettype(ifp) != IFT_LOOP) in ifnet_check_incoming()
45 return (if_gettype(ifp) == IFT_L2VLAN); in is_vlan_dev()
275 if (if_gettype(rt_ifp) == IFT_ETHER) in t4_connect()277 else if (if_gettype(rt_ifp) == IFT_L2VLAN) { in t4_connect()283 } else if (if_gettype(rt_ifp) == IFT_IEEE8023ADLAG) in t4_connect()
373 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()
344 if (if_gettype(ifpo) == IFT_L2VLAN) in mlx5e_if_sa_newkey_onedir()427 if (if_gettype(vifp) == IFT_L2VLAN) { in mlx5_get_trunk_if()664 if (if_gettype(ifpo) == IFT_L2VLAN) in mlx5e_if_spd_install()726 if (if_gettype(ifneto) == IFT_L2VLAN) { in mlx5e_if_ipsec_hwassist()
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()
180 switch (if_gettype(ifp)) { in get_operstate()306 ifinfo->ifi_type = if_gettype(ifp); in dump_iface()431 if (attrs->ifi_type != 0 && attrs->ifi_type != if_gettype(ifp)) in match_iface()
1288 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_config_vlan()1358 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_unconfig_vlan()
1116 if (if_gettype(ifp) == IFT_LOOP) { in generic_netmap_attach()
1188 if (if_gettype(ifp) == IFT_LOOP) { in lomac_ifnet_create()
1023 if (if_gettype(ifp) == IFT_LOOP) in mls_ifnet_create()
1064 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()