Lines Matching refs:interface_details
10167 struct necp_interface_details interface_details = {}; in necp_client_copy_interface() local
10170 uap->buffer_size < sizeof(interface_details) || in necp_client_copy_interface()
10198 strlcpy((char *)&interface_details.name, interface->if_xname, sizeof(interface_details.name)); in necp_client_copy_interface()
10200 interface_details.index = interface->if_index; in necp_client_copy_interface()
10201 interface_details.generation = ifnet_get_generation(interface); in necp_client_copy_interface()
10203 interface_details.delegate_index = interface->if_delegated.ifp->if_index; in necp_client_copy_interface()
10205 interface_details.functional_type = if_functional_type(interface, TRUE); in necp_client_copy_interface()
10207 interface_details.flags |= NECP_INTERFACE_FLAG_EXPENSIVE; in necp_client_copy_interface()
10210 interface_details.flags |= NECP_INTERFACE_FLAG_CONSTRAINED; in necp_client_copy_interface()
10213 interface_details.flags |= NECP_INTERFACE_FLAG_ULTRA_CONSTRAINED; in necp_client_copy_interface()
10216 interface_details.flags |= NECP_INTERFACE_FLAG_TXSTART; in necp_client_copy_interface()
10219 interface_details.flags |= NECP_INTERFACE_FLAG_NOACKPRI; in necp_client_copy_interface()
10222 interface_details.flags |= NECP_INTERFACE_FLAG_3CARRIERAGG; in necp_client_copy_interface()
10225 interface_details.flags |= NECP_INTERFACE_FLAG_IS_LOW_POWER; in necp_client_copy_interface()
10228 interface_details.flags |= NECP_INTERFACE_FLAG_MPK_LOG; in necp_client_copy_interface()
10231 interface_details.flags |= NECP_INTERFACE_FLAG_SUPPORTS_MULTICAST; in necp_client_copy_interface()
10234 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NAT64; in necp_client_copy_interface()
10237 interface_details.flags |= NECP_INTERFACE_FLAG_LOW_POWER_WAKE; in necp_client_copy_interface()
10239 interface_details.l4s_mode = interface->if_l4s_mode; in necp_client_copy_interface()
10240 interface_details.mtu = interface->if_mtu; in necp_client_copy_interface()
10242 fsw_get_tso_capabilities(interface, &interface_details.tso_max_segment_size_v4, in necp_client_copy_interface()
10243 &interface_details.tso_max_segment_size_v6); in necp_client_copy_interface()
10245 interface_details.hwcsum_flags = interface->if_hwassist & IFNET_CHECKSUMF; in necp_client_copy_interface()
10248 u_int8_t ipv4_signature_len = sizeof(interface_details.ipv4_signature.signature); in necp_client_copy_interface()
10251 (u_int8_t *)&interface_details.ipv4_signature) != 0) { in necp_client_copy_interface()
10254 interface_details.ipv4_signature.signature_len = ipv4_signature_len; in necp_client_copy_interface()
10266 interface_details.flags |= NECP_INTERFACE_FLAG_IPV4_ROUTABLE; in necp_client_copy_interface()
10280 interface_details.flags |= NECP_INTERFACE_FLAG_IPV6_ROUTABLE; in necp_client_copy_interface()
10286 u_int8_t ipv6_signature_len = sizeof(interface_details.ipv6_signature.signature); in necp_client_copy_interface()
10289 (u_int8_t *)&interface_details.ipv6_signature) != 0) { in necp_client_copy_interface()
10292 interface_details.ipv6_signature.signature_len = ipv6_signature_len; in necp_client_copy_interface()
10299 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NETMASK; in necp_client_copy_interface()
10300 interface_details.ipv4_netmask = (ifatoia(ifa))->ia_sockmask.sin_addr.s_addr; in necp_client_copy_interface()
10302 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_BROADCAST; in necp_client_copy_interface()
10303 interface_details.ipv4_broadcast = (ifatoia(ifa))->ia_broadaddr.sin_addr.s_addr; in necp_client_copy_interface()
10309 interface_details.radio_type = interface->if_radio_type; in necp_client_copy_interface()
10310 if (interface_details.radio_type == 0 && interface->if_delegated.ifp) { in necp_client_copy_interface()
10311 interface_details.radio_type = interface->if_delegated.ifp->if_radio_type; in necp_client_copy_interface()
10320 error = copyout(&interface_details, uap->buffer, sizeof(interface_details)); in necp_client_copy_interface()