| /f-stack/tools/compat/include/net/ |
| H A D | if_vlan_var.h | 142 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL) 144 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL) 146 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL) 148 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL) 150 ((_ifp)->if_type == IFT_L2VLAN ? \
|
| /f-stack/freebsd/net/ |
| H A D | if_vlan_var.h | 142 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL) 144 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_vid)) : EINVAL) 146 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_pcp_p)((_ifp), (_pcp)) : EINVAL) 148 ((_ifp)->if_type == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL) 150 ((_ifp)->if_type == IFT_L2VLAN ? \
|
| H A D | if_lagg.c | 511 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() 559 switch (if_type) { in lagg_clone_create() 596 switch (if_type) { in lagg_clone_create() 643 switch (ifp->if_type) { in lagg_clone_destroy() 727 int if_type; in lagg_port_create() local 757 if (ifp->if_type != IFT_ETHER && ifp->if_type != IFT_L2VLAN) in lagg_port_create() 842 ifp->if_type = if_type; in lagg_port_create() [all …]
|
| H A D | if_vlan.c | 721 if (ifp->if_type != IFT_L2VLAN) in vlan_trunkdev() 743 if (ifp->if_type != IFT_L2VLAN) in vlan_tag() 755 if (ifp->if_type != IFT_L2VLAN) in vlan_pcp() 771 if (ifp->if_type != IFT_L2VLAN) in vlan_cookie() 786 if (ifp->if_type != IFT_L2VLAN) in vlan_setcookie() 1103 ifp->if_type = IFT_L2VLAN; in vlan_clone_create() 1257 } while (p->if_type == IFT_L2VLAN); in vlan_output() 1299 switch (ifp->if_type) { in vlan_input() 1323 __func__, ifp->if_xname, ifp->if_type); in vlan_input() 1399 if (p->if_type != IFT_ETHER && in vlan_config() [all …]
|
| H A D | debugnet.h | 91 ((ifp)->if_debugnet_methods != NULL && (ifp)->if_type == IFT_ETHER)
|
| H A D | if_bridge.c | 710 ifp->if_type = IFT_BRIDGE; in bridge_clone_create() 718 ifp->if_type = IFT_BRIDGE; in bridge_clone_create() 1093 switch (ifs->if_type) { in bridge_delete_member() 1165 switch (ifs->if_type) { in bridge_ioctl_add() 1259 switch (ifs->if_type) { in bridge_ioctl_add() 1692 switch (ifs->if_type) { in bridge_ioctl_addspan() 2101 if (dst_if->if_type == IFT_GIF) in bridge_output() 2455 if ((iface)->if_type == IFT_GIF) \ in bridge_input()
|
| H A D | if_ethersubr.c | 473 if (pcp != IFNET_PCP_NONE && ifp->if_type != IFT_L2VLAN && in ether_output_frame() 610 if (ifp->if_type == IFT_IEEE8023ADLAG) { in ether_input_internal() 1387 if (V_soft_pad && p->if_type == IFT_ETHER) { in ether_8021q_frame()
|
| H A D | if.c | 618 ifp->if_type = type; in if_alloc_domain() 923 sdl->sdl_type = ifp->if_type; in if_attach_internal() 936 if (ifp->if_type == IFT_ETHER) { in if_attach_internal() 1790 ifd->ifi_type = ifp->if_type; in if_data_copy() 2279 if ((ifp->if_type == IFT_ETHER || ifp->if_type == IFT_L2VLAN) && in do_link_state_change() 3802 switch (ifp->if_type) { in if_setlladdr() 3924 switch (ifp->if_type) { in if_gethwaddr()
|
| H A D | if_infiniband.c | 450 if (ifp->if_type == IFT_INFINIBANDLAG) { in infiniband_input()
|
| H A D | if_var.h | 317 uint8_t if_type; /* ethernet, tokenring, etc */ member
|
| /f-stack/freebsd/security/mac_ifoff/ |
| H A D | mac_ifoff.c | 93 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP) in ifnet_check_outgoing() 96 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP) in ifnet_check_outgoing() 108 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP) in ifnet_check_incoming() 111 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP) in ifnet_check_incoming()
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_bsd_addr.c | 152 switch (ifn->if_type) { in sctp_is_desired_interface_type() 254 ifn->if_type, in sctp_init_ifns_for_vrf() 340 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 | 206 …ro_nh->nh_ifa && (ro)->ro_nh->nh_ifa->ifa_ifp && (ro)->ro_nh->nh_ifa->ifa_ifp->if_type == IFT_LOOP) 358 …->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP)))
|
| H A D | in.c | 731 .sdl_type = ifa->ifa_ifp->if_type, in in_handle_prefix_route() 1407 info.rti_ifp->if_type != IFT_ETHER || in in_lltable_rtcheck() 1645 sdl->sdl_type = ifp->if_type; in in_lltable_dump_entry()
|
| H A D | toecore.c | 487 if (ifp->if_type == IFT_L2VLAN) { in toe_l2_resolve()
|
| H A D | ip_carp.c | 1546 switch (ifp->if_type) { in carp_output() 1563 ifp->if_xname, ifp->if_type); in carp_output() 1738 switch (ifp->if_type) { in carp_ioctl()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_ether.c | 417 if (ifp->if_type != IFT_ETHER && ifp->if_type != IFT_L2VLAN) in ng_ether_ifnet_arrival_event() 871 if (ifp->if_type == IFT_ETHER in vnet_ng_ether_init() 872 || 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()
|
| H A D | ng_iface.c | 553 ifp->if_type = IFT_PROPVIRTUAL; /* XXX */ in ng_iface_constructor()
|
| /f-stack/freebsd/net/route/ |
| H A D | route_ifaddrs.c | 166 link_init_sdl(ifp, (struct sockaddr *)&null_sdl, ifp->if_type); in ifa_maintain_loopback_route()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_ifattach.c | 272 switch (ifp->if_type) { in in6_get_hw_ifid() 684 switch (ifp->if_type) { in in6_ifattach()
|
| H A D | in6.c | 186 link_init_sdl(ifa->ifa_ifp, (struct sockaddr *)&gateway, ifa->ifa_ifp->if_type); in in6_newaddrmsg() 1270 .sdl_type = ifa->ifa_ifp->if_type, in in6_handle_dstaddr_rtrequest() 2050 switch (ifp->if_type) { in in6_if2idlen() 2079 printf("in6_if2idlen: unknown link type (%d)\n", ifp->if_type); in in6_if2idlen() 2435 sdl->sdl_type = ifp->if_type; in in6_lltable_dump_entry() 2491 switch (ifp->if_type) { in in6_domifattach()
|
| H A D | nd6.c | 194 gw.sdl_type = ifp->if_type; in nd6_lle_event() 285 if ((V_ip6_auto_linklocal && ifp->if_type != IFT_BRIDGE) || in nd6_ifattach() 297 (ifp->if_type != IFT_BRIDGE)) { in nd6_ifattach() 2235 switch (ifp->if_type) { in nd6_resolve() 2484 switch (ifp->if_type) { in nd6_need_cache()
|
| H A D | nd6_nbr.c | 1104 switch (ifp->if_type) { in nd6_ifptomac() 1485 switch (ifp->if_type) { in nd6_dad_duplicated()
|
| /f-stack/lib/ |
| H A D | ff_route.c | 687 nh->nh_ifp->if_type == IFT_PROPVIRTUAL) { in handle_rtm_get() 1455 rt->rt_ifp->if_type == IFT_PROPVIRTUAL) {
|