Home
last modified time | relevance | path

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

12

/f-stack/tools/compat/include/net/
H A Dif_vlan_var.h142 ((_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 Dif_vlan_var.h142 ((_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 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()
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 Dif_vlan.c721 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 Ddebugnet.h91 ((ifp)->if_debugnet_methods != NULL && (ifp)->if_type == IFT_ETHER)
H A Dif_bridge.c710 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 Dif_ethersubr.c473 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 Dif.c618 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 Dif_infiniband.c450 if (ifp->if_type == IFT_INFINIBANDLAG) { in infiniband_input()
H A Dif_var.h317 uint8_t if_type; /* ethernet, tokenring, etc */ member
/f-stack/freebsd/security/mac_ifoff/
H A Dmac_ifoff.c93 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 Dsctp_bsd_addr.c152 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 Dsctp_os_bsd.h206 …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 Din.c731 .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 Dtoecore.c487 if (ifp->if_type == IFT_L2VLAN) { in toe_l2_resolve()
H A Dip_carp.c1546 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 Dng_ether.c417 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 Dng_gif.c562 if (ifp->if_type == IFT_GIF) in ng_gif_mod_event()
H A Dng_iface.c553 ifp->if_type = IFT_PROPVIRTUAL; /* XXX */ in ng_iface_constructor()
/f-stack/freebsd/net/route/
H A Droute_ifaddrs.c166 link_init_sdl(ifp, (struct sockaddr *)&null_sdl, ifp->if_type); in ifa_maintain_loopback_route()
/f-stack/freebsd/netinet6/
H A Din6_ifattach.c272 switch (ifp->if_type) { in in6_get_hw_ifid()
684 switch (ifp->if_type) { in in6_ifattach()
H A Din6.c186 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 Dnd6.c194 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 Dnd6_nbr.c1104 switch (ifp->if_type) { in nd6_ifptomac()
1485 switch (ifp->if_type) { in nd6_dad_duplicated()
/f-stack/lib/
H A Dff_route.c687 nh->nh_ifp->if_type == IFT_PROPVIRTUAL) { in handle_rtm_get()
1455 rt->rt_ifp->if_type == IFT_PROPVIRTUAL) {

12