Lines Matching refs:interface_details

10184 	struct necp_interface_details interface_details = {};  in necp_client_copy_interface()  local
10187 uap->buffer_size < sizeof(interface_details) || in necp_client_copy_interface()
10215 strlcpy((char *)&interface_details.name, interface->if_xname, sizeof(interface_details.name)); in necp_client_copy_interface()
10217 interface_details.index = interface->if_index; in necp_client_copy_interface()
10218 interface_details.generation = ifnet_get_generation(interface); in necp_client_copy_interface()
10220 interface_details.delegate_index = interface->if_delegated.ifp->if_index; in necp_client_copy_interface()
10222 interface_details.functional_type = if_functional_type(interface, TRUE); in necp_client_copy_interface()
10224 interface_details.flags |= NECP_INTERFACE_FLAG_EXPENSIVE; in necp_client_copy_interface()
10227 interface_details.flags |= NECP_INTERFACE_FLAG_CONSTRAINED; in necp_client_copy_interface()
10230 interface_details.flags |= NECP_INTERFACE_FLAG_ULTRA_CONSTRAINED; in necp_client_copy_interface()
10233 interface_details.flags |= NECP_INTERFACE_FLAG_TXSTART; in necp_client_copy_interface()
10236 interface_details.flags |= NECP_INTERFACE_FLAG_NOACKPRI; in necp_client_copy_interface()
10239 interface_details.flags |= NECP_INTERFACE_FLAG_3CARRIERAGG; in necp_client_copy_interface()
10242 interface_details.flags |= NECP_INTERFACE_FLAG_IS_LOW_POWER; in necp_client_copy_interface()
10245 interface_details.flags |= NECP_INTERFACE_FLAG_MPK_LOG; in necp_client_copy_interface()
10248 interface_details.flags |= NECP_INTERFACE_FLAG_SUPPORTS_MULTICAST; in necp_client_copy_interface()
10251 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NAT64; in necp_client_copy_interface()
10254 interface_details.flags |= NECP_INTERFACE_FLAG_LOW_POWER_WAKE; in necp_client_copy_interface()
10256 interface_details.l4s_mode = interface->if_l4s_mode; in necp_client_copy_interface()
10257 interface_details.mtu = interface->if_mtu; in necp_client_copy_interface()
10259 fsw_get_tso_capabilities(interface, &interface_details.tso_max_segment_size_v4, in necp_client_copy_interface()
10260 &interface_details.tso_max_segment_size_v6); in necp_client_copy_interface()
10262 interface_details.hwcsum_flags = interface->if_hwassist & IFNET_CHECKSUMF; in necp_client_copy_interface()
10265 u_int8_t ipv4_signature_len = sizeof(interface_details.ipv4_signature.signature); in necp_client_copy_interface()
10268 (u_int8_t *)&interface_details.ipv4_signature) != 0) { in necp_client_copy_interface()
10271 interface_details.ipv4_signature.signature_len = ipv4_signature_len; in necp_client_copy_interface()
10283 interface_details.flags |= NECP_INTERFACE_FLAG_IPV4_ROUTABLE; in necp_client_copy_interface()
10297 interface_details.flags |= NECP_INTERFACE_FLAG_IPV6_ROUTABLE; in necp_client_copy_interface()
10303 u_int8_t ipv6_signature_len = sizeof(interface_details.ipv6_signature.signature); in necp_client_copy_interface()
10306 (u_int8_t *)&interface_details.ipv6_signature) != 0) { in necp_client_copy_interface()
10309 interface_details.ipv6_signature.signature_len = ipv6_signature_len; in necp_client_copy_interface()
10316 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NETMASK; in necp_client_copy_interface()
10317 interface_details.ipv4_netmask = (ifatoia(ifa))->ia_sockmask.sin_addr.s_addr; in necp_client_copy_interface()
10319 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_BROADCAST; in necp_client_copy_interface()
10320 interface_details.ipv4_broadcast = (ifatoia(ifa))->ia_broadaddr.sin_addr.s_addr; in necp_client_copy_interface()
10326 interface_details.radio_type = interface->if_radio_type; in necp_client_copy_interface()
10327 if (interface_details.radio_type == 0 && interface->if_delegated.ifp) { in necp_client_copy_interface()
10328 interface_details.radio_type = interface->if_delegated.ifp->if_radio_type; in necp_client_copy_interface()
10337 error = copyout(&interface_details, uap->buffer, sizeof(interface_details)); in necp_client_copy_interface()