Home
last modified time | relevance | path

Searched refs:IFF_RUNNING (Results 1 – 21 of 21) sorted by relevance

/xnu-12377.61.12/bsd/net/
H A Dif_pflog.c301 ifnet_set_flags(ifp, IFF_RUNNING, IFF_RUNNING); in pflogioctl()
303 ifnet_set_flags(ifp, 0, IFF_RUNNING); in pflogioctl()
H A Dether_inet_pr_module.c247 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) != (IFF_UP | IFF_RUNNING)) { in ether_inet_pre_output()
341 if (!(ifnet_flags(ifp) & IFF_RUNNING)) { in ether_inet_prmod_ioctl()
H A Dif_headless.c1441 if ((ifp->if_flags & IFF_RUNNING) == 0) { in headless_ioctl()
1443 error = ifnet_set_flags(ifp, IFF_RUNNING, in headless_ioctl()
1444 IFF_RUNNING); in headless_ioctl()
1446 } else if ((ifp->if_flags & IFF_RUNNING) != 0) { in headless_ioctl()
1448 error = ifnet_set_flags(ifp, 0, IFF_RUNNING); in headless_ioctl()
H A Dether_inet6_pr_module.c234 if ((ifp->if_flags & IFF_RUNNING) == 0) { in ether_inet6_prmod_ioctl()
H A Dif_vlan.c1037 if ((ifnet_flags(p) & (IFF_UP | IFF_RUNNING)) != (IFF_UP | IFF_RUNNING)) { in vlan_output()
1387 ifnet_set_flags(ifp, IFF_RUNNING, IFF_RUNNING); in vlan_config()
1530 IFF_BROADCAST | IFF_MULTICAST | IFF_SIMPLEX | IFF_RUNNING); in vlan_unconfig()
H A Dif.h104 #define IFF_RUNNING 0x40 /* resources allocated */ macro
H A Dif_loop.c521 ifnet_set_flags(ifp, IFF_UP | IFF_RUNNING, IFF_UP | IFF_RUNNING); in lo_ioctl()
H A Dif_redirect.c1763 if ((ifp->if_flags & IFF_RUNNING) == 0) { in redirect_ioctl()
1765 error = ifnet_set_flags(ifp, IFF_RUNNING, in redirect_ioctl()
1766 IFF_RUNNING); in redirect_ioctl()
1768 } else if ((ifp->if_flags & IFF_RUNNING) != 0) { in redirect_ioctl()
1770 error = ifnet_set_flags(ifp, 0, IFF_RUNNING); in redirect_ioctl()
H A Dif_gif.c885 ifnet_set_flags(ifp, IFF_RUNNING | IFF_UP, IFF_RUNNING | in gif_ioctl()
H A Dif_bridge.c2033 (ifp->if_flags & IFF_RUNNING)) { in bridge_ioctl()
2042 !(ifp->if_flags & IFF_RUNNING)) { in bridge_ioctl()
4489 if ((ifnet_flags(ifp) & IFF_RUNNING)) {
4493 error = ifnet_set_flags(ifp, IFF_RUNNING, IFF_RUNNING);
4521 if ((ifnet_flags(ifp) & IFF_RUNNING) == 0) {
4532 (void) ifnet_set_flags(ifp, 0, IFF_RUNNING);
5546 if ((bridge_ifp->if_flags & IFF_RUNNING) == 0) {
5593 if ((dst_if->if_flags & IFF_RUNNING) == 0) {
5626 if ((ifp->if_flags & IFF_RUNNING) == 0) {
5641 if ((dst_if->if_flags & IFF_RUNNING) == 0) {
[all …]
H A Dif_private.h198 (IFF_BROADCAST|IFF_POINTOPOINT|IFF_RUNNING|IFF_OACTIVE|\
H A Dif_fake.c4277 if ((ifp->if_flags & IFF_RUNNING) == 0) { in feth_ioctl()
4279 error = ifnet_set_flags(ifp, IFF_RUNNING, in feth_ioctl()
4280 IFF_RUNNING); in feth_ioctl()
4282 } else if ((ifp->if_flags & IFF_RUNNING) != 0) { in feth_ioctl()
4284 error = ifnet_set_flags(ifp, 0, IFF_RUNNING); in feth_ioctl()
H A Dbridgestp.c306 if ((ifp->if_flags & IFF_RUNNING) == 0) { in bstp_transmit_tcn()
422 if ((ifp->if_flags & IFF_RUNNING) == 0) { in bstp_send_bpdu()
H A Dif_bond.c2190 ifnet_set_flags(ifp, IFF_RUNNING, IFF_RUNNING); in bond_add_interface()
2493 ifnet_set_flags(ifp, 0, IFF_RUNNING); in bond_remove_interface()
H A Dif_utun.c2002 ifnet_set_flags(pcb->utun_ifp, IFF_RUNNING, IFF_RUNNING); in utun_ctl_connect()
H A Dif_ipsec.c2738 ifnet_set_flags(pcb->ipsec_ifp, IFF_RUNNING, IFF_RUNNING); in ipsec_ctl_connect()
H A Dnecp_client.c5052 if ((multi_interface->if_flags & (IFF_UP | IFF_RUNNING)) && in necp_update_client_result()
5088 if ((listen_interface->if_flags & (IFF_UP | IFF_RUNNING)) && in necp_update_client_result()
/xnu-12377.61.12/bsd/netinet/
H A Din_arp.c1309 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) != (IFF_UP | IFF_RUNNING)) { in arp_lookup_ip()
/xnu-12377.61.12/bsd/netinet6/
H A Dnd6_nbr.c1917 (ifp->if_flags & IFF_RUNNING) == 0 || in nd6_unsol_na_output()
2249 if ((ifp->if_flags & IFF_RUNNING) == 0) { in nd6_dad_ns_output()
H A Din6.c3971 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) != in in6if_do_dad()
3972 (IFF_UP | IFF_RUNNING)) { in in6if_do_dad()
H A Dnd6.c4475 if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) != (IFF_UP | IFF_RUNNING)) { in nd6_lookup_ipv6()