Home
last modified time | relevance | path

Searched refs:mysockaddr (Results 1 – 6 of 6) sorted by relevance

/external/dnsmasq/src/
Ddnsmasq.h294 union mysockaddr { union
316 union mysockaddr source_addr;
328 union mysockaddr addr, source_addr;
339 union mysockaddr addr;
354 union mysockaddr addr;
378 union mysockaddr source;
691 int sa_len(union mysockaddr* addr);
692 int sockaddr_isequal(union mysockaddr* s1, union mysockaddr* s2);
697 int parse_addr(int family, const char* addrstr, union mysockaddr* addr);
699 int prettyprint_addr(const union mysockaddr* addr, char* buf);
[all …]
Dutil.c227 int sockaddr_isequal(union mysockaddr* s1, union mysockaddr* s2) { in sockaddr_isequal()
243 int sa_len(union mysockaddr* addr) { in sa_len()
284 int parse_addr(int family, const char* addrstr, union mysockaddr* addr) { in parse_addr()
315 int prettyprint_addr(const union mysockaddr* addr, char* buf) { in prettyprint_addr()
Dnetwork.c103 static int iface_allowed(struct irec** irecp, int if_index, union mysockaddr* addr, in iface_allowed()
182 union mysockaddr addr; in iface_allowed_v6()
207 union mysockaddr addr; in iface_allowed_v4()
238 union mysockaddr addr; in create_ipv6_listener()
281 union mysockaddr addr; in create_wildcard_listeners()
576 union mysockaddr addr; in random_sock()
611 int local_bind(int fd, union mysockaddr* addr, char* intname, uint32_t mark, int is_tcp) { in local_bind()
612 union mysockaddr addr_copy = *addr; in local_bind()
636 static struct serverfd* allocate_sfd(union mysockaddr* addr, char* intname, uint32_t mark) { in allocate_sfd()
694 union mysockaddr addr; in pre_allocate_sfds()
[all …]
Dforward.c20 static struct frec* lookup_frec_by_sender(unsigned short id, union mysockaddr* addr,
28 static void send_from(int fd, int nowild, char* packet, size_t len, union mysockaddr* to, in send_from()
183 static int forward_query(int udpfd, union mysockaddr* udpaddr, struct all_addr* dst_addr, in forward_query()
410 union mysockaddr serveraddr; in reply_query()
499 union mysockaddr source_addr; in receive_query()
650 union mysockaddr peer_addr; in tcp_request()
651 socklen_t peer_len = sizeof(union mysockaddr); in tcp_request()
903 static struct frec* lookup_frec_by_sender(unsigned short id, union mysockaddr* addr, in lookup_frec_by_sender()
Ddnsmasq.c919 union mysockaddr tcp_addr; in check_dns_listeners()
920 socklen_t tcp_len = sizeof(union mysockaddr); in check_dns_listeners()
/external/libpcap/
Dsockutils.c1306 struct sockaddr_storage mysockaddr; local
1312 if (getsockname(sock, (struct sockaddr *) &mysockaddr, &sockaddrlen) == -1)
1319 …return sock_getascii_addrport(&mysockaddr, address, addrlen, port, portlen, flags, errbuf, errbufl…