Home
last modified time | relevance | path

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

1234

/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/toybox/toys/pending/
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/wpa_supplicant_8/src/ap/
Deth_p_oui.c36 void (*rx_callback)(void *ctx, const u8 *src_addr,
43 void eth_p_oui_deliver(struct eth_p_oui_ctx *ctx, const u8 *src_addr, in eth_p_oui_deliver() argument
46 ctx->rx_callback(ctx->rx_callback_ctx, src_addr, dst_addr, in eth_p_oui_deliver()
51 static void eth_p_rx(void *ctx, const u8 *src_addr, const u8 *buf, size_t len) in eth_p_rx() argument
86 void (*rx_callback)(void *ctx, const u8 *src_addr, in eth_p_oui_register() argument
161 int eth_p_oui_send(struct eth_p_oui_ctx *ctx, const u8 *src_addr, in eth_p_oui_send() argument
177 os_memcpy(ethhdr->h_source, src_addr, ETH_ALEN); in eth_p_oui_send()
Dwpa_auth_ft.c71 const u8 *src_addr, u8 type, in wpa_ft_rrb_decrypt() argument
74 const u8 *ad[3] = { src_addr, auth, &type }; in wpa_ft_rrb_decrypt()
78 MAC2STR(src_addr), type); in wpa_ft_rrb_decrypt()
475 const u8 *src_addr, u8 type, u8 *enc) in wpa_ft_rrb_encrypt() argument
477 const u8 *ad[3] = { src_addr, auth, &type }; in wpa_ft_rrb_encrypt()
481 MAC2STR(src_addr), type); in wpa_ft_rrb_encrypt()
522 const u8 *src_addr, u8 type, in wpa_ft_rrb_build() argument
572 auth_len, src_addr, type, pos) < 0) in wpa_ft_rrb_build()
598 " in %s from " MACSTR, txt, MAC2STR(src_addr)); \
614 " in %s from " MACSTR, txt, MAC2STR(src_addr)); \
[all …]
Deth_p_oui.h18 void (*rx_callback)(void *ctx, const u8 *src_addr,
23 int eth_p_oui_send(struct eth_p_oui_ctx *ctx, const u8 *src_addr,
25 void eth_p_oui_deliver(struct eth_p_oui_ctx *ctx, const u8 *src_addr,
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
/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/wpa_supplicant_8/src/rsn_supp/
Dtdls.c932 static int wpa_tdls_recv_teardown(struct wpa_sm *sm, const u8 *src_addr, in wpa_tdls_recv_teardown() argument
945 if (os_memcmp(peer->addr, src_addr, ETH_ALEN) == 0) in wpa_tdls_recv_teardown()
951 "Teardown " MACSTR, MAC2STR(src_addr)); in wpa_tdls_recv_teardown()
962 " (reason code %u)", MAC2STR(src_addr), reason_code); in wpa_tdls_recv_teardown()
997 "Teardown Request from " MACSTR, MAC2STR(src_addr)); in wpa_tdls_recv_teardown()
1244 const unsigned char *src_addr, u8 dtoken, in wpa_tdls_send_tpk_m2() argument
1325 status = wpa_tdls_tpk_send(sm, src_addr, WLAN_TDLS_SETUP_RESPONSE, in wpa_tdls_send_tpk_m2()
1335 const unsigned char *src_addr, u8 dtoken, in wpa_tdls_send_tpk_m3() argument
1423 status = wpa_tdls_tpk_send(sm, src_addr, WLAN_TDLS_SETUP_CONFIRM, in wpa_tdls_send_tpk_m3()
1785 static int wpa_tdls_process_tpk_m1(struct wpa_sm *sm, const u8 *src_addr, in wpa_tdls_process_tpk_m1() argument
[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/u-boot/arch/arm/mach-imx/
Dcmd_dek.c60 uint32_t src_addr, dst_addr, len; in do_dek_blob() local
67 src_addr = simple_strtoul(argv[1], NULL, 16); in do_dek_blob()
71 src_ptr = map_sysmem(src_addr, len/8); in do_dek_blob()
/external/swiftshader/third_party/llvm-7.0/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/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/u-boot/board/armltd/vexpress64/
Dpcie.c73 void xr3pci_set_atr_entry(unsigned long base, unsigned long src_addr, in xr3pci_set_atr_entry() argument
83 writel((u32)(src_addr & 0xfffff000) | (window_size - 1) << 1 | 1, in xr3pci_set_atr_entry()
85 writel((u32)(src_addr >> 32), base + XR3PCI_ATR_SRC_ADDR_HIGH); in xr3pci_set_atr_entry()
91 src_addr, (trsl_param & 0x400000) ? "<-" : "->", trsl_addr, in xr3pci_set_atr_entry()
/external/u-boot/cmd/
Dblob.c54 ulong key_addr, src_addr, dst_addr, len; in do_blob() local
68 src_addr = simple_strtoul(argv[2], NULL, 16); in do_blob()
74 src_ptr = (uint8_t *)(uintptr_t)src_addr; in do_blob()
Daes.c28 uint32_t key_addr, iv_addr, src_addr, dst_addr, len; in do_aes() local
46 src_addr = simple_strtoul(argv[4], NULL, 16); in do_aes()
52 src_ptr = (uint8_t *)src_addr; in do_aes()
/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()
/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/u-boot/lib/efi_loader/
Defi_net.c183 struct efi_mac_address *src_addr, in efi_net_transmit() argument
188 buffer, src_addr, dest_addr, protocol); in efi_net_transmit()
233 struct efi_mac_address *src_addr, in efi_net_receive() argument
241 buffer_size, buffer, src_addr, dest_addr, protocol); in efi_net_receive()
263 if (src_addr) in efi_net_receive()
264 memcpy(src_addr, eth_hdr->et_src, ARP_HLEN); in efi_net_receive()
/external/u-boot/board/xilinx/zynqmp/
Dcmds.c65 u64 src_addr; in do_zynqmp() local
74 src_addr = simple_strtoull(argv[2], NULL, 16); in do_zynqmp()
82 src_ptr = (uint8_t *)(uintptr_t)src_addr; in do_zynqmp()
/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.h67 void (*rx_callback)(void *ctx, const u8 *src_addr,
80 void (*rx_callback)(void *ctx, const u8 *src_addr,
/external/kernel-headers/original/uapi/rdma/
Drdma_user_cm.h126 struct sockaddr_in6 src_addr; member
138 struct __kernel_sockaddr_storage src_addr; member
162 struct sockaddr_in6 src_addr; member
176 struct __kernel_sockaddr_storage src_addr; member
/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/swiftshader/third_party/llvm-7.0/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/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

1234