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.c234 int sockaddr_isequal(union mysockaddr* s1, union mysockaddr* s2) { in sockaddr_isequal()
250 int sa_len(union mysockaddr* addr) { in sa_len()
291 int parse_addr(int family, const char* addrstr, union mysockaddr* addr) { in parse_addr()
322 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()
585 union mysockaddr addr; in random_sock()
620 int local_bind(int fd, union mysockaddr* addr, char* intname, uint32_t mark, int is_tcp) { in local_bind()
621 union mysockaddr addr_copy = *addr; in local_bind()
645 static struct serverfd* allocate_sfd(union mysockaddr* addr, char* intname, uint32_t mark) { in allocate_sfd()
703 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.c1515 struct sockaddr_storage mysockaddr; in sock_getmyinfo() local
1521 if (getsockname(sock, (struct sockaddr *) &mysockaddr, &sockaddrlen) == -1) in sock_getmyinfo()
1528 …return sock_getascii_addrport(&mysockaddr, address, addrlen, port, portlen, flags, errbuf, errbufl… in sock_getmyinfo()