Searched refs:source_addr (Results 1 – 8 of 8) sorted by relevance
/external/dnsmasq/src/ |
D | network.c | 589 if (sockaddr_isequal(&sfd->source_addr, addr) && in allocate_sfd() 614 sfd->source_addr = *addr; in allocate_sfd() 651 !allocate_sfd(&srv->source_addr, srv->interface) && in pre_allocate_sfds() 701 !(new->sfd = allocate_sfd(&new->source_addr, new->interface)) && in check_servers() 778 union mysockaddr addr, source_addr; in set_servers() local 780 memset(&source_addr, 0, sizeof(source_addr)); in set_servers() 785 source_addr.in.sin_len = addr.in.sin_len = sizeof(source_addr.in); in set_servers() 787 source_addr.in.sin_family = addr.in.sin_family = AF_INET; in set_servers() 789 source_addr.in.sin_addr.s_addr = INADDR_ANY; in set_servers() 790 source_addr.in.sin_port = htons(daemon->query_port); in set_servers() [all …]
|
D | dbus.c | 104 union mysockaddr addr, source_addr; in dbus_read_servers() local 126 source_addr.in.sin_len = addr.in.sin_len = sizeof(struct sockaddr_in); in dbus_read_servers() 129 source_addr.in.sin_family = addr.in.sin_family = AF_INET; in dbus_read_servers() 131 source_addr.in.sin_addr.s_addr = INADDR_ANY; in dbus_read_servers() 132 source_addr.in.sin_port = htons(daemon->query_port); in dbus_read_servers() 156 source_addr.in6.sin6_len = addr.in6.sin6_len = sizeof(struct sockaddr_in6); in dbus_read_servers() 158 source_addr.in6.sin6_family = addr.in6.sin6_family = AF_INET6; in dbus_read_servers() 160 source_addr.in6.sin6_flowinfo = addr.in6.sin6_flowinfo = 0; in dbus_read_servers() 161 source_addr.in6.sin6_scope_id = addr.in6.sin6_scope_id = 0; in dbus_read_servers() 162 source_addr.in6.sin6_addr = in6addr_any; in dbus_read_servers() [all …]
|
D | forward.c | 565 union mysockaddr source_addr; in receive_query() local 611 msg.msg_name = &source_addr; in receive_query() 612 msg.msg_namelen = sizeof(source_addr); in receive_query() 624 source_addr.sa.sa_family = listen->family; in receive_query() 627 source_addr.in6.sin6_flowinfo = 0; in receive_query() 694 (struct all_addr *)&source_addr.in.sin_addr, types); in receive_query() 698 (struct all_addr *)&source_addr.in6.sin6_addr, types); in receive_query() 707 m, &source_addr, &dst_addr, if_index); in receive_query() 710 else if (forward_query(listen->fd, &source_addr, &dst_addr, if_index, in receive_query() 818 (!local_bind(last_server->tcpfd, &last_server->source_addr, last_server->interface, 1) || in tcp_request()
|
D | option.c | 1455 newlist->source_addr.in.sin_port = htons(source_port); in one_opt() 1456 newlist->addr.sa.sa_family = newlist->source_addr.sa.sa_family = AF_INET; in one_opt() 1458 newlist->source_addr.in.sin_len = newlist->addr.in.sin_len = sizeof(struct sockaddr_in); in one_opt() 1463 if ((newlist->source_addr.in.sin_addr.s_addr = inet_addr(source)) == (in_addr_t) -1) in one_opt() 1466 newlist->source_addr.in.sin_addr.s_addr = INADDR_ANY; in one_opt() 1474 newlist->source_addr.in.sin_addr.s_addr = INADDR_ANY; in one_opt() 1480 newlist->source_addr.in6.sin6_port = htons(source_port); in one_opt() 1481 newlist->addr.sa.sa_family = newlist->source_addr.sa.sa_family = AF_INET6; in one_opt() 1483 newlist->addr.in6.sin6_len = newlist->source_addr.in6.sin6_len = sizeof(newlist->addr.in6); in one_opt() 1488 if (inet_pton(AF_INET6, source, &newlist->source_addr.in6.sin6_addr) == 0) in one_opt() [all …]
|
D | dnsmasq.h | 321 union mysockaddr source_addr; member 332 union mysockaddr addr, source_addr; member
|
D | dnsmasq.c | 1092 reply_query(serverfdp->fd, serverfdp->source_addr.sa.sa_family, now); in check_dns_listeners()
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
D | stunserver.cc | 106 StunAddressAttribute* source_addr = in OnBindingRequest() local 108 source_addr->SetFamily(1); in OnBindingRequest() 109 source_addr->SetPort(local_addr.port()); in OnBindingRequest() 110 source_addr->SetIP(local_addr.ip()); in OnBindingRequest() 111 response.AddAttribute(source_addr); in OnBindingRequest()
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-10-14-LiveVariablesBug.ll | 9 %source_addr = alloca i16, align 2 ; <i16*> [#uses=2] 10 store i16 %source, i16* %source_addr 13 …"movw $1, $0", "=={ax},*m,~{dirflag},~{fpsr},~{flags},~{memory}"(i16* %source_addr) nounwind ; <i1…
|