/tools/netsim/rust/daemon/src/ |
D | ffi.rs | 32 fn handle_request_cxx(chip_id: u32, packet: &CxxVector<u8>, packet_type: u8); in handle_request_cxx() 35 fn handle_response_cxx(chip_id: u32, packet: &CxxVector<u8>, packet_type: u8); in handle_response_cxx() 53 fn StreamPackets(server: &String) -> u32; in StreamPackets() 60 stream_id: u32, in ReadPacketResponseLoop() 61 read_fn: fn(stream_id: u32, proto_bytes: &[u8]), in ReadPacketResponseLoop() 68 fn WritePacketRequest(stream_id: u32, proto_bytes: &[u8]) -> bool; in WritePacketRequest() 102 facade_id: u32, in create_add_rust_device_result() 110 rootcanal_id: u32, in report_invalid_packet_cxx() 124 fn HandleBtRequestCxx(rootcanal_id: u32, packet_type: u8, packet: &Vec<u8>); in HandleBtRequestCxx() 143 pub fn Reset(rootcanal_id: u32); in Reset() [all …]
|
D | service.rs | 87 fn run_grpc_server(&mut self) -> anyhow::Result<u32> { in run_grpc_server() 154 pub fn new_test_beacon(idx: u32, interval: u64) { in new_test_beacon()
|
/tools/netsim/rust/daemon/src/wifi/ |
D | medium.rs | 76 fn new(client_id: u32, addr: MacAddress, hwsim_addr: MacAddress) -> Self { in new() 80 fn update_freq(&self, freq: u32) { in update_freq() 124 pub fn add(&self, client_id: u32) { in add() 131 pub fn remove(&self, client_id: u32) { in remove() 136 pub fn reset(&self, client_id: u32) { in reset() 164 fn upsert_station(&self, client_id: u32, frame: &Frame) -> anyhow::Result<()> { in upsert_station() 182 pub fn ack_frame(&self, client_id: u32, frame: &Frame) { in ack_frame() 190 fn ack_frame_internal(&self, client_id: u32, frame: &Frame) -> anyhow::Result<()> { in ack_frame_internal() 207 pub fn get_processor(&self, client_id: u32, packet: &Bytes) -> Option<Processor> { in get_processor() 287 fn validate(&self, client_id: u32, packet: &Bytes) -> anyhow::Result<Frame> { in validate() [all …]
|
/tools/netsim/rust/proto/src/ |
D | stats.rs | 386 pub fn device_id(&self) -> u32 { in device_id() 399 pub fn set_device_id(&mut self, v: u32) { in set_device_id() 852 pub fn get_version(&self) -> u32 { in get_version() 865 pub fn set_get_version(&mut self, v: u32) { in set_get_version() 871 pub fn create_device(&self) -> u32 { in create_device() 884 pub fn set_create_device(&mut self, v: u32) { in set_create_device() 890 pub fn delete_chip(&self) -> u32 { in delete_chip() 903 pub fn set_delete_chip(&mut self, v: u32) { in set_delete_chip() 909 pub fn patch_device(&self) -> u32 { in patch_device() 922 pub fn set_patch_device(&mut self, v: u32) { in set_patch_device() [all …]
|
/tools/netsim/rust/daemon/src/wireless/ |
D | wifi_manager.rs | 80 fn medium_callback(id: u32, packet: &Bytes) { in medium_callback() 124 tx_request: mpsc::Sender<(u32, Bytes)>, in new() 144 rx_request: mpsc::Receiver<(u32, Bytes)>, in start_threads() 161 rx_request: mpsc::Receiver<(u32, Bytes)>, in start_request_thread()
|
D | packet.rs | 106 pub fn handle_response_cxx(chip_id: u32, packet: &cxx::CxxVector<u8>, packet_type: u8) { in handle_response_cxx() 166 pub fn handle_request_cxx(chip_id: u32, packet: &cxx::CxxVector<u8>, packet_type: u8) { in handle_request_cxx()
|
/tools/netsim/rust/daemon/src/captures/ |
D | captures_handler.rs | 255 packet_type: u32, in handle_packet() 304 pub fn host_to_controller(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in host_to_controller() 314 pub fn controller_to_host(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in controller_to_host()
|
D | pcap_util.rs | 119 packet_type: u32, in wrap_bt_packet()
|
D | capture.rs | 197 packet_type: u32, in send()
|
/tools/netsim/rust/daemon/src/grpc_server/ |
D | server.rs | 25 pub fn start(port: u32, no_cli_ui: bool, _vsock: u16) -> anyhow::Result<(Server, u16)> { in start()
|
/tools/netsim/rust/common/src/util/ |
D | os_utils.rs | 84 pub fn get_hci_port(hci_port_flag: u32, instance: u16) -> u32 { in get_hci_port()
|
D | ini_file.rs | 119 pub fn create_ini(instance_num: u16, grpc_port: u32, web_port: Option<u16>) -> std::io::Result<()> { in create_ini()
|
/tools/netsim/rust/libslirp-rs/src/libslirp_sys/ |
D | mod.rs | 153 impl From<in_addr> for u32 { implementation 170 pub fn htonl(hostlong: u32) -> u32 { in htonl() 176 pub fn ntohl(netlong: u32) -> u32 { in ntohl()
|
/tools/netsim/rust/daemon/src/transport/ |
D | fd.rs | 301 fn connector_grpc_read_callback(stream_id: u32, proto_bytes: &[u8]) { in connector_grpc_read_callback() 322 fn connector_grpc_reader(chip_kind: ChipKind, stream_id: u32, file_in: File) -> JoinHandle<()> { in connector_grpc_reader()
|
/tools/netsim/rust/daemon/src/bluetooth/ |
D | chip.rs | 39 facade_id: u32, in create_add_rust_device_result()
|
/tools/security/remote_provisioning/hwtrust/src/cbor/ |
D | field_value.rs | 180 pub fn into_u32(self) -> Result<u32, FieldValueError> { in into_u32() 184 pub fn into_optional_u32(self) -> Result<Option<u32>, FieldValueError> { in into_optional_u32()
|
/tools/netsim/rust/capture/src/ |
D | pcap.rs | 123 impl From<LinkType> for u32 { implementation
|
/tools/netsim/rust/cli/src/ |
D | lib.rs | 144 ) -> anyhow::Result<u32> { in find_id_for_remove()
|
/tools/asuite/adevice/tests/common/ |
D | fakes.rs | 83 pub fn wait_calls(&self) -> u32 { in wait_calls()
|
/tools/netsim/rust/http-proxy/src/ |
D | dns.rs | 37 fn read_u32(&mut self) -> std::io::Result<u32>; in read_u32() 58 fn read_u32(&mut self) -> std::io::Result<u32> { in read_u32()
|
/tools/netsim/rust/libslirp-rs/src/libslirp_sys/macos/ |
D | bindings.rs | 2470 arg4: u32, in setipv4sourcefilter() 2471 arg5: u32, in setipv4sourcefilter() 2480 arg4: *mut u32, in getipv4sourcefilter() 2481 arg5: *mut u32, in getipv4sourcefilter() 2488 arg2: u32, in setsourcefilter() 2491 arg5: u32, in setsourcefilter() 2492 arg6: u32, in setsourcefilter() 2499 arg2: u32, in getsourcefilter() 2502 arg5: *mut u32, in getsourcefilter() 2503 arg6: *mut u32, in getsourcefilter() [all …]
|
/tools/netsim/rust/daemon/src/devices/ |
D | devices_handler.rs | 588 pub fn get_distance_cxx(a: u32, b: u32) -> f32 { in get_distance_cxx()
|
/tools/netsim/rust/libslirp-rs/src/libslirp_sys/linux/ |
D | bindings.rs | 2719 pub fn ntohl(__netlong: u32) -> u32; in ntohl() 2725 pub fn htonl(__hostlong: u32) -> u32; in htonl() 3266 timeout: *mut u32, in slirp_pollfds_fill()
|