Home
last modified time | relevance | path

Searched refs:nat (Results 1 – 25 of 86) sorted by relevance

1234

/external/libnetfilter_conntrack/utils/
Dexpect_create_nat.c19 struct nf_conntrack *master, *expected, *mask, *nat; in main() local
93 nat = nfct_new(); in main()
94 if (!nat) { in main()
102 nfct_set_attr_u8(nat, ATTR_L3PROTO, AF_INET); in main()
103 nfct_set_attr_u32(nat, ATTR_IPV4_SRC, inet_addr("3.3.3.3")); in main()
104 nfct_set_attr_u32(nat, ATTR_IPV4_DST, 0); in main()
106 nfct_set_attr_u8(nat, ATTR_L4PROTO, IPPROTO_TCP); in main()
107 nfct_set_attr_u16(nat, ATTR_PORT_SRC, 12345); in main()
108 nfct_set_attr_u16(nat, ATTR_PORT_DST, 0); in main()
126 nfexp_set_attr(exp, ATTR_EXP_NAT_TUPLE, nat); in main()
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/
Dp5-cxx0x.cpp64 struct nat { struct
65 nat() = delete;
66 nat(const nat&) = delete;
67 nat &operator=(const nat&) = delete;
68 ~nat() = delete;
80 nat swap(any, any);
84 static const bool value = !is_same<type, nat>::value;
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/
DMakefile12 %.nat: %.s
15 %.cbe.out: %.cbe.nat
18 %.out: %.nat
23 $(patsubst %.clean,%.*.nat,$@) $(patsubst %.clean,%.*.out,$@)
/external/webrtc/webrtc/base/
Dnatsocketfactory.cc392 Translator* nat = nats_.FindClient(local_addr); in CreateInternalSocket() local
393 if (nat) { in CreateInternalSocket()
394 socket = nat->internal_factory()->CreateAsyncSocket(family, type); in CreateInternalSocket()
396 nat->internal_tcp_address() : nat->internal_udp_address(); in CreateInternalSocket()
480 const SocketAddress& ext_ip, Translator* nat) { in Add() argument
481 (*this)[ext_ip] = nat; in Add()
482 return nat; in Add()
496 Translator* nat = NULL; in FindClient() local
497 for (TranslatorMap::iterator it = begin(); it != end() && !nat; ++it) { in FindClient()
498 nat = it->second->FindClient(int_ip); in FindClient()
[all …]
Dnatserver.cc18 RouteCmp::RouteCmp(NAT* nat) : symmetric(nat->IsSymmetric()) { in RouteCmp() argument
41 AddrCmp::AddrCmp(NAT* nat) in AddrCmp() argument
42 : use_ip(nat->FiltersIP()), use_port(nat->FiltersPort()) { in AddrCmp()
229 const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat) in TransEntry() argument
231 whitelist = new AddressSet(AddrCmp(nat)); in TransEntry()
Dnat_unittest.cc57 NATServer* nat = new NATServer(nat_type, internal, server_addr, server_addr, in TestSend() local
60 nat->internal_udp_address(), in TestSend()
61 nat->internal_tcp_address()); in TestSend()
91 delete nat; in TestSend()
109 NATServer* nat = new NATServer(nat_type, internal, server_addr, server_addr, in TestRecv() local
112 nat->internal_udp_address(), in TestRecv()
113 nat->internal_tcp_address()); in TestRecv()
142 delete nat; in TestRecv()
Dnatserver.h30 explicit RouteCmp(NAT* nat);
40 explicit AddrCmp(NAT* nat);
90 TransEntry(const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat);
/external/libunwind/tests/
DGia64-test-nat.c210 unw_word_t nat[4]; in check_static_to_stacked() local
224 if ((ret = unw_get_reg (c, UNW_IA64_NAT + 4 + i, &nat[i])) < 0) in check_static_to_stacked()
232 4 + i, nat[i] ? '*' : ' ', r[i], in check_static_to_stacked()
237 if (!nat[i]) in check_static_to_stacked()
242 if (nat[i]) in check_static_to_stacked()
424 unw_word_t r[4], nat[4], ec, expected; in check_static_to_scratch() local
447 if ((ret = unw_get_reg (c, UNW_IA64_NAT + 4 + i, &nat[i])) < 0) in check_static_to_scratch()
455 4 + i, nat[i] ? '*' : ' ', r[i], in check_static_to_scratch()
460 if (!nat[i]) in check_static_to_scratch()
465 if (nat[i]) in check_static_to_scratch()
[all …]
DMakefile.am28 Gia64-test-nat Lia64-test-nat \
113 Lia64_test_nat_SOURCES = Lia64-test-nat.c ia64-test-nat-asm.S
114 Gia64_test_nat_SOURCES = Gia64-test-nat.c ia64-test-nat-asm.S
/external/libunwind/src/ia64/
DGinit.c130 unsigned int nat, mask; in access_reg() local
140 if ((ret = __uc_get_grs (uc, (reg - UNW_IA64_GR), 1, &value, &nat))) in access_reg()
144 ret = __uc_set_grs (uc, (reg - UNW_IA64_GR), 1, val, nat); in access_reg()
150 if ((ret = __uc_get_grs (uc, (reg - UNW_IA64_GR), 1, &value, &nat))) in access_reg()
158 nat |= mask; in access_reg()
160 nat &= ~mask; in access_reg()
161 ret = __uc_set_grs (uc, (reg - UNW_IA64_GR), 1, &value, nat); in access_reg()
164 *val = (nat & mask) != 0; in access_reg()
186 ret = __uc_get_grs (uc, SYSCALL_CFM_SAVE_REG, 1, val, &nat); in access_reg()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DFieldId.java35 final CstNat nat; field in FieldId
45 this.nat = new CstNat(new CstString(name), new CstString(type.name)); in FieldId()
46 this.constant = new CstFieldRef(declaringType.constant, nat); in FieldId()
DMethodId.java38 final CstNat nat; field in MethodId
49 this.nat = new CstNat(new CstString(name), new CstString(descriptor(false))); in MethodId()
50 this.constant = new CstMethodRef(declaringType.constant, nat); in MethodId()
/external/libnetfilter_conntrack/src/expect/
Dparse.c95 exp->nat.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
96 set_bit(ATTR_ORIG_L3PROTO, exp->nat.set); in __parse_expect()
103 &exp->nat.orig, in __parse_expect()
105 exp->nat.set); in __parse_expect()
Dcompare.c94 return __cmp_orig((struct nf_conntrack *)&exp1->nat, in cmp_exp_natt()
95 (struct nf_conntrack *)&exp2->nat, flags); in cmp_exp_natt()
/external/tcpdump/tests/
Disakmp4.out18 IP 192.1.2.254.4500 > 192.1.2.23.4500: isakmp-nat-keep-alive
23 IP 192.1.2.254.4500 > 192.1.2.23.4500: isakmp-nat-keep-alive
28 IP 192.1.2.254.4500 > 192.1.2.23.4500: isakmp-nat-keep-alive
34 IP 192.1.2.254.4500 > 192.1.2.23.4500: isakmp-nat-keep-alive
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/
Dpointer_to.pass.cpp26 struct nat {}; struct
34 nat, element_type>::type& et) in pointer_to()
/external/iptables/extensions/
Dlibxt_cpu.man9 iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 0
12 iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 1
Dlibipt_NETMAP.t2 *nat
Dlibip6t_NETMAP.t2 *nat
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DEnclosingMethod.java95 final ConstantNameAndType nat = in getEnclosingMethod() local
97 return nat; in getEnclosingMethod()
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dp2p-action-udhcp.sh55 iptables -t nat -A POSTROUTING -o $UPLINK -j MASQUERADE
66 iptables -t nat -D POSTROUTING -o $UPLINK -j MASQUERADE
Dp2p-action.sh82 iptables -t nat -A POSTROUTING -o $UPLINK -j MASQUERADE
93 iptables -t nat -D POSTROUTING -o $UPLINK -j MASQUERADE
/external/iptables/etc/
Dxtables.conf21 table nat {
55 table nat {
/external/libnetfilter_conntrack/src/conntrack/
Dbuild_mnl.c247 const struct __nfct_nat *nat) in nfct_build_protonat() argument
257 nat->l4min.tcp.port); in nfct_build_protonat()
259 nat->l4max.tcp.port); in nfct_build_protonat()
267 nfct_build_nat(struct nlmsghdr *nlh, const struct __nfct_nat *nat, in nfct_build_nat() argument
272 mnl_attr_put_u32(nlh, CTA_NAT_MINIP, nat->min_ip.v4); in nfct_build_nat()
276 &nat->min_ip.v6); in nfct_build_nat()
Dbuild.c258 const struct __nfct_nat *nat) in __build_protonat() argument
268 &nat->l4min.tcp.port, sizeof(uint16_t)); in __build_protonat()
270 &nat->l4max.tcp.port, sizeof(uint16_t)); in __build_protonat()
278 const struct __nfct_nat *nat, in __build_nat() argument
284 &nat->min_ip.v4, sizeof(uint32_t)); in __build_nat()
288 &nat->min_ip.v6, sizeof(struct in6_addr)); in __build_nat()

1234