Home
last modified time | relevance | path

Searched refs:raddr (Results 1 – 25 of 41) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/bpf/
Dxdping.c36 static int get_stats(int fd, __u16 count, __u32 raddr) in get_stats() argument
43 inaddr.s_addr = raddr; in get_stats()
47 if (bpf_map_lookup_elem(fd, &raddr, &pinginfo)) { in get_stats()
68 bpf_map_delete_elem(fd, &raddr); in get_stats()
103 __u32 raddr = 0; in main() local
165 raddr = rin.sin_addr.s_addr; in main()
228 if (bpf_map_update_elem(map_fd, &raddr, &pinginfo, BPF_ANY)) { in main()
247 ret = get_stats(map_fd, count, raddr); in main()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dxdping_kern.c99 __be32 raddr; in xdping_client() local
111 raddr = iph->saddr; in xdping_client()
115 pinginfo = bpf_map_lookup_elem(&ping_map, &raddr); in xdping_client()
140 iph->daddr = raddr; in xdping_client()
161 __be32 raddr; in xdping_server() local
171 raddr = iph->saddr; in xdping_server()
176 iph->daddr = raddr; in xdping_server()
/external/iproute2/ip/
Dip6tunnel.c80 format_host_r(AF_INET6, 16, &p->raddr, s1, sizeof(s1)), in print_tunnel()
166 inet_prefix raddr; in parse_args() local
169 get_prefix(&raddr, *argv, preferred_family); in parse_args()
170 if (raddr.family == AF_UNSPEC) in parse_args()
172 memcpy(&p->raddr, &raddr.data, sizeof(p->raddr)); in parse_args()
320 (IN6_IS_ADDR_UNSPECIFIED(&p1->raddr) || in ip6_tnl_parm_match()
321 IN6_ARE_ADDR_EQUAL(&p1->raddr, &p2->raddr)) && in ip6_tnl_parm_match()
Dlink_ip6tnl.c91 struct in6_addr raddr = {}; in ip6tunnel_parse_opt() local
136 memcpy(&raddr, RTA_DATA(iptuninfo[IFLA_IPTUN_REMOTE]), in ip6tunnel_parse_opt()
137 sizeof(raddr)); in ip6tunnel_parse_opt()
186 memcpy(&raddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt()
315 addattr_l(n, 1024, IFLA_IPTUN_REMOTE, &raddr, sizeof(raddr)); in ip6tunnel_parse_opt()
Dlink_gre6.c96 struct in6_addr raddr = IN6ADDR_ANY_INIT; in gre_parse_opt() local
152 memcpy(&raddr, RTA_DATA(greinfo[IFLA_GRE_REMOTE]), sizeof(raddr)); in gre_parse_opt()
255 memcpy(&raddr, &addr.data, sizeof(raddr)); in gre_parse_opt()
382 addattr_l(n, 1024, IFLA_GRE_REMOTE, &raddr, sizeof(raddr)); in gre_parse_opt()
Dlink_iptnl.c93 __u32 raddr = 0; in iptunnel_parse_opt() local
140 raddr = rta_getattr_u32(iptuninfo[IFLA_IPTUN_REMOTE]); in iptunnel_parse_opt()
197 raddr = get_addr32(*argv); in iptunnel_parse_opt()
199 raddr = 0; in iptunnel_parse_opt()
352 addattr32(n, 1024, IFLA_IPTUN_REMOTE, raddr); in iptunnel_parse_opt()
/external/ipsec-tools/src/racoon/
Dprivsep.c511 struct sockaddr *raddr; in privsep_init() local
523 raddr = (struct sockaddr *)bufs[1]; in privsep_init()
533 port, saddr2str(raddr), bufs[2]); in privsep_init()
537 raddr, bufs[2], inout) != 0) { in privsep_init()
608 struct sockaddr *raddr; in privsep_init() local
623 raddr = (struct sockaddr *)bufs[2]; in privsep_init()
637 port, saddr2str(raddr), bufs[3]); in privsep_init()
641 raddr, bufs[3], bufs[4]) != 0) { in privsep_init()
991 privsep_accounting_system(port, raddr, usr, inout) in privsep_accounting_system() argument
993 struct sockaddr *raddr;
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_snd.c254 struct sockaddr_in raddr = {0}; in setup_rx() local
264 raddr.sin_family = AF_INET; in setup_rx()
265 raddr.sin_port = htons(cfg_port); in setup_rx()
266 raddr.sin_addr.s_addr = htonl(INADDR_ANY); in setup_rx()
268 if (bind(fd, (void *)&raddr, sizeof(raddr))) in setup_rx()
Dtcp_mmap.c134 void *raddr = NULL; in child_thread() local
151 raddr = mmap(NULL, chunk_size + map_align, PROT_READ, flags, fd, 0); in child_thread()
152 if (raddr == (void *)-1) { in child_thread()
156 addr = ALIGN_PTR_UP(raddr, map_align); in child_thread()
235 munmap(raddr, chunk_size + map_align); in child_thread()
/external/toybox/toys/net/
Dnetstat.c110 } laddr, raddr; in show_ip() local
118 &laddr.i6.u.d, &lport, &raddr.i6.u.a, &raddr.i6.u.b, in show_ip()
119 &raddr.i6.u.c, &raddr.i6.u.d, &rport, &state, &txq, &rxq, in show_ip()
125 &num, &laddr.i4.u, &lport, &raddr.i4.u, &rport, &state, &txq, in show_ip()
134 addr2str(af, &raddr, rport, rip, TT.wpad, label); in show_ip()
/external/kernel-headers/original/uapi/linux/
Dip6_tunnel.h36 struct in6_addr raddr; /* remote tunnel end-point address */ member
48 struct in6_addr raddr; /* remote tunnel end-point address */ member
/external/iproute2/include/uapi/linux/
Dip6_tunnel.h34 struct in6_addr raddr; /* remote tunnel end-point address */ member
46 struct in6_addr raddr; /* remote tunnel end-point address */ member
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_disasm.c324 uint32_t raddr = (is_a ? in print_alu_src() local
346 } else if (raddr <= 31) in print_alu_src()
347 fprintf(stderr, "r%s%d", file, raddr); in print_alu_src()
350 fprintf(stderr, "%s", DESC(special_read_a, raddr - 32)); in print_alu_src()
352 fprintf(stderr, "%s", DESC(special_read_b, raddr - 32)); in print_alu_src()
Dvc4_qpu_schedule.c150 uint32_t raddr, bool is_a) in process_raddr_deps() argument
152 switch (raddr) { in process_raddr_deps()
172 if (raddr < 32) { in process_raddr_deps()
174 add_read_dep(state, state->last_ra[raddr], n); in process_raddr_deps()
176 add_read_dep(state, state->last_rb[raddr], n); in process_raddr_deps()
178 fprintf(stderr, "unknown raddr %d\n", raddr); in process_raddr_deps()
/external/strace/
Ducopy.c66 const kernel_ulong_t raddr, const size_t len) in vm_read_mem() argument
68 const unsigned long truncated_raddr = raddr; in vm_read_mem()
71 if (raddr != (kernel_ulong_t) truncated_raddr) { in vm_read_mem()
/external/python/cpython2/Lib/plat-aix4/
DIN.py65 def BUID_7F_SRVAL(raddr): return (0x87F00000 | (((uint)(raddr)) >> 28)) argument
/external/webrtc/test/fuzzers/corpora/sdp-corpus/
Dunittest-1.sdp13 a=candidate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 gene…
14 a=candidate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 gene…
Dunittest-8.sdp13 a=candidate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 gene…
14 a=candidate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 gene…
Dunittest-9.sdp13 a=candidate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 gene…
14 a=candidate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 gene…
/external/mesa3d/src/broadcom/compiler/
Dvir_to_qpu.c161 int raddr; in is_no_op_mov() local
165 raddr = qinst->qpu.raddr_a; in is_no_op_mov()
168 raddr = qinst->qpu.raddr_b; in is_no_op_mov()
173 if (raddr != waddr) in is_no_op_mov()
/external/ltp/testcases/network/netstress/
Dnetstress.c128 struct sockaddr_storage raddr; member
231 (struct sockaddr *)&i->raddr, in TST_DECLARE_ONCE_FN()
374 inf.raddr_len = sizeof(inf.raddr); in client_fn()
554 inf.raddr_len = sizeof(inf.raddr); in server_fn()
561 msg.msg_name = &inf.raddr; in server_fn()
619 send_flags, (struct sockaddr *)&inf.raddr, in server_fn()
/external/webrtc/test/fuzzers/corpora/
Dsdp.tokens33 "raddr"
/external/python/cpython3/Lib/asyncio/
Dtrsock.py53 raddr = self.getpeername()
54 if raddr:
/external/kernel-headers/original/uapi/rdma/
Dsiw-abi.h115 __aligned_u64 raddr; member
/external/python/cpython3/Lib/
Dsocket.py264 raddr = self.getpeername()
265 if raddr:
266 s += ", raddr=%s" % str(raddr)

12