Home
last modified time | relevance | path

Searched refs:if_type (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-14.2/sys/net/
H A Dif_lagg.c511 int if_type; in lagg_clone_create() local
522 if_type = IFT_ETHER; in lagg_clone_create()
525 if_type = IFT_INFINIBAND; in lagg_clone_create()
531 if_type = IFT_ETHER; in lagg_clone_create()
555 switch (if_type) { in lagg_clone_create()
589 switch (if_type) { in lagg_clone_create()
637 switch (ifp->if_type) { in lagg_clone_destroy()
732 int if_type; in lagg_port_create() local
762 if (ifp->if_type != IFT_ETHER && ifp->if_type != IFT_L2VLAN) in lagg_port_create()
847 ifp->if_type = if_type; in lagg_port_create()
[all …]
H A Dif_vlan.c797 if (ifp->if_type != IFT_L2VLAN) in vlan_trunkdev()
819 if (ifp->if_type != IFT_L2VLAN) in vlan_tag()
831 if (ifp->if_type != IFT_L2VLAN) in vlan_pcp()
847 if (ifp->if_type != IFT_L2VLAN) in vlan_cookie()
862 if (ifp->if_type != IFT_L2VLAN) in vlan_setcookie()
1191 ifp->if_type = IFT_L2VLAN; in vlan_clone_create()
1508 } while (p->if_type == IFT_L2VLAN); in vlan_output()
1582 switch (ifp->if_type) { in vlan_input()
1606 __func__, ifp->if_xname, ifp->if_type); in vlan_input()
1682 if (p->if_type != IFT_ETHER && in vlan_config()
[all …]
H A Ddebugnet.h89 ((ifp)->if_debugnet_methods != NULL && (ifp)->if_type == IFT_ETHER)
H A Dif_private.h72 uint8_t if_type; /* ethernet, tokenring, etc */ member
H A Dif_bridge.c785 ifp->if_type = IFT_BRIDGE; in bridge_clone_create()
793 ifp->if_type = IFT_BRIDGE; in bridge_clone_create()
1194 switch (ifs->if_type) { in bridge_delete_member()
1266 switch (ifs->if_type) { in bridge_ioctl_add()
1372 switch (ifs->if_type) { in bridge_ioctl_add()
1817 switch (ifs->if_type) { in bridge_ioctl_addspan()
2227 if (dst_if->if_type == IFT_GIF) in bridge_output()
2653 if ((iface)->if_type == IFT_GIF) \ in bridge_input()
H A Dif_ethersubr.c614 if (ifp->if_type == IFT_IEEE8023ADLAG) { in ether_input_internal()
1404 if (ifp->if_type == IFT_L2VLAN) in ether_do_pcp()
1436 if (V_soft_pad && p->if_type == IFT_ETHER) { in ether_8021q_frame()
H A Dif.c546 ifp->if_type = type; in if_alloc_domain()
893 sdl->sdl_type = ifp->if_type; in if_attach_internal()
906 if (ifp->if_type == IFT_ETHER) { in if_attach_internal()
1696 ifd->ifi_type = ifp->if_type; in if_data_copy()
2167 if ((ifp->if_type == IFT_ETHER || ifp->if_type == IFT_L2VLAN) && in do_link_state_change()
3897 switch (ifp->if_type) { in if_setlladdr()
4017 switch (ifp->if_type) { in if_gethwaddr()
5074 return (ifp->if_type); in if_gettype()
/freebsd-14.2/sys/dev/ocs_fc/
H A Dsli4.c1817 uint32_t if_type = sli4->if_type; in sli_cmd_common_create_cq() local
1825 switch (if_type) in sli_cmd_common_create_cq()
1868 switch (if_type) in sli_cmd_common_create_cq()
1917 if (if_type == SLI4_IF_TYPE_LANCER_G7) in sli_cmd_common_create_cq()
2541 switch (sli4->if_type) { in sli_cmd_common_get_port_name()
3388 switch (sli4->if_type) { in sli_fw_init()
3492 if (sli4->if_type == SLI4_IF_TYPE_LANCER_G7) in sli_queue_doorbell()
4111 sli4->if_type = sli_intf_if_type(sli_intf); in sli_setup()
4298 switch(sli4->if_type) { in sli_fw_reset()
4831 if (sli4->if_type == SLI4_IF_TYPE_LANCER_G7) in sli_cq_alloc_set()
[all …]
H A Docs_ioctl.c1077 uint32_t rev, if_type, family, i; in ocs_sysctl_init() local
1103 ocs_hw_get(&ocs->hw, OCS_HW_IF_TYPE, &if_type); in ocs_sysctl_init()
1109 rev, if_type, family); in ocs_sysctl_init()
H A Docs_ddump.c174 ocs_ddump_value(textbuf, "if_type", "%d", sli4->if_type); in ocs_ddump_sli()
415 switch(hw->sli.if_type) { in ocs_ddump_hw()
/freebsd-14.2/sys/netgraph/
H A Dng_ether.c416 if (ifp->if_type != IFT_ETHER && in ng_ether_ifnet_arrival_event()
417 ifp->if_type != IFT_L2VLAN && in ng_ether_ifnet_arrival_event()
418 ifp->if_type != IFT_BRIDGE) 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()
874 ifp->if_type == IFT_BRIDGE) in vnet_ng_ether_init()
H A Dng_gif.c561 if (ifp->if_type == IFT_GIF) in ng_gif_mod_event()
/freebsd-14.2/sys/netinet/
H A Dsctp_bsd_addr.c149 switch (ifn->if_type) { in sctp_is_desired_interface_type()
251 ifn->if_type, in sctp_init_ifns_for_vrf()
337 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname, in sctp_addr_change()
H A Dsctp_os_bsd.h202 …ro_nh->nh_ifa && (ro)->ro_nh->nh_ifa->ifa_ifp && (ro)->ro_nh->nh_ifa->ifa_ifp->if_type == IFT_LOOP)
353 …->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP)))
H A Dtcp_lro_hpts.c583 if (lc->ifp->if_type == IFT_IEEE8023ADLAG || in _tcp_lro_flush_tcphpts()
584 lc->ifp->if_type == IFT_INFINIBANDLAG) { in _tcp_lro_flush_tcphpts()
H A Din.c854 .sdl_type = ifa->ifa_ifp->if_type, in in_handle_prefix_route()
1555 if (!(nh->nh_flags & NHF_HOST) || nh->nh_ifp->if_type != IFT_ETHER || in in_lltable_rtcheck()
1780 sdl->sdl_type = ifp->if_type; in in_lltable_dump_entry()
H A Dtoecore.c498 if (ifp->if_type == IFT_L2VLAN) { in toe_l2_resolve()
/freebsd-14.2/usr.sbin/ndp/
H A Dndp.h18 bool valid_type(int if_type);
/freebsd-14.2/sbin/route/
H A Droute_netlink.c674 int if_type = link.ifi_type; in print_nlmsg_neigh() local
676 if ((if_type == IFT_ETHER || if_type == IFT_L2VLAN || if_type == IFT_BRIDGE) && in print_nlmsg_neigh()
687 .sdl_type = if_type, in print_nlmsg_neigh()
/freebsd-14.2/sys/net/route/
H A Droute_ifaddrs.c161 link_init_sdl(ifp, (struct sockaddr *)&null_sdl, ifp->if_type); in ifa_maintain_loopback_route()
/freebsd-14.2/sys/netinet6/
H A Dnd6.c211 gw.sdl_type = ifp->if_type; in nd6_lle_event()
304 if ((V_ip6_auto_linklocal && ifp->if_type != IFT_BRIDGE && in nd6_ifattach()
305 ifp->if_type != IFT_WIREGUARD) || (ifp->if_flags & IFF_LOOPBACK)) in nd6_ifattach()
316 (ifp->if_type != IFT_BRIDGE)) { in nd6_ifattach()
2267 switch (ifp->if_type) { in nd6_resolve()
2572 switch (ifp->if_type) { in nd6_need_cache()
H A Din6_ifattach.c271 switch (ifp->if_type) { in in6_get_hw_ifid()
683 switch (ifp->if_type) { in in6_ifattach()
H A Din6.c206 link_init_sdl(ifa->ifa_ifp, (struct sockaddr *)&gateway, ifa->ifa_ifp->if_type); in in6_newaddrmsg()
1189 .sdl_type = ifa->ifa_ifp->if_type, in in6_handle_dstaddr_rtrequest()
2145 switch (ifp->if_type) { in in6_if2idlen()
2174 printf("in6_if2idlen: unknown link type (%d)\n", ifp->if_type); in in6_if2idlen()
2521 sdl->sdl_type = ifp->if_type; in in6_lltable_dump_entry()
2597 switch (ifp->if_type) { in in6_domifattach()
H A Dnd6_nbr.c384 link_init_sdl(ifp, (struct sockaddr *)sdl, ifp->if_type); in nd6_proxy_fill_sdl()
1142 switch (ifp->if_type) { in nd6_ifptomac()
1529 switch (ifp->if_type) { in nd6_dad_duplicated()
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Ddriver_i.h972 enum wpa_driver_if_type if_type, in wpa_drv_get_pref_freq_list() argument
979 wpa_s, if_type, num, freq_list); in wpa_drv_get_pref_freq_list()
983 return wpa_s->driver->get_pref_freq_list(wpa_s->drv_priv, if_type, in wpa_drv_get_pref_freq_list()

12