Home
last modified time | relevance | path

Searched refs:source_addr (Results 1 – 19 of 19) sorted by relevance

/external/grpc-grpc/third_party/address_sorting/
Daddress_sorting.c235 sockaddr_get_scope(&first->source_addr)) { in compare_source_dest_scope_matches()
240 sockaddr_get_scope(&second->source_addr)) { in compare_source_dest_scope_matches()
254 get_label_value(&first->source_addr)) { in compare_source_dest_labels_match()
259 get_label_value(&second->source_addr)) { in compare_source_dest_labels_match()
284 address_sorting_abstract_get_family(&first->source_addr) == in compare_source_dest_prefix_match_lengths()
287 address_sorting_abstract_get_family(&second->source_addr) == in compare_source_dest_prefix_match_lengths()
290 ipv6_prefix_match_length((struct sockaddr_in6*)&first->source_addr.addr, in compare_source_dest_prefix_match_lengths()
293 (struct sockaddr_in6*)&second->source_addr.addr, in compare_source_dest_prefix_match_lengths()
342 if (memcmp(&expected_source_addr, &sortable->source_addr, in sanity_check_private_fields_are_unused()
355 &sortables[i].dest_addr, &sortables[i].source_addr); in address_sorting_rfc_6724_sort()
Daddress_sorting_posix.c56 address_sorting_address* source_addr) { in posix_source_addr_factory_get_source_addr() argument
69 *source_addr = found_source_addr; in posix_source_addr_factory_get_source_addr()
Daddress_sorting_windows.c55 address_sorting_address* source_addr) { in windows_source_addr_factory_get_source_addr() argument
67 *source_addr = found_source_addr; in windows_source_addr_factory_get_source_addr()
/external/dnsmasq/src/
Dnetwork.c659 if (sockaddr_isequal(&sfd->source_addr, addr) && mark == sfd->mark && in allocate_sfd()
681 sfd->source_addr = *addr; in allocate_sfd()
711 !allocate_sfd(&srv->source_addr, srv->interface, srv->mark) && errno != 0 && in pre_allocate_sfds()
750 !(new->sfd = allocate_sfd(&new->source_addr, new->interface, new->mark)) && in check_servers()
954 union mysockaddr addr, source_addr; in set_servers() local
956 memset(&source_addr, 0, sizeof(source_addr)); in set_servers()
960 source_addr.in.sin_family = AF_INET; in set_servers()
961 source_addr.in.sin_addr.s_addr = INADDR_ANY; in set_servers()
962 source_addr.in.sin_port = htons(daemon->query_port); in set_servers()
967 source_addr.in6.sin6_family = AF_INET6; in set_servers()
[all …]
Dforward.c499 union mysockaddr source_addr; in receive_query() local
538 msg.msg_name = &source_addr; in receive_query()
539 msg.msg_namelen = sizeof(source_addr); in receive_query()
547 source_addr.sa.sa_family = listen->family; in receive_query()
549 if (listen->family == AF_INET6) source_addr.in6.sin6_flowinfo = 0; in receive_query()
605 (struct all_addr*) &source_addr.in.sin_addr, types); in receive_query()
609 (struct all_addr*) &source_addr.in6.sin6_addr, types); in receive_query()
615 send_from(listen->fd, daemon->options & OPT_NOWILD, (char*) header, m, &source_addr, in receive_query()
618 } else if (forward_query(listen->fd, &source_addr, &dst_addr, if_index, header, (size_t) n, now, in receive_query()
714 (!local_bind(last_server->tcpfd, &last_server->source_addr, in tcp_request()
Doption.c1306 newlist->source_addr.in.sin_addr.s_addr = INADDR_ANY; in one_opt()
1313 newlist->source_addr.in.sin_addr.s_addr = INADDR_ANY; in one_opt()
1315 newlist->source_addr.in.sin_port = htons(source_port); in one_opt()
1316 newlist->source_addr.sa.sa_family = AF_INET; in one_opt()
1323 if (parse_addr(AF_INET6, source, &newlist->source_addr) != 0) { in one_opt()
1325 newlist->source_addr.in6.sin6_addr = in6addr_any; in one_opt()
1332 newlist->source_addr.in6.sin6_addr = in6addr_any; in one_opt()
1334 newlist->source_addr.in6.sin6_port = htons(source_port); in one_opt()
1335 newlist->source_addr.sa.sa_family = AF_INET6; in one_opt()
1346 serv->next->source_addr = serv->source_addr; in one_opt()
[all …]
Ddnsmasq.h316 union mysockaddr source_addr; member
328 union mysockaddr addr, source_addr; member
Ddnsmasq.c896 reply_query(serverfdp->fd, serverfdp->source_addr.sa.sa_family, now); in check_dns_listeners()
/external/autotest/client/common_lib/cros/network/
Dtcpdump_analyzer.py32 def __init__(self, frametime, bit_rate, mcs_index, ssid, source_addr): argument
37 self._source_addr = source_addr
74 def source_addr(self): member in Frame
174 source_addr = _fetch_frame_field_value(
190 frames.append(Frame(frametime, rate, mcs_index, ssid, source_addr))
/external/llvm/test/CodeGen/X86/
D2009-10-14-LiveVariablesBug.ll9 %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…
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2009-10-14-LiveVariablesBug.ll9 %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…
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2009-10-14-LiveVariablesBug.ll9 %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…
/external/ltp/testcases/network/netstress/
Dnetstress.c88 static char *source_addr; variable
474 if (source_addr) in client_init()
475 setup_addrinfo(source_addr, NULL, &hints, &local_addrinfo); in client_init()
665 if (!source_addr && !tcp_port) in server_init()
668 if (source_addr && !strchr(source_addr, ':')) in server_init()
669 SAFE_ASPRINTF(&src_addr, "::ffff:%s", source_addr); in server_init()
670 setup_addrinfo(src_addr ? src_addr : source_addr, tcp_port, in server_init()
890 if (source_addr && tst_kvercmp(4, 2, 0) >= 0) { in setup()
994 {"S:", &source_addr, "-S x Source address to bind"},
/external/grpc-grpc/third_party/address_sorting/include/address_sorting/
Daddress_sorting.h62 address_sorting_address source_addr; member
83 address_sorting_address* source_addr);
/external/grpc-grpc/test/cpp/naming/
Daddress_sorting_test.cc102 address_sorting_address* source_addr) { in GetSourceAddr() argument
126 memcpy(source_addr->addr, &source_addr_as_resolved_addr.addr, in GetSourceAddr()
128 source_addr->len = source_addr_as_resolved_addr.len; in GetSourceAddr()
142 address_sorting_address* source_addr) { in mock_source_addr_factory_wrapper_get_source_addr() argument
145 return mock->GetSourceAddr(dest_addr, source_addr); in mock_source_addr_factory_wrapper_get_source_addr()
/external/autotest/server/site_tests/network_WiFi_RandomMACAddress/
Dnetwork_WiFi_RandomMACAddress.py30 elif any(frame.source_addr == dut_hw_mac for frame in frames):
/external/autotest/server/site_tests/network_WiFi_DisableRandomMACAddress/
Dnetwork_WiFi_DisableRandomMACAddress.py35 elif any(frame.source_addr != dut_hw_mac for frame in frames):
/external/kernel-headers/original/uapi/linux/
Drose.h81 rose_address source_addr, dest_addr; member
Dax25.h80 ax25_address source_addr; member