Lines Matching refs:interface_details

8899 	struct necp_interface_details interface_details = {};  in necp_client_copy_interface()  local
8902 uap->buffer_size < sizeof(interface_details) || in necp_client_copy_interface()
8930 strlcpy((char *)&interface_details.name, interface->if_xname, sizeof(interface_details.name)); in necp_client_copy_interface()
8932 interface_details.index = interface->if_index; in necp_client_copy_interface()
8933 interface_details.generation = ifnet_get_generation(interface); in necp_client_copy_interface()
8935 interface_details.delegate_index = interface->if_delegated.ifp->if_index; in necp_client_copy_interface()
8937 interface_details.functional_type = if_functional_type(interface, TRUE); in necp_client_copy_interface()
8939 interface_details.flags |= NECP_INTERFACE_FLAG_EXPENSIVE; in necp_client_copy_interface()
8942 interface_details.flags |= NECP_INTERFACE_FLAG_CONSTRAINED; in necp_client_copy_interface()
8945 interface_details.flags |= NECP_INTERFACE_FLAG_TXSTART; in necp_client_copy_interface()
8948 interface_details.flags |= NECP_INTERFACE_FLAG_NOACKPRI; in necp_client_copy_interface()
8951 interface_details.flags |= NECP_INTERFACE_FLAG_3CARRIERAGG; in necp_client_copy_interface()
8954 interface_details.flags |= NECP_INTERFACE_FLAG_IS_LOW_POWER; in necp_client_copy_interface()
8957 interface_details.flags |= NECP_INTERFACE_FLAG_MPK_LOG; in necp_client_copy_interface()
8960 interface_details.flags |= NECP_INTERFACE_FLAG_SUPPORTS_MULTICAST; in necp_client_copy_interface()
8963 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NAT64; in necp_client_copy_interface()
8965 interface_details.mtu = interface->if_mtu; in necp_client_copy_interface()
8967 …if_get_interface_tso_capabilities(interface, &interface_details.tso_max_segment_size_v4, &interfac… in necp_client_copy_interface()
8970 u_int8_t ipv4_signature_len = sizeof(interface_details.ipv4_signature.signature); in necp_client_copy_interface()
8973 (u_int8_t *)&interface_details.ipv4_signature) != 0) { in necp_client_copy_interface()
8976 interface_details.ipv4_signature.signature_len = ipv4_signature_len; in necp_client_copy_interface()
8988 interface_details.flags |= NECP_INTERFACE_FLAG_IPV4_ROUTABLE; in necp_client_copy_interface()
9002 interface_details.flags |= NECP_INTERFACE_FLAG_IPV6_ROUTABLE; in necp_client_copy_interface()
9008 u_int8_t ipv6_signature_len = sizeof(interface_details.ipv6_signature.signature); in necp_client_copy_interface()
9011 (u_int8_t *)&interface_details.ipv6_signature) != 0) { in necp_client_copy_interface()
9014 interface_details.ipv6_signature.signature_len = ipv6_signature_len; in necp_client_copy_interface()
9021 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_NETMASK; in necp_client_copy_interface()
9022 interface_details.ipv4_netmask = ((struct in_ifaddr *)ifa)->ia_sockmask.sin_addr.s_addr; in necp_client_copy_interface()
9024 interface_details.flags |= NECP_INTERFACE_FLAG_HAS_BROADCAST; in necp_client_copy_interface()
9025 interface_details.ipv4_broadcast = ((struct in_ifaddr *)ifa)->ia_broadaddr.sin_addr.s_addr; in necp_client_copy_interface()
9031 interface_details.radio_type = interface->if_radio_type; in necp_client_copy_interface()
9032 if (interface_details.radio_type == 0 && interface->if_delegated.ifp) { in necp_client_copy_interface()
9033 interface_details.radio_type = interface->if_delegated.ifp->if_radio_type; in necp_client_copy_interface()
9042 error = copyout(&interface_details, uap->buffer, sizeof(interface_details)); in necp_client_copy_interface()