Lines Matching refs:interface_details
8898 struct necp_interface_details interface_details = {}; in necp_client_copy_interface() local
8901 uap->buffer_size < sizeof(interface_details) || in necp_client_copy_interface()
8929 strlcpy((char *)&interface_details.name, interface->if_xname, sizeof(interface_details.name)); in necp_client_copy_interface()
8931 interface_details.index = interface->if_index; in necp_client_copy_interface()
8932 interface_details.generation = ifnet_get_generation(interface); in necp_client_copy_interface()
8934 interface_details.delegate_index = interface->if_delegated.ifp->if_index; in necp_client_copy_interface()
8936 interface_details.functional_type = if_functional_type(interface, TRUE); in necp_client_copy_interface()
8938 interface_details.flags |= NECP_INTERFACE_FLAG_EXPENSIVE; in necp_client_copy_interface()
8941 interface_details.flags |= NECP_INTERFACE_FLAG_CONSTRAINED; in necp_client_copy_interface()
8944 interface_details.flags |= NECP_INTERFACE_FLAG_TXSTART; in necp_client_copy_interface()
8947 interface_details.flags |= NECP_INTERFACE_FLAG_NOACKPRI; in necp_client_copy_interface()
8950 interface_details.flags |= NECP_INTERFACE_FLAG_3CARRIERAGG; in necp_client_copy_interface()
8953 interface_details.flags |= NECP_INTERFACE_FLAG_IS_LOW_POWER; in necp_client_copy_interface()
8956 interface_details.flags |= NECP_INTERFACE_FLAG_MPK_LOG; in necp_client_copy_interface()
8959 interface_details.flags |= NECP_INTERFACE_FLAG_SUPPORTS_MULTICAST; in necp_client_copy_interface()
8962 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NAT64; in necp_client_copy_interface()
8964 interface_details.mtu = interface->if_mtu; in necp_client_copy_interface()
8966 …if_get_interface_tso_capabilities(interface, &interface_details.tso_max_segment_size_v4, &interfac… in necp_client_copy_interface()
8969 u_int8_t ipv4_signature_len = sizeof(interface_details.ipv4_signature.signature); in necp_client_copy_interface()
8972 (u_int8_t *)&interface_details.ipv4_signature) != 0) { in necp_client_copy_interface()
8975 interface_details.ipv4_signature.signature_len = ipv4_signature_len; in necp_client_copy_interface()
8987 interface_details.flags |= NECP_INTERFACE_FLAG_IPV4_ROUTABLE; in necp_client_copy_interface()
9001 interface_details.flags |= NECP_INTERFACE_FLAG_IPV6_ROUTABLE; in necp_client_copy_interface()
9007 u_int8_t ipv6_signature_len = sizeof(interface_details.ipv6_signature.signature); in necp_client_copy_interface()
9010 (u_int8_t *)&interface_details.ipv6_signature) != 0) { in necp_client_copy_interface()
9013 interface_details.ipv6_signature.signature_len = ipv6_signature_len; in necp_client_copy_interface()
9020 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NETMASK; in necp_client_copy_interface()
9021 interface_details.ipv4_netmask = ((struct in_ifaddr *)ifa)->ia_sockmask.sin_addr.s_addr; in necp_client_copy_interface()
9023 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_BROADCAST; in necp_client_copy_interface()
9024 interface_details.ipv4_broadcast = ((struct in_ifaddr *)ifa)->ia_broadaddr.sin_addr.s_addr; in necp_client_copy_interface()
9030 interface_details.radio_type = interface->if_radio_type; in necp_client_copy_interface()
9031 if (interface_details.radio_type == 0 && interface->if_delegated.ifp) { in necp_client_copy_interface()
9032 interface_details.radio_type = interface->if_delegated.ifp->if_radio_type; in necp_client_copy_interface()
9041 error = copyout(&interface_details, uap->buffer, sizeof(interface_details)); in necp_client_copy_interface()