Home
last modified time | relevance | path

Searched refs:peer_addr (Results 1 – 25 of 60) sorted by relevance

123

/external/rust/crates/quiche/examples/
Dserver.c70 struct sockaddr_storage peer_addr; member
103 (struct sockaddr *) &conn_io->peer_addr, in flush_egress()
209 struct sockaddr_storage peer_addr; in recv_cb() local
210 socklen_t peer_addr_len = sizeof(peer_addr); in recv_cb()
211 memset(&peer_addr, 0, peer_addr_len); in recv_cb()
214 (struct sockaddr *) &peer_addr, in recv_cb()
267 (struct sockaddr *) &peer_addr, in recv_cb()
281 mint_token(dcid, dcid_len, &peer_addr, peer_addr_len, in recv_cb()
303 (struct sockaddr *) &peer_addr, in recv_cb()
315 if (!validate_token(token, token_len, &peer_addr, peer_addr_len, in recv_cb()
[all …]
Dhttp3-server.c71 struct sockaddr_storage peer_addr; member
106 (struct sockaddr *) &conn_io->peer_addr, in flush_egress()
225 struct sockaddr_storage peer_addr; in recv_cb() local
226 socklen_t peer_addr_len = sizeof(peer_addr); in recv_cb()
227 memset(&peer_addr, 0, peer_addr_len); in recv_cb()
230 (struct sockaddr *) &peer_addr, in recv_cb()
283 (struct sockaddr *) &peer_addr, in recv_cb()
297 mint_token(dcid, dcid_len, &peer_addr, peer_addr_len, in recv_cb()
319 (struct sockaddr *) &peer_addr, in recv_cb()
331 if (!validate_token(token, token_len, &peer_addr, peer_addr_len, in recv_cb()
[all …]
Dclient.rs59 let peer_addr = url.to_socket_addrs().unwrap().next().unwrap(); in main() localVariable
64 let bind_addr = match peer_addr { in main()
72 socket.connect(peer_addr).unwrap(); in main()
111 peer_addr, in main()
Dhttp3-client.rs57 let peer_addr = url.to_socket_addrs().unwrap().next().unwrap(); in main() localVariable
62 let bind_addr = match peer_addr { in main()
70 socket.connect(peer_addr).unwrap(); in main()
112 peer_addr, in main()
/external/wpa_supplicant_8/src/fst/
Dfst_group.c180 const u8 *peer_addr = NULL; in fst_mbie_get_peer_addr() local
184 peer_addr = mbie->bssid; in fst_mbie_get_peer_addr()
189 peer_addr = (const u8 *) &mbie[1]; in fst_mbie_get_peer_addr()
195 return peer_addr; in fst_mbie_get_peer_addr()
281 const u8 *peer_addr, u8 band_id, in fst_group_get_peer_other_connection_1() argument
289 mbies = fst_iface_get_peer_mb_ie(iface, peer_addr); in fst_group_get_peer_other_connection_1()
336 const u8 *peer_addr, u8 band_id, in fst_group_get_peer_other_connection_2() argument
362 if (os_memcmp(this_peer_addr, peer_addr, ETH_ALEN) == in fst_group_get_peer_other_connection_2()
392 const u8 *peer_addr, u8 band_id, in fst_group_get_peer_other_connection() argument
398 fst_iface_get_name(iface), MAC2STR(peer_addr), band_id); in fst_group_get_peer_other_connection()
[all …]
Dfst_ctrl_iface.c561 u8 peer_addr[ETH_ALEN]; in get_peer_mbies() local
572 if (fst_read_peer_addr(endp, peer_addr)) in get_peer_mbies()
583 mbies = fst_iface_get_peer_mb_ie(iface, peer_addr); in get_peer_mbies()
866 int fst_read_peer_addr(const char *mac, u8 *peer_addr) in fst_read_peer_addr() argument
868 if (hwaddr_aton(mac, peer_addr)) { in fst_read_peer_addr()
874 if (is_zero_ether_addr(peer_addr) || in fst_read_peer_addr()
875 is_multicast_ether_addr(peer_addr)) { in fst_read_peer_addr()
Dfst.c24 const u8 *peer_addr) in fst_ctrl_iface_notify_peer_state_change() argument
31 os_memcpy(extra.peer_state.addr, peer_addr, ETH_ALEN); in fst_ctrl_iface_notify_peer_state_change()
Dfst_ctrl_iface.h36 int fst_read_peer_addr(const char *mac, u8 *peer_addr);
Dfst_group.h52 const u8 *peer_addr, u8 band_id,
/external/rust/crates/tokio/tests/
Dtcp_connect.rs20 assert_eq!(addr, assert_ok!(socket.peer_addr())); in connect_v4()
29 assert_ok!(theirs.peer_addr()) in connect_v4()
33 assert_ok!(mine.peer_addr()) in connect_v4()
47 assert_eq!(addr, assert_ok!(socket.peer_addr())); in connect_v6()
56 assert_ok!(theirs.peer_addr()) in connect_v6()
60 assert_ok!(mine.peer_addr()) in connect_v6()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_kay.h17 const u8 *peer_addr);
33 const u8 *peer_addr) in ieee802_1x_notify_create_actor() argument
Dp2p_supplicant.h35 int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
62 int wpas_p2p_prov_disc(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
117 int wpas_p2p_invite(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
122 const u8 *peer_addr, const u8 *go_dev_addr);
181 void wpas_p2p_wps_success(struct wpa_supplicant *wpa_s, const u8 *peer_addr,
248 const u8 *peer_addr, int registrar) in wpas_p2p_wps_success() argument
Dwpas_kay.c322 const u8 *peer_addr) in ieee802_1x_notify_create_actor() argument
336 MACSTR, MAC2STR(peer_addr)); in ieee802_1x_notify_create_actor()
361 peer_addr, cak->key, cak->len)) { in ieee802_1x_notify_create_actor()
371 peer_addr, sid, sid_len, ckn->name)) { in ieee802_1x_notify_create_actor()
Dnotify.h164 const u8 *peer_addr);
166 const u8 *peer_addr, u16 reason_code);
/external/rust/crates/mio/src/sys/unix/uds/
Dstream.rs37 pub(crate) fn peer_addr(socket: &net::UnixStream) -> io::Result<SocketAddr> { in peer_addr() function
38 super::peer_addr(socket.as_raw_fd()) in peer_addr()
Ddatagram.rs32 pub(crate) fn peer_addr(socket: &net::UnixDatagram) -> io::Result<SocketAddr> { in peer_addr() function
33 super::peer_addr(socket.as_raw_fd()) in peer_addr()
/external/rust/crates/mio/src/sys/shell/
Duds.rs23 pub(crate) fn peer_addr(_: &net::UnixDatagram) -> io::Result<SocketAddr> { in peer_addr() function
72 pub(crate) fn peer_addr(_: &net::UnixStream) -> io::Result<SocketAddr> { in peer_addr() function
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h264 const u8 *peer_addr);
266 const u8 *peer_addr, int reason);
609 const u8 *peer_addr) in wpas_dbus_signal_mesh_peer_connected() argument
615 const u8 *peer_addr, int reason) in wpas_dbus_signal_mesh_peer_disconnected() argument
Ddbus_new_handlers_p2p.c210 u8 peer_addr[ETH_ALEN]; in wpas_dbus_handler_p2p_rejectpeer() local
215 if (parse_peer_object_path(peer_object_path, peer_addr) < 0) in wpas_dbus_handler_p2p_rejectpeer()
222 if (wpas_p2p_reject(wpa_s, peer_addr) < 0) in wpas_dbus_handler_p2p_rejectpeer()
496 u8 peer_addr[ETH_ALEN]; in wpas_dbus_handler_p2p_remove_client() local
528 (parse_peer_object_path(peer_object_path, peer_addr) < 0 || in wpas_dbus_handler_p2p_remove_client()
529 !p2p_peer_known(wpa_s->global->p2p, peer_addr))) || in wpas_dbus_handler_p2p_remove_client()
530 (interface_addr && hwaddr_aton(interface_addr, peer_addr) < 0)) in wpas_dbus_handler_p2p_remove_client()
533 wpas_p2p_remove_client(wpa_s, peer_addr, interface_addr != NULL); in wpas_dbus_handler_p2p_remove_client()
742 u8 peer_addr[ETH_ALEN]; in wpas_dbus_handler_p2p_invite() local
775 if (parse_peer_object_path(peer_object_path, peer_addr) < 0 || in wpas_dbus_handler_p2p_invite()
[all …]
/external/rust/crates/mio/src/net/uds/
Ddatagram.rs61 pub fn peer_addr(&self) -> io::Result<sys::SocketAddr> { in peer_addr() method
62 sys::uds::datagram::peer_addr(&self.inner) in peer_addr()
Dstream.rs55 pub fn peer_addr(&self) -> io::Result<sys::SocketAddr> { in peer_addr() method
56 sys::uds::stream::peer_addr(&self.inner) in peer_addr()
/external/wpa_supplicant_8/src/eap_server/
Deap_server.c272 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
329 MAC2STR(sm->peer_addr)); in SM_STATE()
646 WPA_EVENT_EAP_TIMEOUT_FAILURE MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
661 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
678 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
765 MACSTR, MAC2STR(sm->peer_addr)); in erp_send_finish_reauth()
793 MACSTR, MAC2STR(sm->peer_addr)); in erp_send_finish_reauth()
1028 MAC2STR(sm->peer_addr)); in SM_STATE()
1121 WPA_EVENT_EAP_TIMEOUT_FAILURE2 MACSTR, MAC2STR(sm->peer_addr)); in SM_STATE()
1133 MAC2STR(sm->peer_addr)); in SM_STATE()
[all …]
/external/rust/crates/mio/src/net/tcp/
Dstream.rs76 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() method
77 self.inner.peer_addr() in peer_addr()
/external/kernel-headers/original/uapi/linux/
Drds.h220 __be32 peer_addr; member
233 struct in6_addr peer_addr; member
/external/rust/crates/tokio/src/net/unix/
Dstream.rs580 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() method
581 self.io.peer_addr().map(SocketAddr) in peer_addr()

123