Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 25 of 55) sorted by relevance

123

/external/toybox/toys/pending/
Dping.c54 } src_addr; local
61 if (inet_pton(AF_INET6, toys.optargs[0], (void*)&src_addr))
76 memset(&src_addr, 0, sizeof(src_addr));
79 if (!inet_pton(family, TT.iface, &src_addr)) {
88 memcpy(&src_addr,
91 else memcpy(&src_addr,
102 inet_ntop(family, &src_addr, toybuf, sizeof(toybuf));
Darping.c48 struct in_addr src_addr, dest_addr; variable
112 ptr = mempcpy(ptr, &src_addr, 4); in send_packet()
153 if (src_addr.s_addr && src_addr.s_addr != d_ip.s_addr) return; in recv_from()
155 } else if (src_addr.s_addr != d_ip.s_addr ) return; in recv_from()
231 if ((toys.optflags & FLAG_s) && !(inet_aton(TT.src_ip, &src_addr))) in arping_main()
234 && !src_addr.s_addr) src_addr = dest_addr; in arping_main()
235 if (!(toys.optflags & FLAG_D) || src_addr.s_addr) { in arping_main()
244 if (src_addr.s_addr) { in arping_main()
245 saddr.sin_addr = src_addr; in arping_main()
256 src_addr.s_addr = htonl(oip); in arping_main()
[all …]
/external/llvm/test/CodeGen/X86/
D2008-02-22-LocalRegAllocBug.ll8 %src_addr = alloca i8* ; <i8**> [#uses=5]
13 store i8* %src, i8** %src_addr
33 %tmp18 = load i8*, i8** %src_addr, align 4 ; <i8*> [#uses=1]
36 %tmp21 = load i8*, i8** %src_addr, align 4 ; <i8*> [#uses=1]
42 %tmp27 = load i8*, i8** %src_addr, align 4 ; <i8*> [#uses=1]
47 %tmp32 = load i8*, i8** %src_addr, align 4 ; <i8*> [#uses=1]
/external/wpa_supplicant_8/src/rsn_supp/
Dtdls.c916 static int wpa_tdls_recv_teardown(struct wpa_sm *sm, const u8 *src_addr, in wpa_tdls_recv_teardown() argument
929 if (os_memcmp(peer->addr, src_addr, ETH_ALEN) == 0) in wpa_tdls_recv_teardown()
935 "Teardown " MACSTR, MAC2STR(src_addr)); in wpa_tdls_recv_teardown()
946 " (reason code %u)", MAC2STR(src_addr), reason_code); in wpa_tdls_recv_teardown()
981 "Teardown Request from " MACSTR, MAC2STR(src_addr)); in wpa_tdls_recv_teardown()
1226 const unsigned char *src_addr, u8 dtoken, in wpa_tdls_send_tpk_m2() argument
1307 status = wpa_tdls_tpk_send(sm, src_addr, WLAN_TDLS_SETUP_RESPONSE, in wpa_tdls_send_tpk_m2()
1317 const unsigned char *src_addr, u8 dtoken, in wpa_tdls_send_tpk_m3() argument
1405 status = wpa_tdls_tpk_send(sm, src_addr, WLAN_TDLS_SETUP_CONFIRM, in wpa_tdls_send_tpk_m3()
1754 static int wpa_tdls_process_tpk_m1(struct wpa_sm *sm, const u8 *src_addr, in wpa_tdls_process_tpk_m1() argument
[all …]
Dwpa.c182 const unsigned char *src_addr, in wpa_supplicant_get_pmk() argument
192 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk()
254 src_addr, sm->own_addr, in wpa_supplicant_get_pmk()
259 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL)) in wpa_supplicant_get_pmk()
429 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk() argument
434 return wpa_derive_ptk_ft(sm, src_addr, key, ptk); in wpa_derive_ptk()
445 const unsigned char *src_addr, in wpa_supplicant_process_1_of_4() argument
464 "Handshake from " MACSTR " (ver=%d)", MAC2STR(src_addr), ver); in wpa_supplicant_process_1_of_4()
480 res = wpa_supplicant_get_pmk(sm, src_addr, ie.pmkid); in wpa_supplicant_process_1_of_4()
503 wpa_derive_ptk(sm, src_addr, key, ptk); in wpa_supplicant_process_1_of_4()
[all …]
Dwpa.h146 int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr,
282 static inline int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol() argument
334 int wpa_sm_rx_eapol_peerkey(struct wpa_sm *sm, const u8 *src_addr,
342 static inline int wpa_sm_rx_eapol_peerkey(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol_peerkey() argument
359 size_t ies_len, const u8 *src_addr);
395 const u8 *src_addr) in wpa_ft_validate_reassoc_resp() argument
Dpeerkey.c125 const unsigned char *src_addr, in wpa_supplicant_send_smk_m3() argument
171 wpa_eapol_key_send(sm, sm->ptk.kck, sm->ptk.kck_len, ver, src_addr, in wpa_supplicant_send_smk_m3()
179 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m2() argument
228 wpa_supplicant_send_smk_error(sm, src_addr, kde.mac_addr, in wpa_supplicant_process_smk_m2()
275 wpa_supplicant_send_smk_m3(sm, src_addr, key, ver, peerkey); in wpa_supplicant_process_smk_m2()
459 const unsigned char *src_addr, in wpa_supplicant_process_smk_m5() argument
499 wpa_supplicant_send_smk_error(sm, src_addr, kde->mac_addr, in wpa_supplicant_process_smk_m5()
514 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m45() argument
557 if (wpa_supplicant_process_smk_m5(sm, src_addr, key, ver, in wpa_supplicant_process_smk_m45()
593 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_error() argument
[all …]
Dpeerkey.h46 void peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr,
70 peerkey_rx_eapol_smk(struct wpa_sm *sm, const u8 *src_addr, in peerkey_rx_eapol_smk() argument
Dpreauth.c52 static void rsn_preauth_receive(void *ctx, const u8 *src_addr, in rsn_preauth_receive() argument
57 wpa_printf(MSG_DEBUG, "RX pre-auth from " MACSTR, MAC2STR(src_addr)); in rsn_preauth_receive()
62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { in rsn_preauth_receive()
65 MAC2STR(src_addr)); in rsn_preauth_receive()
69 eapol_sm_rx_eapol(sm->preauth_eapol, src_addr, buf, len); in rsn_preauth_receive()
/external/skia/src/opts/
DSkBitmapProcState_opts_SSSE3.cpp405 const uint8_t* src_addr = in S32_generic_D32_filter_DX_SSSE3() local
411 reinterpret_cast<const uint32_t*>(src_addr + (y0 >> 4) * rb); in S32_generic_D32_filter_DX_SSSE3()
413 reinterpret_cast<const uint32_t*>(src_addr + (XY & 0x3FFF) * rb); in S32_generic_D32_filter_DX_SSSE3()
597 const uint8_t* src_addr = in S32_generic_D32_filter_DXDY_SSSE3() local
632 reinterpret_cast<const uint32_t*>(src_addr + xy0[2] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
634 reinterpret_cast<const uint32_t*>(src_addr + xy1[2] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
636 reinterpret_cast<const uint32_t*>(src_addr + xy0[3] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
638 reinterpret_cast<const uint32_t*>(src_addr + xy1[3] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
670 reinterpret_cast<const uint32_t*>(src_addr + y0 * rb); in S32_generic_D32_filter_DXDY_SSSE3()
672 reinterpret_cast<const uint32_t*>(src_addr + y1 * rb); in S32_generic_D32_filter_DXDY_SSSE3()
/external/webrtc/webrtc/p2p/base/
Drelayserver_unittest.cc311 const StunAddressAttribute* src_addr = in TEST_F() local
313 ASSERT_TRUE(src_addr != NULL); in TEST_F()
314 EXPECT_EQ(1, src_addr->family()); in TEST_F()
315 EXPECT_EQ(client2_addr.ipaddr(), src_addr->ipaddr()); in TEST_F()
316 EXPECT_EQ(client2_addr.port(), src_addr->port()); in TEST_F()
479 const StunAddressAttribute* src_addr = in TEST_F() local
481 ASSERT_TRUE(src_addr != NULL); in TEST_F()
482 EXPECT_EQ(1, src_addr->family()); in TEST_F()
483 EXPECT_EQ(client2_addr.ipaddr(), src_addr->ipaddr()); in TEST_F()
484 EXPECT_EQ(client2_addr.port(), src_addr->port()); in TEST_F()
/external/kernel-headers/original/uapi/rdma/
Drdma_user_cm.h117 struct sockaddr_in6 src_addr; member
129 struct sockaddr_storage src_addr; member
153 struct sockaddr_in6 src_addr; member
167 struct sockaddr_storage src_addr; member
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_none.c21 void (*rx_callback)(void *ctx, const u8 *src_addr,
69 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init() argument
97 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge() argument
Dl2_packet.h66 void (*rx_callback)(void *ctx, const u8 *src_addr,
79 void (*rx_callback)(void *ctx, const u8 *src_addr,
Dl2_packet_privsep.c20 void (*rx_callback)(void *ctx, const u8 *src_addr,
130 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init() argument
237 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge() argument
Dl2_packet_freebsd.c40 void (*rx_callback)(void *ctx, const u8 *src_addr,
229 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init() argument
262 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge() argument
Dl2_packet_winpcap.c52 void (*rx_callback)(void *ctx, const u8 *src_addr,
200 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init() argument
254 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge() argument
Dl2_packet_pcap.c35 void (*rx_callback)(void *ctx, const u8 *src_addr,
281 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init() argument
318 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge() argument
Dl2_packet_ndis.c70 void (*rx_callback)(void *ctx, const u8 *src_addr,
350 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init() argument
456 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge() argument
Dl2_packet_linux.c27 void (*rx_callback)(void *ctx, const u8 *src_addr,
247 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init() argument
315 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge() argument
/external/wpa_supplicant_8/src/ap/
Dx_snoop.h19 void (*handler)(void *ctx, const u8 *src_addr,
36 void (*handler)(void *ctx, const u8 *src_addr, in x_snoop_get_l2_packet() argument
Dwpa_auth_ft.c1310 const u8 *src_addr, in wpa_ft_rrb_rx_pull() argument
1328 if (os_memcmp(r1kh->addr, src_addr, ETH_ALEN) == 0) in wpa_ft_rrb_rx_pull()
1335 MAC2STR(src_addr)); in wpa_ft_rrb_rx_pull()
1348 "request from " MACSTR, MAC2STR(src_addr)); in wpa_ft_rrb_rx_pull()
1394 wpa_ft_rrb_send(wpa_auth, src_addr, (u8 *) &resp, sizeof(resp)); in wpa_ft_rrb_rx_pull()
1446 const u8 *src_addr, in wpa_ft_rrb_rx_resp() argument
1462 if (os_memcmp(r0kh->addr, src_addr, ETH_ALEN) == 0) in wpa_ft_rrb_rx_resp()
1469 MAC2STR(src_addr)); in wpa_ft_rrb_rx_resp()
1482 "response from " MACSTR, MAC2STR(src_addr)); in wpa_ft_rrb_rx_resp()
1515 const u8 *src_addr, in wpa_ft_rrb_rx_push() argument
[all …]
/external/llvm/test/CodeGen/ARM/
Dldst-f32-2-i32.ll18 %src_addr.04 = bitcast i8* %uglygep to float*
20 %1 = load float, float* %src_addr.04, align 4
/external/wpa_supplicant_8/wpa_supplicant/
Dibss_rsn.h58 int ibss_rsn_rx_eapol(struct ibss_rsn *ibss_rsn, const u8 *src_addr,
/external/dhcpcd-6.8.2/
Darp.h61 struct in_addr src_addr; member

123