Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 25 of 71) 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/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c230 struct sockaddr_nl src_addr; in main() local
249 memset(&src_addr, 0, sizeof(src_addr)); in main()
250 src_addr.nl_family = AF_NETLINK; in main()
251 src_addr.nl_pid = 0; in main()
252 src_addr.nl_groups = 0; in main()
266 ret = control_pec(sd, &src_addr, PROC_CN_MCAST_LISTEN); in main()
280 control_pec(sd, &src_addr, PROC_CN_MCAST_IGNORE); in main()
286 ret = netlink_recv(sd, &src_addr); in main()
293 control_pec(sd, &src_addr, PROC_CN_MCAST_IGNORE); in main()
314 ret = control_pec(sd, &src_addr, PROC_CN_MCAST_IGNORE); in main()
/external/swiftshader/third_party/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** %src_addr, align 4 ; <i8*> [#uses=1]
36 %tmp21 = load i8** %src_addr, align 4 ; <i8*> [#uses=1]
42 %tmp27 = load i8** %src_addr, align 4 ; <i8*> [#uses=1]
47 %tmp32 = load i8** %src_addr, align 4 ; <i8*> [#uses=1]
/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.c934 static int wpa_tdls_recv_teardown(struct wpa_sm *sm, const u8 *src_addr, in wpa_tdls_recv_teardown() argument
947 if (os_memcmp(peer->addr, src_addr, ETH_ALEN) == 0) in wpa_tdls_recv_teardown()
953 "Teardown " MACSTR, MAC2STR(src_addr)); in wpa_tdls_recv_teardown()
964 " (reason code %u)", MAC2STR(src_addr), reason_code); in wpa_tdls_recv_teardown()
999 "Teardown Request from " MACSTR, MAC2STR(src_addr)); in wpa_tdls_recv_teardown()
1246 const unsigned char *src_addr, u8 dtoken, in wpa_tdls_send_tpk_m2() argument
1327 status = wpa_tdls_tpk_send(sm, src_addr, WLAN_TDLS_SETUP_RESPONSE, in wpa_tdls_send_tpk_m2()
1337 const unsigned char *src_addr, u8 dtoken, in wpa_tdls_send_tpk_m3() argument
1425 status = wpa_tdls_tpk_send(sm, src_addr, WLAN_TDLS_SETUP_CONFIRM, in wpa_tdls_send_tpk_m3()
1787 static int wpa_tdls_process_tpk_m1(struct wpa_sm *sm, const u8 *src_addr, in wpa_tdls_process_tpk_m1() argument
[all …]
Dpeerkey.c124 const unsigned char *src_addr, in wpa_supplicant_send_smk_m3() argument
169 wpa_eapol_key_send(sm, &sm->ptk, ver, src_addr, ETH_P_EAPOL, rbuf, rlen, in wpa_supplicant_send_smk_m3()
177 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m2() argument
226 wpa_supplicant_send_smk_error(sm, src_addr, kde.mac_addr, in wpa_supplicant_process_smk_m2()
273 wpa_supplicant_send_smk_m3(sm, src_addr, key, ver, peerkey); in wpa_supplicant_process_smk_m2()
458 const unsigned char *src_addr, in wpa_supplicant_process_smk_m5() argument
498 wpa_supplicant_send_smk_error(sm, src_addr, kde->mac_addr, in wpa_supplicant_process_smk_m5()
513 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_m45() argument
556 if (wpa_supplicant_process_smk_m5(sm, src_addr, key, ver, in wpa_supplicant_process_smk_m45()
592 struct wpa_sm *sm, const unsigned char *src_addr, in wpa_supplicant_process_smk_error() argument
[all …]
Dwpa.h150 int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr,
290 static inline int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol() argument
342 int wpa_sm_rx_eapol_peerkey(struct wpa_sm *sm, const u8 *src_addr,
350 static inline int wpa_sm_rx_eapol_peerkey(struct wpa_sm *sm, const u8 *src_addr, in wpa_sm_rx_eapol_peerkey() argument
367 size_t ies_len, const u8 *src_addr);
403 const u8 *src_addr) in wpa_ft_validate_reassoc_resp() argument
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
Dwpa.c256 const unsigned char *src_addr, in wpa_supplicant_get_pmk() argument
266 sm->cur_pmksa = pmksa_cache_get(sm->pmksa, src_addr, pmkid, in wpa_supplicant_get_pmk()
328 src_addr, sm->own_addr, in wpa_supplicant_get_pmk()
333 pmksa_cache_get(sm->pmksa, src_addr, pmkid, NULL)) in wpa_supplicant_get_pmk()
501 static int wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk() argument
506 return wpa_derive_ptk_ft(sm, src_addr, key, ptk); in wpa_derive_ptk()
517 const unsigned char *src_addr, in wpa_supplicant_process_1_of_4() argument
536 "Handshake from " MACSTR " (ver=%d)", MAC2STR(src_addr), ver); in wpa_supplicant_process_1_of_4()
552 res = wpa_supplicant_get_pmk(sm, src_addr, ie.pmkid); in wpa_supplicant_process_1_of_4()
575 wpa_derive_ptk(sm, src_addr, key, ptk); in wpa_supplicant_process_1_of_4()
[all …]
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/stressapptest/src/
Derror_diag.cc215 void *src_addr, void *dst_addr) { in AddHDDMiscompareError() argument
222 error->addr_ = reinterpret_cast<uint64>(src_addr); in AddHDDMiscompareError()
227 string src_dimm = AddressToDimmString(os_, src_addr, offset); in AddHDDMiscompareError()
268 int sector, void *src_addr, in AddHDDSectorTagError() argument
276 error->addr_ = reinterpret_cast<uint64>(src_addr); in AddHDDSectorTagError()
281 string src_dimm = AddressToDimmString(os_, src_addr, offset); in AddHDDSectorTagError()
Derror_diag.h144 void *src_addr, void *dst_addr);
148 int sector, void *src_addr, void *dst_addr);
/external/skia/src/opts/
DSkBitmapProcState_opts_SSSE3.cpp399 const uint8_t* src_addr = in S32_generic_D32_filter_DX_SSSE3() local
405 reinterpret_cast<const uint32_t*>(src_addr + (y0 >> 4) * rb); in S32_generic_D32_filter_DX_SSSE3()
407 reinterpret_cast<const uint32_t*>(src_addr + (XY & 0x3FFF) * rb); in S32_generic_D32_filter_DX_SSSE3()
591 const uint8_t* src_addr = in S32_generic_D32_filter_DXDY_SSSE3() local
626 reinterpret_cast<const uint32_t*>(src_addr + xy0[2] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
628 reinterpret_cast<const uint32_t*>(src_addr + xy1[2] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
630 reinterpret_cast<const uint32_t*>(src_addr + xy0[3] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
632 reinterpret_cast<const uint32_t*>(src_addr + xy1[3] * rb); in S32_generic_D32_filter_DXDY_SSSE3()
664 reinterpret_cast<const uint32_t*>(src_addr + y0 * rb); in S32_generic_D32_filter_DXDY_SSSE3()
666 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 __kernel_sockaddr_storage src_addr; member
153 struct sockaddr_in6 src_addr; member
167 struct __kernel_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
/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.c1427 const u8 *src_addr, in wpa_ft_rrb_rx_pull() argument
1445 if (os_memcmp(r1kh->addr, src_addr, ETH_ALEN) == 0) in wpa_ft_rrb_rx_pull()
1452 MAC2STR(src_addr)); in wpa_ft_rrb_rx_pull()
1465 "request from " MACSTR, MAC2STR(src_addr)); in wpa_ft_rrb_rx_pull()
1514 wpa_ft_rrb_send(wpa_auth, src_addr, (u8 *) &resp, sizeof(resp)); in wpa_ft_rrb_rx_pull()
1564 const u8 *src_addr, in wpa_ft_rrb_rx_resp() argument
1580 if (os_memcmp(r0kh->addr, src_addr, ETH_ALEN) == 0) in wpa_ft_rrb_rx_resp()
1587 MAC2STR(src_addr)); in wpa_ft_rrb_rx_resp()
1600 "response from " MACSTR, MAC2STR(src_addr)); in wpa_ft_rrb_rx_resp()
1633 const u8 *src_addr, in wpa_ft_rrb_rx_push() argument
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Dldst-f32-2-i32.ll18 %src_addr.04 = bitcast i8* %uglygep to float*
20 %1 = load float* %src_addr.04, align 4
/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/ltp/testcases/network/stress/ns-tools/
Doutput_ipsec_conf69 output_ipsec_conf target protocol mode first_spi src_addr dst_addr
74 src_addr: source IP address

123