Searched refs:if_flags (Results 201 - 225 of 334) sorted by relevance

1234567891011>>

/netbsd-current/sys/netinet/
H A Dif_arp.c371 if (ifp->if_flags & IFF_LINK0)
404 if (ifp->if_flags & IFF_LINK0)
628 if (ifp->if_flags & IFF_NOARP) {
807 if (rcvif->if_flags & IFF_NOARP)
840 ((ia->ia_ifp->if_flags & (IFF_UP|IFF_RUNNING)) ==
1524 if ((ifp->if_flags & IFF_UP) == 0)
1526 if ((ifp->if_flags & IFF_RUNNING) == 0)
1565 if (!(ifa->ifa_ifp->if_flags & IFF_UP))
1847 if (rcvif->if_flags & IFF_NOARP)
H A Dip_output.c357 if ((isbroadcast == 0) && ((ifp->if_flags &
435 (ifp->if_flags & IFF_MULTICAST) == 0) ||
437 (ifp->if_flags & (IFF_BROADCAST|IFF_POINTOPOINT)) == 0)) {
514 if (ip->ip_ttl == 0 || (ifp->if_flags & IFF_LOOPBACK) != 0) {
558 if ((ifp->if_flags & IFF_BROADCAST) == 0) {
1697 (ia->ia_ifp->if_flags & IFF_MULTICAST) != 0) {
1839 if (ifp == NULL || (ifp->if_flags & IFF_MULTICAST) == 0) {
1998 if (ifp == NULL || (ifp->if_flags & IFF_MULTICAST) == 0) {
/netbsd-current/sys/dev/usb/
H A Dif_otus.c712 if (ifp && ifp->if_flags != 0) { /* if_attach() has been called. */
713 ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
857 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
1533 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))
1936 ifp->if_flags &= ~IFF_OACTIVE; /* XXX: do after freeing Tx buffer? */
2078 if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING)
2103 ifp->if_flags |= IFF_OACTIVE;
2212 ifp->if_flags |= IFF_UP;
2223 switch (ifp->if_flags & (IFF_UP | IFF_RUNNING)) {
2225 if (((ifp->if_flags
[all...]
/netbsd-current/sys/dev/ic/
H A Drt2560.c385 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
824 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))
1145 ifp->if_flags &= ~IFF_OACTIVE;
1218 ifp->if_flags &= ~IFF_OACTIVE;
1382 if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
1496 if (!(ifp->if_flags & IFF_RUNNING))
1510 if (!device_is_active(sc->sc_dev) || !(ifp->if_flags & IFF_RUNNING))
2094 if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING)
2101 ifp->if_flags |= IFF_OACTIVE;
2121 ifp->if_flags |
[all...]
H A Drt2661.c274 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
705 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))
971 ifp->if_flags &= ~IFF_OACTIVE;
1171 if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
1230 if (!(ifp->if_flags & IFF_RUNNING)) {
1819 if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING)
1826 ifp->if_flags |= IFF_OACTIVE;
1846 ifp->if_flags |= IFF_OACTIVE;
1937 if (ifp->if_flags & IFF_UP) {
1938 if (ifp->if_flags
[all...]
H A Dathn.c79 (((ifp)->if_flags & IFF_UP) && ((ifp)->if_flags & IFF_RUNNING))
339 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
2638 if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING
2644 ifp->if_flags |= IFF_OACTIVE;
2724 if ((ifp->if_flags & (IFF_ALLMULTI | IFF_PROMISC)) != 0) {
2733 ifp->if_flags |= IFF_ALLMULTI;
2772 switch (ifp->if_flags & (IFF_UP | IFF_RUNNING)) {
2775 if (((ifp->if_flags ^ sc->sc_if_flags) &
2791 sc->sc_if_flags = ifp->if_flags;
[all...]
H A Dbwfm.c450 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
507 if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING)
527 ifp->if_flags |= IFF_OACTIVE;
538 ifp->if_flags |= IFF_OACTIVE;
666 (ifp->if_flags & IFF_PROMISC) ? 1 : 0);
674 ifp->if_flags |= IFF_RUNNING;
675 ifp->if_flags &= ~IFF_OACTIVE;
696 ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
746 oflags = ifp->if_flags;
749 switch (ifp->if_flags
[all...]
H A Dlemacvar.h85 #define LEMAC_USE_PIO_MODE(sc) (((sc->sc_flags & LEMAC_MODE_MASK) == LEMAC_PIO_MODE) || (sc->sc_if.if_flags & IFF_LINK0))
/netbsd-current/sys/arch/arm/gemini/
H A Dif_gpn.c371 if ((ifp->if_flags & IFF_UP) == 0) {
489 if (sc->sc_if.if_flags & IFF_UP)
585 ifp->if_flags |= IFF_RUNNING;
602 ifp->if_flags &= ~IFF_RUNNING;
696 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
/netbsd-current/sys/net/agr/
H A Dif_agr.c300 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
644 agrport_config_promisc(port, (ifp->if_flags & IFF_PROMISC) != 0);
659 ifp->if_flags |= IFF_RUNNING;
1033 ifp->if_flags |= IFF_UP;
1131 promisc = (sc->sc_if.if_flags & IFF_PROMISC) != 0;
/netbsd-current/sys/dev/mii/
H A Drgephy.c193 if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
248 if ((mii->mii_ifp->if_flags & IFF_LINK0)) {
271 if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
H A Datphy.c245 if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
300 if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
/netbsd-current/sys/netinet6/
H A Din6.c178 (ifa->ifa_ifp->if_flags & IFF_POINTOPOINT &&
599 if ((ifp->if_flags & IFF_POINTOPOINT) == 0) {
1085 if ((ifp->if_flags & IFF_POINTOPOINT) != 0 &&
1122 if ((ifp->if_flags & (IFF_POINTOPOINT|IFF_LOOPBACK)) != 0 &&
1151 if ((ifp->if_flags & (IFF_POINTOPOINT|IFF_LOOPBACK)) == 0) {
1229 if ((ifp->if_flags & (IFF_POINTOPOINT | IFF_LOOPBACK)) != 0) {
1368 if ((ifp->if_flags & IFF_MULTICAST) != 0) {
1766 if ((ifp->if_flags & IFF_POINTOPOINT) != 0) {
1792 if ((ifp->if_flags & IFF_POINTOPOINT) != 0) {
1857 if (ifp->if_flags
[all...]
H A Dnd6.c185 (ifp->if_flags & IFF_LOOPBACK))
977 if ((ifp->if_flags & (IFF_POINTOPOINT | IFF_LOOPBACK)) == 0) {
1031 if (ifp->if_flags & IFF_MULTICAST) {
1064 (ifp->if_flags & IFF_MULTICAST) != 0) {
1117 if (ifp->if_flags & IFF_UP)
1155 ifp->if_flags & IFF_UP)
/netbsd-current/sys/arch/powerpc/booke/dev/
H A Dpq3etsec.c517 if (sc->sc_if.if_flags & IFF_RUNNING)
542 if ((ifp->if_flags & IFF_UP) == 0)
785 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
876 KASSERT(ifp->if_flags & IFF_UP);
904 if (ifp->if_flags & IFF_PROMISC) {
1022 ifp->if_flags |= IFF_RUNNING;
1083 ifp->if_flags &= ~IFF_RUNNING;
1128 ifp->if_flags &= ~IFF_ALLMULTI;
1135 ifp->if_flags |= IFF_ALLMULTI;
1222 if (ifp->if_flags
[all...]
/netbsd-current/sys/dev/pci/
H A Dif_wpi.c364 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
927 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))
1671 ifp->if_flags &= ~IFF_OACTIVE;
1767 ifp->if_flags &= ~IFF_UP;
1851 ifp->if_flags &= ~IFF_UP;
1864 if (ifp->if_flags & IFF_UP)
2113 if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING)
2167 ifp->if_flags |= IFF_OACTIVE;
2201 ifp->if_flags &= ~IFF_UP;
2216 ((ifp->if_flags
[all...]
H A Dif_iwi.c358 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
847 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))
1471 if (txq->queued < txq->count - 8 - 8 && (ifp->if_flags & IFF_OACTIVE)) {
1472 ifp->if_flags &= ~IFF_OACTIVE;
1513 sc->sc_ic.ic_ifp->if_flags &= ~IFF_UP;
1527 sc->sc_ic.ic_ifp->if_flags &= ~IFF_UP;
1814 ifp->if_flags |= IFF_OACTIVE;
1853 ifp->if_flags &= ~IFF_UP;
1884 ((ifp->if_flags & IFF_UP) && (ifp->if_flags
[all...]
H A Dif_bnx.c854 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
3497 ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
4106 CLR(ifp->if_flags, IFF_OACTIVE);
4935 DBRUNIF((ifp->if_flags & IFF_OACTIVE),
4939 ifp->if_flags &= ~IFF_OACTIVE;
5054 SET(ifp->if_flags, IFF_RUNNING);
5055 CLR(ifp->if_flags, IFF_OACTIVE);
5074 if (ifp->if_flags & IFF_RUNNING)
5122 if (!ISSET(sc->bnx_ec.ec_if.if_flags, IFF_UP)) {
5284 ||(ifp->if_flags
[all...]
H A Dif_iavf.c884 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
1059 if (ISSET(ifp->if_flags, IFF_RUNNING))
1071 SET(ifp->if_flags, IFF_RUNNING);
1072 CLR(ifp->if_flags, IFF_OACTIVE);
1161 CLR(ifp->if_flags, IFF_RUNNING);
1244 if (ISSET(ifp->if_flags, IFF_RUNNING))
1419 if (!ISSET(ifp->if_flags, IFF_RUNNING))
1424 if (ISSET(ifp->if_flags, IFF_PROMISC)) {
1427 } else if (ISSET(ifp->if_flags, IFF_ALLMULTI)) {
1638 if (ISSET(ifp->if_flags, IFF_RUNNIN
[all...]
/netbsd-current/sys/net/
H A Drtsock.c210 if (rt->rt_ifp->if_flags & IFF_POINTOPOINT)
242 ifm->ifm_flags = ifp->if_flags;
H A Dif_ppp.c311 sc->sc_if.if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
425 sc->sc_if.if_flags &= ~(IFF_UP|IFF_RUNNING);
781 if ((ifp->if_flags & IFF_RUNNING) == 0)
782 ifp->if_flags &= ~IFF_UP;
883 (ifp->if_flags & IFF_RUNNING) == 0 ||
884 ((ifp->if_flags & IFF_UP) == 0 &&
1677 if ((ifp->if_flags & IFF_UP) == 0 ||
1700 if ((ifp->if_flags & IFF_UP) == 0 ||
H A Dbridgestp.c227 if ((ifp->if_flags & IFF_RUNNING) == 0)
370 if ((ifp->if_flags & IFF_RUNNING) == 0)
1022 if (ifp->if_flags & IFF_UP) {
1101 if (sc->sc_if.if_flags & IFF_RUNNING)
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_emac.c450 if ((ifp->if_flags & IFF_RUNNING) == 0)
548 if ((ifp->if_flags & IFF_PROMISC) != 0)
550 else if ((ifp->if_flags & IFF_ALLMULTI) != 0) {
674 if ((ifp->if_flags & IFF_RUNNING) != 0)
711 ifp->if_flags |= IFF_RUNNING;
769 ifp->if_flags &= ~IFF_RUNNING;
944 else if ((ifp->if_flags & IFF_RUNNING) != 0) {
1435 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
/netbsd-current/external/bsd/ipf/dist/ipsd/
H A Dsdlpi.c155 u_long if_flags; local
H A Dsnit.c124 u_long if_flags; local

Completed in 433 milliseconds

1234567891011>>