/freebsd/sys/net/ |
H A D | if_vlan_var.h | 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 ? \
|
H A D | if_var.h | 598 int if_gettype(const if_t ifp);
|
H A D | if.c | 5055 if_gettype(if_t ifp) in if_gettype() function
|
/freebsd/sys/security/mac_ifoff/ |
H A D | mac_ifoff.c | 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()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | if_vlan.h | 45 return (if_gettype(ifp) == IFT_L2VLAN); in is_vlan_dev()
|
/freebsd/sys/compat/linux/ |
H A D | linux.h | 365 #define IFP_IS_ETH(ifp) (if_gettype(ifp) == IFT_ETHER) 366 #define IFP_IS_LOOP(ifp) (if_gettype(ifp) == IFT_LOOP)
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_connect.c | 263 if (if_gettype(rt_ifp) == IFT_ETHER) in t4_connect() 265 else if (if_gettype(rt_ifp) == IFT_L2VLAN) { in t4_connect() 271 } else if (if_gettype(rt_ifp) == IFT_IEEE8023ADLAG) in t4_connect()
|
H A D | t4_tom_l2t.c | 373 if (if_gettype(ifp) == IFT_L2VLAN) { in t4_l2t_get()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_addr.h | 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()
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec.c | 344 if (if_gettype(ifpo) == IFT_L2VLAN) in mlx5e_if_sa_newkey_onedir() 422 if (if_gettype(vifp) == IFT_L2VLAN) { \ 661 if (if_gettype(ifpo) == IFT_L2VLAN) in mlx5e_if_spd_install() 723 if (if_gettype(ifneto) == IFT_L2VLAN) { in mlx5e_if_ipsec_hwassist()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_roce_gid_mgmt.c | 238 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 D | ib_addr.c | 144 int dev_type = if_gettype(dev); in rdma_copy_addr()
|
/freebsd/sys/netlink/route/ |
H A D | iface.c | 178 switch (if_gettype(ifp)) { in get_operstate() 304 ifinfo->ifi_type = if_gettype(ifp); in dump_iface() 425 if (attrs->ifi_type != 0 && attrs->ifi_index != if_gettype(ifp)) in match_iface()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1288 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_config_vlan() 1358 if (if_gettype(ifp) != IFT_INFINIBAND) in ipoib_unconfig_vlan()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_generic.c | 1116 if (if_gettype(ifp) == IFT_LOOP) { in generic_netmap_attach()
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 1188 if (if_gettype(ifp) == IFT_LOOP) { in lomac_ifnet_create()
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 1023 if (if_gettype(ifp) == IFT_LOOP) in mls_ifnet_create()
|
/freebsd/sys/security/mac_biba/ |
H A D | mac_biba.c | 1064 if (if_gettype(ifp) == IFT_LOOP || interfaces_equal != 0) { in biba_ifnet_create()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 343 if (if_gettype(ifp) == IFT_L2VLAN) { in find_real_listen_ep()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 92 return if_gettype(ndev) == IFT_ETHER && in mlx5_netdev_match()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 7065 if (if_gettype(ifp) == IFT_ETHER && ifa != NULL && in qlnx_set_rx_mode()
|