| /freebsd-12.1/sys/net/ |
| H A D | if_vlan_var.h | 132 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL) 134 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL) 136 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL) 138 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL) 140 ((_ifp)->if_type == IFT_L2VLAN ? \
|
| H A D | if_vlan.c | 694 if (ifp->if_type != IFT_L2VLAN) in vlan_trunkdev() 718 if (ifp->if_type != IFT_L2VLAN) in vlan_tag() 730 if (ifp->if_type != IFT_L2VLAN) in vlan_pcp() 746 if (ifp->if_type != IFT_L2VLAN) in vlan_cookie() 761 if (ifp->if_type != IFT_L2VLAN) in vlan_setcookie() 1059 ifp->if_type = IFT_L2VLAN; in vlan_clone_create() 1209 switch (ifp->if_type) { in vlan_input() 1234 __func__, ifp->if_xname, ifp->if_type); in vlan_input() 1312 if (p->if_type != IFT_ETHER && in vlan_config()
|
| H A D | if_bridge.c | 660 ifp->if_type = IFT_BRIDGE; in bridge_clone_create() 702 ifp->if_type = IFT_BRIDGE; in bridge_clone_create() 1043 switch (ifs->if_type) { in bridge_delete_member() 1114 switch (ifs->if_type) { in bridge_ioctl_add() 1214 switch (ifs->if_type) { in bridge_ioctl_add() 1644 switch (ifs->if_type) { in bridge_ioctl_addspan() 2053 if (dst_if->if_type == IFT_GIF) in bridge_output() 2419 if ((iface)->if_type == IFT_GIF) \ in bridge_input() 2425 if ((iface)->if_type == IFT_BRIDGE) { \ in bridge_input()
|
| H A D | if_lagg.c | 661 if (ifp->if_type != IFT_ETHER && ifp->if_type != IFT_L2VLAN) in lagg_port_create() 734 lp->lp_iftype = ifp->if_type; in lagg_port_create() 735 ifp->if_type = IFT_IEEE8023ADLAG; in lagg_port_create() 835 ifp->if_type = lp->lp_iftype; in lagg_port_destroy() 904 if (ifp->if_type != IFT_IEEE8023ADLAG || in lagg_port_ioctl()
|
| H A D | if_ethersubr.c | 469 if (pcp != IFNET_PCP_NONE && ifp->if_type != IFT_L2VLAN && in ether_output_frame() 568 if (ifp->if_type == IFT_IEEE8023ADLAG) { in ether_input_internal() 1337 if (V_soft_pad && p->if_type == IFT_ETHER) { in ether_8021q_frame()
|
| H A D | if.c | 619 ifp->if_type = type; in if_alloc() 906 sdl->sdl_type = ifp->if_type; in if_attach_internal() 920 if (ifp->if_type == IFT_ETHER) { in if_attach_internal() 1789 ifd->ifi_type = ifp->if_type; in if_data_copy() 1978 link_init_sdl(ifp, (struct sockaddr *)&null_sdl, ifp->if_type); in ifa_maintain_loopback_route() 2434 if ((ifp->if_type == IFT_ETHER || ifp->if_type == IFT_L2VLAN) && in do_link_state_change() 3942 switch (ifp->if_type) { in if_setlladdr() 4068 switch (ifp->if_type) { in if_gethwaddr()
|
| H A D | if_tap.c | 760 if (ifp->if_type != tapp->type) in tapioctl() 783 tapp->type = ifp->if_type; in tapioctl()
|
| /freebsd-12.1/sys/security/mac_ifoff/ |
| H A D | mac_ifoff.c | 92 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP) in ifnet_check_outgoing() 95 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP) in ifnet_check_outgoing() 107 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP) in ifnet_check_incoming() 110 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP) in ifnet_check_incoming()
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux.h | 38 #define IFP_IS_ETH(ifp) (ifp->if_type == IFT_ETHER) 39 #define IFP_IS_LOOP(ifp) (ifp->if_type == IFT_LOOP)
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | sli4.c | 209 const sli4_reg_t *r = &(regmap[reg][sli->if_type]); in sli_reg_read() 231 const sli4_reg_t *r = &(regmap[reg][sli->if_type]); in sli_reg_write() 1729 uint32_t if_type = sli4->if_type; in sli_cmd_common_create_cq() local 1737 switch (if_type) in sli_cmd_common_create_cq() 1780 switch (if_type) in sli_cmd_common_create_cq() 2449 switch (sli4->if_type) { in sli_cmd_common_get_port_name() 3302 switch (sli4->if_type) { in sli_fw_init() 3356 if (sli4->if_type == SLI4_IF_TYPE_BE3_SKH_PF || in sli_fw_term() 3357 sli4->if_type == SLI4_IF_TYPE_BE3_SKH_VF) { in sli_fw_term() 4005 sli4->if_type = sli_intf_if_type(sli_intf); in sli_setup() [all …]
|
| H A D | ocs_ioctl.c | 1084 uint32_t rev, if_type, family, i; in ocs_sysctl_init() local 1110 ocs_hw_get(&ocs->hw, OCS_HW_IF_TYPE, &if_type); in ocs_sysctl_init() 1116 rev, if_type, family); in ocs_sysctl_init()
|
| H A D | ocs_ddump.c | 178 ocs_ddump_value(textbuf, "if_type", "%d", sli4->if_type); in ocs_ddump_sli() 421 switch(hw->sli.if_type) { in ocs_ddump_hw()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | sctp_bsd_addr.c | 154 switch (ifn->if_type) { in sctp_is_desired_interface_type() 258 ifn->if_type, in sctp_init_ifns_for_vrf() 344 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname, in sctp_addr_change()
|
| H A D | sctp_os_bsd.h | 205 …ro_rt->rt_ifa && (ro)->ro_rt->rt_ifa->ifa_ifp && (ro)->ro_rt->rt_ifa->ifa_ifp->if_type == IFT_LOOP) 362 …->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP)))
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | if_vlan.h | 47 return (ifp->if_type == IFT_L2VLAN); in is_vlan_dev()
|
| /freebsd-12.1/sys/dev/cxgbe/tom/ |
| H A D | t4_connect.c | 246 if (rt_ifp->if_type == IFT_ETHER) in t4_connect() 248 else if (rt_ifp->if_type == IFT_L2VLAN) { in t4_connect() 254 } else if (rt_ifp->if_type == IFT_IEEE8023ADLAG) in t4_connect()
|
| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_ether.c | 417 if (ifp->if_type != IFT_ETHER in ng_ether_ifnet_arrival_event() 418 && ifp->if_type != IFT_L2VLAN) in ng_ether_ifnet_arrival_event() 872 if (ifp->if_type == IFT_ETHER in vnet_ng_ether_init() 873 || ifp->if_type == IFT_L2VLAN) in vnet_ng_ether_init()
|
| H A D | ng_gif.c | 562 if (ifp->if_type == IFT_GIF) in ng_gif_mod_event()
|
| /freebsd-12.1/sys/ofed/include/rdma/ |
| H A D | ib_addr.h | 170 if (dev->if_type == IFT_ETHER && dev->if_pcp != IFNET_PCP_NONE) in rdma_vlan_dev_vlan_id() 357 if (dev->if_type == IFT_ETHER && dev->if_pcp != IFNET_PCP_NONE) in rdma_vlan_dev_real_dev()
|
| /freebsd-12.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_roce_gid_mgmt.c | 190 if (idev->if_type != IFT_L2VLAN) in roce_gid_update_addr_callback() 320 switch (ndev->if_type) { in roce_gid_queue_scan_event()
|
| H A D | ib_addr.c | 151 } else if (dev->if_type == IFT_INFINIBAND) in rdma_copy_addr() 153 else if (dev->if_type == IFT_ETHER) in rdma_copy_addr()
|
| /freebsd-12.1/sys/netinet6/ |
| H A D | in6_ifattach.c | 273 switch (ifp->if_type) { in in6_get_hw_ifid() 692 switch (ifp->if_type) { in in6_ifattach()
|
| H A D | nd6.c | 191 gw.sdl_type = ifp->if_type; in nd6_lle_event() 275 if ((V_ip6_auto_linklocal && ifp->if_type != IFT_BRIDGE) || in nd6_ifattach() 287 (ifp->if_type != IFT_BRIDGE)) in nd6_ifattach() 2262 switch (ifp->if_type) { in nd6_resolve() 2520 switch (ifp->if_type) { in nd6_need_cache()
|
| H A D | in6.c | 1992 switch (ifp->if_type) { in in6_if2idlen() 2021 printf("in6_if2idlen: unknown link type (%d)\n", ifp->if_type); in in6_if2idlen() 2385 sdl->sdl_type = ifp->if_type; in in6_lltable_dump_entry() 2441 switch (ifp->if_type) { in in6_domifattach()
|
| /freebsd-12.1/contrib/wpa/wpa_supplicant/ |
| H A D | driver_i.h | 935 enum wpa_driver_if_type if_type, in wpa_drv_get_pref_freq_list() argument 942 wpa_s, if_type, num, freq_list); in wpa_drv_get_pref_freq_list() 946 return wpa_s->driver->get_pref_freq_list(wpa_s->drv_priv, if_type, in wpa_drv_get_pref_freq_list()
|