Home
last modified time | relevance | path

Searched refs:if_gettype (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/net/
H A Dif_vlan_var.h149 (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 ? \
H A Dif_var.h579 int if_gettype(const if_t ifp);
H A Dif.c5072 if_gettype(if_t ifp) in if_gettype() function
/freebsd/sys/security/mac_ifoff/
H A Dmac_ifoff.c91 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()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dif_vlan.h45 return (if_gettype(ifp) == IFT_L2VLAN); in is_vlan_dev()
/freebsd/sys/compat/linux/
H A Dlinux.h363 #define IFP_IS_ETH(ifp) (if_gettype(ifp) == IFT_ETHER)
364 #define IFP_IS_LOOP(ifp) (if_gettype(ifp) == IFT_LOOP)
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_connect.c254 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()
H A Dt4_tom_l2t.c367 if (if_gettype(ifp) == IFT_L2VLAN) { in t4_l2t_get()
/freebsd/sys/ofed/include/rdma/
H A Dib_addr.h181 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()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_roce_gid_mgmt.c238 if (if_gettype(ifp) != IFT_L2VLAN) in roce_gid_update_addr_callback()
335 switch (if_gettype(ndev)) { in roce_gid_queue_scan_event()
H A Dib_addr.c144 int dev_type = if_gettype(dev); in rdma_copy_addr()
/freebsd/sys/netlink/route/
H A Diface.c178 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()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1292 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_config_vlan()
1362 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_unconfig_vlan()
/freebsd/sys/dev/netmap/
H A Dnetmap_generic.c1116 if (if_gettype(ifp) == IFT_LOOP) { in generic_netmap_attach()
/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c1189 if (if_gettype(ifp) == IFT_LOOP) { in lomac_ifnet_create()
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c1025 if (if_gettype(ifp) == IFT_LOOP) in mls_ifnet_create()
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c1065 if (if_gettype(ifp) == IFT_LOOP || interfaces_equal != 0) { in biba_ifnet_create()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c343 if (if_gettype(ifp) == IFT_L2VLAN) { in find_real_listen_ep()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c92 return if_gettype(ndev) == IFT_ETHER && in mlx5_netdev_match()