Searched refs:new_flags (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dkpi_interface.h1396 @discussion Sets the interface flags to match new_flags.
1397 @discussion Sets the interface flags to new_flags. This function
1400 interface's flags to (if_flags & ~mask) | (new_flags & mask).
1402 @param new_flags The new set of flags that should be set. These
1406 extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
1421 @discussion Sets the extended interface flags to new_flags. This
1425 (new_flags & mask).
1427 @param new_flags The new set of flags that should be set. These
1432 extern errno_t ifnet_set_eflags(ifnet_t interface, u_int32_t new_flags,
1445 @discussion Sets the if_idle_flags to new_flags
[all...]
H A Dkpi_interface.c375 ifnet_set_flags(ifnet_t interface, u_int16_t new_flags, u_int16_t mask) argument
386 if_updown(interface, (new_flags & IFF_UP) == IFF_UP);
390 interface->if_flags = (new_flags & mask) | (interface->if_flags & ~mask);
455 ifnet_set_eflags(ifnet_t interface, u_int32_t new_flags, u_int32_t mask) argument
464 if (ifnet_awdl_check_eflags(interface, &new_flags, &mask) != 0) {
469 (new_flags & mask) | (interface->if_eflags & ~mask);
482 ifnet_set_idle_flags_locked(ifnet_t ifp, u_int32_t new_flags, u_int32_t mask) argument
498 ifp->if_idle_new_flags = new_flags;
506 ifp->if_idle_flags = (new_flags & mask) | (ifp->if_idle_flags & ~mask);
528 ifnet_set_idle_flags(ifnet_t ifp, u_int32_t new_flags, u_int32_ argument
[all...]

Completed in 18 milliseconds