Home
last modified time | relevance | path

Searched refs:sockaddr_storage (Results 1 – 25 of 174) sorted by relevance

1234567

/external/wpa_supplicant_8/src/common/
Dctrl_iface_common.h25 struct sockaddr_storage addr;
32 void sockaddr_print(int level, const char *msg, struct sockaddr_storage *sock,
35 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
37 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
39 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
Dctrl_iface_common.c17 static int sockaddr_compare(struct sockaddr_storage *a, socklen_t a_len, in sockaddr_compare()
18 struct sockaddr_storage *b, socklen_t b_len) in sockaddr_compare()
77 void sockaddr_print(int level, const char *msg, struct sockaddr_storage *sock, in sockaddr_print()
143 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_attach()
170 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_detach()
190 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from, in ctrl_iface_level()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_addr.c852 static int cmp_addr(const struct sockaddr_storage *addr1, in cmp_addr()
853 const struct sockaddr_storage *addr2, int cmp_port) in cmp_addr()
878 const struct sockaddr_storage *addr2, int cmp_port) in cmp_sock_addr()
880 struct sockaddr_storage addr1; in cmp_sock_addr()
890 static int cmp_local_ip(int sock1, const struct sockaddr_storage *addr2) in cmp_local_ip()
895 static int cmp_local_addr(int sock1, const struct sockaddr_storage *addr2) in cmp_local_addr()
900 static int cmp_peer_addr(int sock1, const struct sockaddr_storage *addr2) in cmp_peer_addr()
905 static int start_server(int type, const struct sockaddr_storage *addr, in start_server()
936 static int connect_to_server(int type, const struct sockaddr_storage *addr, in connect_to_server()
998 static int sendmsg_to_server(int type, const struct sockaddr_storage *addr, in sendmsg_to_server()
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dns-mcast.h59 struct sockaddr_storage gr_group;
74 struct sockaddr_storage gf_group;
77 struct sockaddr_storage gf_slist[1];
81 (sizeof(struct group_filter) - sizeof(struct sockaddr_storage) \
82 + (numsrc) * sizeof(struct sockaddr_storage))
/external/syzkaller/sys/netbsd/
Dsocket.txt18 bind(fd sock, addr ptr[in, sockaddr_storage], addrlen len[addr])
19 connect(fd sock, addr ptr[in, sockaddr_storage], addrlen len[addr])
20 accept(fd sock, peer ptr[out, sockaddr_storage, opt], peerlen ptr[inout, len[peer, int32]]) sock
21 paccept(fd sock, peer ptr[out, sockaddr_storage, opt], peerlen ptr[inout, len[peer, int32]], flags …
22 sendto(fd sock, buf buffer[in], len len[buf], f flags[send_flags], addr ptr[in, sockaddr_storage, o…
23 recvfrom(fd sock, buf buffer[out], len len[buf], f flags[recv_flags], addr ptr[in, sockaddr_storage
24 getsockname(fd sock, addr ptr[out, sockaddr_storage], addrlen ptr[inout, len[addr, int32]])
25 getpeername(fd sock, peer ptr[out, sockaddr_storage], peerlen ptr[inout, len[peer, int32]])
44 # This sockaddr type corresponds to the sockaddr_storage type and is 128 bytes size.
45 sockaddr_storage [
[all …]
/external/syzkaller/sys/freebsd/
Dsocket.txt20 bind(fd sock, addr ptr[in, sockaddr_storage], addrlen len[addr])
21 connect(fd sock, addr ptr[in, sockaddr_storage], addrlen len[addr])
22 accept(fd sock, peer ptr[out, sockaddr_storage, opt], peerlen ptr[inout, len[peer, int32]]) sock
23 accept4(fd sock, peer ptr[out, sockaddr_storage, opt], peerlen ptr[inout, len[peer, int32]], flags …
24 sendto(fd sock, buf buffer[in], len len[buf], f flags[send_flags], addr ptr[in, sockaddr_storage, o…
25 recvfrom(fd sock, buf buffer[out], len len[buf], f flags[recv_flags], addr ptr[in, sockaddr_storage
26 getsockname(fd sock, addr ptr[out, sockaddr_storage], addrlen ptr[inout, len[addr, int32]])
27 getpeername(fd sock, peer ptr[out, sockaddr_storage], peerlen ptr[inout, len[peer, int32]])
46 # This sockaddr type corresponds to the sockaddr_storage type and is 128 bytes size.
47 sockaddr_storage [
[all …]
/external/libpcap/
Dsockutils.h214 int sock_check_hostlist(char *hostlist, const char *sep, struct sockaddr_storage *from, char *errbu…
215 int sock_cmpaddr(struct sockaddr_storage *first, struct sockaddr_storage *second);
219 int sock_getascii_addrport(const struct sockaddr_storage *sockaddr, char *address, int addrlen, cha…
220 int sock_present2network(const char *address, struct sockaddr_storage *sockaddr, int addr_family, c…
Dsockutils.c450 …sock_getascii_addrport((struct sockaddr_storage *) tempaddrinfo->ai_addr, TmpBuffer, sizeof(TmpBuf…
1131 int sock_check_hostlist(char *hostlist, const char *sep, struct sockaddr_storage *from, char *errbu…
1184 if (sock_cmpaddr(from, (struct sockaddr_storage *) ai_next->ai_addr) == 0)
1240 int sock_cmpaddr(struct sockaddr_storage *first, struct sockaddr_storage *second)
1306 struct sockaddr_storage mysockaddr;
1310 sockaddrlen = sizeof(struct sockaddr_storage);
1370 int sock_getascii_addrport(const struct sockaddr_storage *sockaddr, char *address, int addrlen, cha…
1383 sockaddrlen = sizeof(struct sockaddr_storage);
1460 int sock_present2network(const char *address, struct sockaddr_storage *sockaddr, int addr_family, c…
Dfad-glifc.c333 sizeof (struct sockaddr_storage), in pcap_findalldevs_interfaces()
334 netmask, sizeof (struct sockaddr_storage), in pcap_findalldevs_interfaces()
335 broadaddr, sizeof (struct sockaddr_storage), in pcap_findalldevs_interfaces()
336 dstaddr, sizeof (struct sockaddr_storage), errbuf) < 0) { in pcap_findalldevs_interfaces()
Dpcap-rpcap.c84 struct sockaddr_storage host;
282 rpcap_deseraddr(struct rpcap_sockaddr *sockaddrin, struct sockaddr_storage **sockaddrout, char *err… in rpcap_deseraddr()
294 (*sockaddrout) = (struct sockaddr_storage *) malloc(sizeof(struct sockaddr_in)); in rpcap_deseraddr()
324 (*sockaddrout) = (struct sockaddr_storage *) malloc(sizeof(struct sockaddr_in6)); in rpcap_deseraddr()
975 if (sock_cmpaddr(&temp->host, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in rpcap_remoteact_getsock()
1026 …struct sockaddr_storage saddr; /* temp, needed to retrieve the network data port chosen on the lo… in pcap_startcapture_remote()
1069 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote()
1075 ai_family = ((struct sockaddr_storage *) &saddr)->ss_family; in pcap_startcapture_remote()
1116 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote()
1231 saddrlen = sizeof(struct sockaddr_storage); in pcap_startcapture_remote()
[all …]
/external/toybox/toys/pending/
Dtftp.c32 struct sockaddr_storage inaddr;
64 static int init_tftp(struct sockaddr_storage *server)
75 memset(server, 0, sizeof(struct sockaddr_storage));
136 struct sockaddr_storage *from) in read_server()
143 alen = sizeof(struct sockaddr_storage); in read_server()
163 struct sockaddr_storage *to) in write_server()
169 sizeof(struct sockaddr_storage)); in write_server()
213 static int read_ack(int sd, uint8_t *packet, struct sockaddr_storage *server, in read_ack()
216 struct sockaddr_storage from; in read_ack()
269 struct sockaddr_storage server, from; in file_get()
[all …]
/external/webrtc/webrtc/base/
Dsocketaddress.h23 struct sockaddr_storage;
176 size_t ToDualStackSockAddrStorage(sockaddr_storage* saddr) const;
177 size_t ToSockAddrStorage(sockaddr_storage* saddr) const;
187 bool SocketAddressFromSockAddrStorage(const sockaddr_storage& saddr,
Dmacasyncsocket.cc57 sockaddr_storage addr; in GetLocalAddress()
73 sockaddr_storage addr; in GetRemoteAddress()
85 sockaddr_storage saddr = {0}; in Bind()
134 sockaddr_storage saddr; in DoConnect()
178 sockaddr_storage saddr; in SendTo()
204 sockaddr_storage saddr; in RecvFrom()
232 sockaddr_storage saddr; in Accept()
390 sockaddr_storage saddr; in CopyCFAddress()
Dsocketaddress.cc281 static size_t ToSockAddrStorageHelper(sockaddr_storage* addr, in ToSockAddrStorageHelper()
285 memset(addr, 0, sizeof(sockaddr_storage)); in ToSockAddrStorageHelper()
302 size_t SocketAddress::ToDualStackSockAddrStorage(sockaddr_storage *addr) const { in ToDualStackSockAddrStorage()
306 size_t SocketAddress::ToSockAddrStorage(sockaddr_storage* addr) const { in ToSockAddrStorage()
310 bool SocketAddressFromSockAddrStorage(const sockaddr_storage& addr, in SocketAddressFromSockAddrStorage()
/external/ipsec-tools/src/racoon/
Dpolicy.h62 struct sockaddr_storage src; /* IP src address for SP */
63 struct sockaddr_storage dst; /* IP dst address for SP */
90 struct sockaddr_storage src; /* srouce address for SA */
91 struct sockaddr_storage dst; /* destination address for SA */
Dadmin.h101 struct sockaddr_storage src;
102 struct sockaddr_storage dst;
Devt.h39 struct sockaddr_storage src;
40 struct sockaddr_storage dst;
/external/grpc-grpc/test/core/iomgr/
Dtcp_server_uv_test.cc220 struct sockaddr_storage* addr = (struct sockaddr_storage*)resolved_addr.addr; in test_connect()
221 struct sockaddr_storage* addr1 = in test_connect()
222 (struct sockaddr_storage*)resolved_addr1.addr; in test_connect()
234 resolved_addr.len = sizeof(struct sockaddr_storage); in test_connect()
235 resolved_addr1.len = sizeof(struct sockaddr_storage); in test_connect()
Dtcp_server_posix_test.cc291 struct sockaddr_storage* const addr = in test_connect()
292 reinterpret_cast<struct sockaddr_storage*>(resolved_addr.addr); in test_connect()
293 struct sockaddr_storage* const addr1 = in test_connect()
294 reinterpret_cast<struct sockaddr_storage*>(resolved_addr1.addr); in test_connect()
317 resolved_addr.len = static_cast<socklen_t>(sizeof(struct sockaddr_storage)); in test_connect()
318 resolved_addr1.len = static_cast<socklen_t>(sizeof(struct sockaddr_storage)); in test_connect()
/external/boringssl/src/crypto/bio/
Dsocket_helper.c42 struct sockaddr_storage *out_addr, in OPENSSL_MSVC_PRAGMA()
65 if ((size_t) cur->ai_addrlen > sizeof(struct sockaddr_storage)) { in OPENSSL_MSVC_PRAGMA()
68 OPENSSL_memset(out_addr, 0, sizeof(struct sockaddr_storage)); in OPENSSL_MSVC_PRAGMA()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.h49 #define sockaddr_storage sockaddr_in6 macro
51 #define sockaddr_storage sockaddr macro
71 struct sockaddr_storage ipi_addr;
/external/iproute2/include/uapi/linux/
Dsctp.h344 struct sockaddr_storage spc_aaddr;
667 struct sockaddr_storage sspp_addr;
680 struct sockaddr_storage ssp_addr;
722 struct sockaddr_storage spp_address;
827 struct sockaddr_storage spinfo_address;
942 struct sockaddr_storage sas_obs_rto_ipaddr;
987 struct sockaddr_storage spt_address;
1046 struct sockaddr_storage sctpi_p_address;
/external/ltp/utils/sctp/include/netinet/
Dsctp.h239 struct sockaddr_storage spc_aaddr;
509 struct sockaddr_storage sspp_addr;
522 struct sockaddr_storage ssp_addr;
564 struct sockaddr_storage spp_address;
662 struct sockaddr_storage spinfo_address;
763 struct sockaddr_storage sas_obs_rto_ipaddr;
/external/kernel-headers/original/uapi/linux/
Dsctp.h387 struct sockaddr_storage spc_aaddr;
723 struct sockaddr_storage sspp_addr;
736 struct sockaddr_storage ssp_addr;
780 struct sockaddr_storage spp_address;
895 struct sockaddr_storage spinfo_address;
1014 struct sockaddr_storage sas_obs_rto_ipaddr;
1059 struct sockaddr_storage spt_address;
1118 struct sockaddr_storage sctpi_p_address;
/external/openssh/
Dcanohost.c39 ipv64_normalise_mapped(struct sockaddr_storage *addr, socklen_t *len) in ipv64_normalise_mapped()
70 struct sockaddr_storage addr; in get_socket_address()
158 struct sockaddr_storage from; in get_sock_port()

1234567