Searched refs:if_type (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-9.3-release/sys/net/
H A Dif_vlan_var.h135 (_ifp)->if_type == IFT_L2VLAN ? (*vlan_trunkdev_p)((_ifp)) : NULL
137 (_ifp)->if_type == IFT_L2VLAN ? (*vlan_tag_p)((_ifp), (_tag)) : EINVAL
139 (_ifp)->if_type == IFT_L2VLAN ? (*vlan_cookie_p)((_ifp)) : NULL
141 (_ifp)->if_type == IFT_L2VLAN ? \
H A Dif_vlan.c614 if (ifp->if_type != IFT_L2VLAN)
633 if (ifp->if_type != IFT_L2VLAN)
649 if (ifp->if_type != IFT_L2VLAN)
664 if (ifp->if_type != IFT_L2VLAN)
808 if (ifp->if_type != IFT_ETHER &&
960 ifp->if_type = IFT_L2VLAN;
1052 if (soft_pad && p->if_type == IFT_ETHER) {
1131 switch (ifp->if_type) {
1154 panic("%s: %s has unsupported if_type %u",
1155 __func__, ifp->if_xname, ifp->if_type);
[all...]
H A Dif_ef.c140 ifp->if_type = IFT_XETHER;
403 if (ifp->if_type != IFT_XETHER)
509 if (ifp->if_type != IFT_ETHER) continue;
H A Dif_faith.c342 if (rt && rt->rt_ifp && rt->rt_ifp->if_type == IFT_FAITH &&
H A Dif_bridge.c612 ifp->if_type = IFT_BRIDGE;
657 ifp->if_type = IFT_BRIDGE;
983 switch (ifs->if_type) {
1051 switch (ifs->if_type) {
1148 switch (ifs->if_type) {
1580 switch (ifs->if_type) {
1982 if (dst_if->if_type == IFT_GIF)
2350 if ((iface)->if_type == IFT_GIF) \
2356 if ((iface)->if_type == IFT_BRIDGE) { \
H A Dif_lagg.c320 ifp->if_type = IFT_ETHER;
545 if (ifp->if_type != IFT_ETHER)
611 lp->lp_iftype = ifp->if_type;
612 ifp->if_type = IFT_IEEE8023ADLAG;
701 ifp->if_type = lp->lp_iftype;
761 if (ifp->if_type != IFT_IEEE8023ADLAG ||
H A Dif.c441 ifp->if_type = type;
661 sdl->sdl_type = ifp->if_type;
1487 ifa->ifa_ifp->if_type;
1508 null_sdl.sdl_type = ifa->ifa_ifp->if_type;
1938 if ((ifp->if_type == IFT_ETHER || ifp->if_type == IFT_L2VLAN) &&
3301 switch (ifp->if_type) {
H A Dif_tap.c736 ifp->if_type = tapp->type;
745 tapp->type = ifp->if_type;
H A Dif_tun.c690 TUN2IFP(tp)->if_type = tunp->type;
698 tunp->type = TUN2IFP(tp)->if_type;
/freebsd-9.3-release/sys/security/mac_ifoff/
H A Dmac_ifoff.c93 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP)
96 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP)
108 if (ifoff_lo_enabled && ifp->if_type == IFT_LOOP)
111 if (ifoff_other_enabled && ifp->if_type != IFT_LOOP)
/freebsd-9.3-release/sys/pc98/cbus/
H A Dsio.c392 short if_type; member in struct:siodev
406 #define IS_8251(if_type) (!(if_type & 0x10))
784 iod.if_type = GET_IFTYPE(flags);
785 if ((iod.if_type < 0 || iod.if_type > COM_IF_END1) &&
786 (iod.if_type < 0x10 || iod.if_type > COM_IF_END2))
792 if (IS_8251(iod.if_type)) {
795 } else if (iod.if_type
1376 int if_type = GET_IFTYPE(device_get_flags(dev)); local
4155 int if_type, effect_sp, count = -1, mod; local
4218 int if_type, io, s; local
4278 int irr, io, if_type, tmp; local
4340 int if_type = com->pc98_if_type & 0x0f; local
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dsctp_bsd_addr.c153 switch (ifn->if_type) {
259 ifn->if_type,
340 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname,
H A Dif_atm.c125 SDL(gate)->sdl_type = rt->rt_ifp->if_type;
248 SDL(gate)->sdl_type = rt->rt_ifp->if_type;
H A Dsctp_os_bsd.h221 #define SCTP_ROUTE_IS_REAL_LOOP(ro) ((ro)->ro_rt && (ro)->ro_rt->rt_ifa && (ro)->ro_rt->rt_ifa->ifa_ifp && (ro)->ro_rt->rt_ifa->ifa_ifp->if_type == IFT_LOOP)
383 #define SCTP_IS_IT_LOOPBACK(m) ((m->m_flags & M_PKTHDR) && ((m->m_pkthdr.rcvif == NULL) || (m->m_pkthdr.rcvif->if_type == IFT_LOOP)))
H A Din.c901 if (ifp->if_type == IFT_CARP)
1015 target->ia_ifp->if_type != IFT_CARP &&
1016 ia->ia_ifp->if_type != IFT_CARP) {
1132 && (ia->ia_ifp->if_type != IFT_CARP)) {
1383 rt->rt_ifp->if_type != IFT_ETHER ||
1574 sdl->sdl_type = ifp->if_type;
/freebsd-9.3-release/sys/dev/cxgbe/tom/
H A Dt4_connect.c326 if (rt_ifp->if_type == IFT_ETHER)
328 else if (rt_ifp->if_type == IFT_L2VLAN) {
332 } else if (rt_ifp->if_type == IFT_IEEE8023ADLAG)
H A Dt4_tom_l2t.c393 if (ifp->if_type == IFT_L2VLAN)
422 if (ifp->if_type == IFT_L2VLAN)
/freebsd-9.3-release/sys/netgraph/
H A Dng_ether.c420 if (ifp->if_type != IFT_ETHER
421 && ifp->if_type != IFT_L2VLAN)
879 if (ifp->if_type == IFT_ETHER
880 || ifp->if_type == IFT_L2VLAN)
H A Dng_gif.c568 if (ifp->if_type == IFT_GIF)
/freebsd-9.3-release/sys/netinet6/
H A Din6_ifattach.c268 switch (ifp->if_type) {
728 switch (ifp->if_type) {
739 switch (ifp->if_type) {
H A Dnd6.c192 if ((V_ip6_auto_linklocal && ifp->if_type != IFT_BRIDGE) ||
204 (ifp->if_type != IFT_BRIDGE))
241 switch (ifp->if_type) {
1627 * XXX is it dependent to ifp->if_type?
2163 switch (ifp->if_type) {
2204 switch (ifp->if_type) {
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Daddr.c107 if (dev->if_type == IFT_INFINIBAND)
109 else if (dev->if_type == IFT_ETHER)
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dif_pflog.c190 ifp->if_type = IFT_PFLOG;
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_freebsd.c107 if (ifp->if_type != IFT_IEEE80211) {
766 if (ifp->if_type != IFT_IEEE80211 || ic == NULL)
/freebsd-9.3-release/sys/netgraph/atm/
H A Dng_atm.c1411 if (ifp->if_type == IFT_ATM)
1434 if (ifp->if_type == IFT_ATM)

Completed in 200 milliseconds

123