/system/netd/tests/dns_responder/ |
dns_responder.cpp | 71 { ns_type::ns_t_a, "A" }, 72 { ns_type::ns_t_ns, "NS" }, 73 { ns_type::ns_t_md, "MD" }, 74 { ns_type::ns_t_mf, "MF" }, 75 { ns_type::ns_t_cname, "CNAME" }, 76 { ns_type::ns_t_soa, "SOA" }, 77 { ns_type::ns_t_mb, "MB" }, 78 { ns_type::ns_t_mb, "MG" }, 79 { ns_type::ns_t_mr, "MR" }, 80 { ns_type::ns_t_null, "NULL" } [all...] |
dns_responder.h | 49 void addMapping(const char* name, ns_type type, const char* addr); 50 void removeMapping(const char* name, ns_type type); 61 std::vector<std::pair<std::string, ns_type>> queries() const; 122 mutable std::vector<std::pair<std::string, ns_type>> queries_
|
/external/ltp/testcases/kernel/syscalls/setns/ |
setns01.c | 48 int ns_type; member in struct:testcase_t 82 .msg = "invalid ns_type", 83 .ns_type = -1, 89 .msg = "mismatch ns_type/fd", 109 t->ns_type = ns_types[i]; 114 t->ns_type = ns_types[i]; 139 t->ns_type = ns_types[(i+1) % ns_total]; 148 t->ns_type = ns_types[i]; 170 tst_resm(TINFO, "setns(%d, 0x%x)", t->fd, t->ns_type); 171 ret = syscall(__NR_setns, t->fd, t->ns_type); [all...] |
/system/netd/tests/ |
netd_test.cpp | 213 size_t GetNumQueriesForType(const test::DNSResponder& dns, ns_type type, 281 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); 290 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, nonexistent_host_name)); 296 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); 339 return total + GetNumQueriesForType(*d, ns_type::ns_t_a, mapping.entry.c_str()); 380 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); 381 dns.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); 386 dns2.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); 387 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); 456 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.5") [all...] |
/development/ndk/platforms/android-21/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-21/arch-x86/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-21/arch-x86_64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-23/arch-arm/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-23/arch-arm64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-23/arch-mips/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-23/arch-mips64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-23/arch-x86/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r10/platforms/android-23/arch-x86_64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-21/arch-arm/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-21/arch-arm64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-21/arch-mips/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-21/arch-mips64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-21/arch-x86/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-21/arch-x86_64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-23/arch-arm/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|
/prebuilts/ndk/r11/platforms/android-23/arch-arm64/usr/include/arpa/ |
nameser.h | 184 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) 352 } ns_type; typedef in typeref:enum:__ns_type 591 ns_class, ns_type, u_long, const u_char *, 648 ns_type qtype, ns_class qclass); 650 ns_nname_ct name, ns_type type, 654 ssize_t ns_rdata_unpack(const u_char *, const u_char *, ns_type, 656 int ns_rdata_equal(ns_type, 659 int ns_rdata_refers(ns_type,
|