| /f-stack/freebsd/mips/cavium/octe/ |
| H A D | octe.c | 274 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) in octe_init() 290 ifp->if_drv_flags |= IFF_DRV_RUNNING; in octe_init() 303 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in octe_stop() 309 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in octe_stop() 319 if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in octe_transmit() 320 IFF_DRV_RUNNING) { in octe_transmit() 432 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in octe_ioctl() 448 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in octe_ioctl() 451 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) in octe_ioctl()
|
| /f-stack/freebsd/mips/cavium/ |
| H A D | if_octm.c | 296 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { in octm_init() 299 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in octm_init() 328 ifp->if_drv_flags |= IFF_DRV_RUNNING; in octm_init() 340 if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in octm_transmit() 341 IFF_DRV_RUNNING) { in octm_transmit() 440 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in octm_ioctl() 458 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { in octm_ioctl() 461 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in octm_ioctl()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_eiface.c | 159 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) { in ng_eiface_ioctl() 161 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_eiface_ioctl() 164 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in ng_eiface_ioctl() 165 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | in ng_eiface_ioctl() 207 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_eiface_init() 227 (ifp->if_drv_flags & IFF_DRV_RUNNING))) in ng_eiface_start2() 586 (ifp->if_drv_flags & IFF_DRV_RUNNING))) { in ng_eiface_rcvdata()
|
| H A D | ng_iface.c | 293 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_iface_ioctl() 306 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) { in ng_iface_ioctl() 308 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ng_iface_ioctl() 311 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in ng_iface_ioctl() 312 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | in ng_iface_ioctl() 357 (ifp->if_drv_flags & IFF_DRV_RUNNING))) { in ng_iface_output()
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | if_emac.c | 325 (ifp->if_drv_flags & IFF_DRV_RUNNING) != 0; count--) { in emac_rxeof() 472 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in emac_watchdog() 514 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) in emac_init_locked() 593 ifp->if_drv_flags |= IFF_DRV_RUNNING; in emac_init_locked() 754 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { in emac_ioctl() 761 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) in emac_ioctl() 770 if (ifp->if_drv_flags & IFF_DRV_RUNNING) { in emac_ioctl() 807 sc->emac_ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in emac_detach() 860 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) in emac_suspend() 878 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in emac_resume() [all …]
|
| H A D | if_awg.c | 302 if ((if_getdrvflags(sc->ifp) & IFF_DRV_RUNNING) == 0) in awg_miibus_statchg() 974 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in awg_start_locked() 975 IFF_DRV_RUNNING) in awg_start_locked() 1025 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in awg_init_locked() 1033 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, IFF_DRV_OACTIVE); in awg_init_locked() 1102 if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING | IFF_DRV_OACTIVE); in awg_stop() 1122 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in awg_ioctl() 1129 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in awg_ioctl() 1137 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in awg_ioctl() 1358 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) { in awg_poll() [all …]
|
| /f-stack/freebsd/net/ |
| H A D | if_epair.c | 408 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in epair_start_locked() 430 if ((oifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in epair_start_locked() 499 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { in epair_transmit_locked() 515 if ((oifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in epair_transmit_locked() 910 sca->ifp->if_drv_flags |= IFF_DRV_RUNNING; in epair_clone_create() 911 scb->ifp->if_drv_flags |= IFF_DRV_RUNNING; in epair_clone_create() 943 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in epair_clone_destroy() 944 oifp->if_drv_flags &= ~IFF_DRV_RUNNING; in epair_clone_destroy()
|
| H A D | if.h | 148 #define IFF_DRV_RUNNING 0x40 /* (d) resources allocated */ macro 172 #define IFF_RUNNING IFF_DRV_RUNNING 178 (IFF_BROADCAST|IFF_POINTOPOINT|IFF_DRV_RUNNING|IFF_DRV_OACTIVE|\
|
| H A D | if_ipsec.c | 371 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in ipsec_transmit() 493 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in ipsec_if_input() 800 sc->ifp->if_drv_flags |= IFF_DRV_RUNNING; in ipsec_set_running() 802 sc->ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in ipsec_set_running() 1037 sc->ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in ipsec_set_tunnel() 1051 sc->ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in ipsec_delete_tunnel()
|
| H A D | if_me.c | 373 ME2IFP(sc)->if_drv_flags |= IFF_DRV_RUNNING; in me_set_running() 375 ME2IFP(sc)->if_drv_flags &= ~IFF_DRV_RUNNING; in me_set_running() 449 ME2IFP(sc)->if_drv_flags &= ~IFF_DRV_RUNNING; in me_delete_tunnel() 570 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0 || in me_transmit()
|
| H A D | if_bridge.c | 876 (ifp->if_drv_flags & IFF_DRV_RUNNING)) { in bridge_ioctl() 883 !(ifp->if_drv_flags & IFF_DRV_RUNNING)) { in bridge_ioctl() 1907 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in bridge_init() 1914 ifp->if_drv_flags |= IFF_DRV_RUNNING; in bridge_init() 1932 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in bridge_stop() 1943 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in bridge_stop() 2075 if ((bifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { in bridge_output() 2299 if ((dst_if->if_drv_flags & IFF_DRV_RUNNING) == 0) in bridge_forward() 2580 if ((dst_if->if_drv_flags & IFF_DRV_RUNNING) == 0) in bridge_broadcast() 2646 if ((dst_if->if_drv_flags & IFF_DRV_RUNNING) == 0) in bridge_span() [all …]
|
| H A D | if_enc.c | 203 ifp->if_drv_flags |= IFF_DRV_RUNNING; in enc_ioctl() 205 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in enc_ioctl()
|
| H A D | if_edsc.c | 166 ifp->if_drv_flags |= IFF_DRV_RUNNING; in edsc_clone_create()
|
| H A D | if_disc.c | 109 ifp->if_drv_flags = IFF_DRV_RUNNING; in disc_clone_create()
|
| H A D | iflib.c | 825 status = ifp->if_drv_flags & IFF_DRV_RUNNING ? 0 : 1; in iflib_netmap_register() 2371 if (if_getdrvflags(ctx->ifc_ifp) & IFF_DRV_RUNNING) in iflib_timer() 3892 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in _task_fn_tx() 4261 if (!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)) in iflib_if_ioctl() 4298 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in iflib_if_ioctl() 4307 } else if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in iflib_if_ioctl() 4315 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in iflib_if_ioctl() 4382 if (bits & IFF_DRV_RUNNING && setmask & ~IFCAP_WOL) in iflib_if_ioctl() 4387 if (bits & IFF_DRV_RUNNING && setmask & ~IFCAP_WOL) in iflib_if_ioctl() 6952 IFF_DRV_RUNNING) in iflib_debugnet_transmit() [all …]
|
| H A D | if_spppsubr.c | 798 !(ifp->if_drv_flags & IFF_DRV_RUNNING)) { in sppp_output() 816 ifp->if_drv_flags |= IFF_DRV_RUNNING; in sppp_output() 1188 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0; in sppp_ioctl() 1190 ifp->if_drv_flags & IFF_DRV_RUNNING; in sppp_ioctl() 1216 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in sppp_ioctl() 1226 ifp->if_drv_flags |= IFF_DRV_RUNNING; in sppp_ioctl() 1233 ifp->if_drv_flags |= IFF_DRV_RUNNING; in sppp_ioctl() 2176 ifp->if_drv_flags |= IFF_DRV_RUNNING; in sppp_lcp_up() 2186 ifp->if_drv_flags |= IFF_DRV_RUNNING; in sppp_lcp_up() 2220 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in sppp_lcp_down() [all …]
|
| /f-stack/tools/compat/include/net/ |
| H A D | if.h | 134 #define IFF_DRV_RUNNING 0x40 /* (d) resources allocated */ macro 158 #define IFF_RUNNING IFF_DRV_RUNNING 164 (IFF_BROADCAST|IFF_POINTOPOINT|IFF_DRV_RUNNING|IFF_DRV_OACTIVE|\
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | if_pflog.c | 192 ifp->if_drv_flags |= IFF_DRV_RUNNING; in pflogioctl() 194 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in pflogioctl()
|
| /f-stack/freebsd/arm64/broadcom/genet/ |
| H A D | if_genet.c | 807 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in gen_init_locked() 832 if_setdrvflagbits(ifp, IFF_DRV_RUNNING, IFF_DRV_OACTIVE); in gen_init_locked() 945 if ((if_getdrvflags(ifp) & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) != in gen_start_locked() 946 IFF_DRV_RUNNING) in gen_start_locked() 1490 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in gen_ioctl() 1497 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in gen_ioctl() 1506 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) { in gen_ioctl() 1534 if (if_getdrvflags(ifp) & IFF_DRV_RUNNING) in gen_ioctl() 1559 if ((if_getdrvflags(ifp) & IFF_DRV_RUNNING) == 0) in gen_tick() 1638 if ((if_getdrvflags(sc->ifp) & IFF_DRV_RUNNING) == 0) in gen_update_link_locked()
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | if_are.c | 516 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { in are_link_task() 661 ifp->if_drv_flags |= IFF_DRV_RUNNING; in are_init_locked() 862 if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in are_start_locked() 863 IFF_DRV_RUNNING || sc->are_link_status == 0 ) in are_start_locked() 909 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); in are_stop() 969 if (ifp->if_drv_flags & IFF_DRV_RUNNING) { in are_ioctl() 978 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in are_ioctl()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | if_arge.c | 1220 (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { in arge_update_link_locked() 1458 if ((ifp->if_flags & IFF_UP) && (ifp->if_drv_flags & IFF_DRV_RUNNING)) in arge_init_locked() 1488 ifp->if_drv_flags |= IFF_DRV_RUNNING; in arge_init_locked() 1710 if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != in arge_start_locked() 1711 IFF_DRV_RUNNING || sc->arge_link_status == 0 ) in arge_start_locked() 1768 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); in arge_stop() 1798 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { in arge_ioctl() 1808 } else if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { in arge_ioctl() 1809 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in arge_ioctl() 2406 if (ifp->if_drv_flags & IFF_DRV_RUNNING) { in arge_poll()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_gif.c | 134 GIF2IFP(sc)->if_drv_flags |= IFF_DRV_RUNNING; in in_gif_set_running() 136 GIF2IFP(sc)->if_drv_flags &= ~IFF_DRV_RUNNING; in in_gif_set_running()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_gif.c | 140 GIF2IFP(sc)->if_drv_flags |= IFF_DRV_RUNNING; in in6_gif_set_running() 142 GIF2IFP(sc)->if_drv_flags &= ~IFF_DRV_RUNNING; in in6_gif_set_running()
|
| /f-stack/lib/ |
| H A D | ff_veth.c | 153 ifp->if_drv_flags |= IFF_DRV_RUNNING; in ff_veth_init() 168 ifp->if_drv_flags &= ~(IFF_DRV_RUNNING|IFF_DRV_OACTIVE); in ff_veth_stop() 181 } else if (ifp->if_drv_flags & IFF_DRV_RUNNING) in ff_veth_ioctl()
|
| /f-stack/freebsd/mips/nlm/dev/net/ |
| H A D | xlpge.c | 767 if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) in nlm_xlpge_ioctl() 774 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in nlm_xlpge_ioctl() 814 if (!(ifp->if_drv_flags & IFF_DRV_RUNNING) || in xlpge_tx() 928 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; in nlm_xlpge_port_disable() 971 if (ifp->if_drv_flags & IFF_DRV_RUNNING) in nlm_xlpge_init() 980 ifp->if_drv_flags |= IFF_DRV_RUNNING; in nlm_xlpge_init()
|