| /OK3568_Linux_fs/kernel/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | nat.json | 4 "name": "Add nat action on ingress with default control action", 7 "nat" 11 "$TC actions flush action nat", 17 "cmdUnderTest": "$TC actions add action nat ingress 192.168.1.1 200.200.200.1", 19 "verifyCmd": "$TC actions ls action nat", 20 "matchPattern": "action order [0-9]+: nat ingress 192.168.1.1/32 200.200.200.1 pass", 23 "$TC actions flush action nat" 28 "name": "Add nat action on ingress with pipe control action", 31 "nat" 35 "$TC actions flush action nat", [all …]
|
| H A D | ct.json | 172 "name": "Try ct with zone, commit, mark, nat", 185 …"cmdUnderTest": "$TC actions add action ct zone 404 commit mark 0x42 nat src addr 5.5.5.7 index 42… 188 …"matchPattern": "action order [0-9]*: ct commit mark 66 zone 404 nat src addr 5.5.5.7 pipe.*index … 196 "name": "Try ct with full nat ipv4 range syntax", 209 …"cmdUnderTest": "$TC actions add action ct commit nat src addr 5.5.5.7-5.5.6.0 port 1000-2000 inde… 212 …"matchPattern": "action order [0-9]*: ct commit zone 0 nat src addr 5.5.5.7-5.5.6.0 port 1000-2000… 220 "name": "Try ct with full nat ipv6 syntax", 233 … "cmdUnderTest": "$TC actions add action ct commit nat src addr 2001::1 port 1000-2000 index 44", 236 …"matchPattern": "action order [0-9]*: ct commit zone 0 nat src addr 2001::1 port 1000-2000 pipe.*i… 244 "name": "Try ct with full nat ipv6 range syntax", [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv4/netfilter/ |
| H A D | nf_nat_pptp.c | 5 * NAT support for PPTP (Point to Point Tunneling Protocol). 19 * TODO: - NAT to a unique tuple, not to TCP source port 40 MODULE_DESCRIPTION("Netfilter NAT helper module for PPTP"); 53 struct nf_conn_nat *nat; in pptp_nat_expected() local 55 nat = nf_ct_nat_ext_add(ct); in pptp_nat_expected() 56 if (WARN_ON_ONCE(!nat)) in pptp_nat_expected() 59 nat_pptp_info = &nat->help.nat_pptp_info; in pptp_nat_expected() 129 struct nf_conn_nat *nat = nfct_nat(ct); in pptp_outbound_pkt() local 135 if (WARN_ON_ONCE(!nat)) in pptp_outbound_pkt() 138 nat_pptp_info = &nat->help.nat_pptp_info; in pptp_outbound_pkt() [all …]
|
| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | node.h | 11 /* node block offset on the NAT area dedicated to the given start node id */ 34 /* vector size for gang look-up from nat cache that consists of radix tree */ 49 IS_DIRTY, /* this nat entry is dirty? */ 50 IS_PREALLOC, /* nat entry is preallocated */ 65 struct list_head list; /* for clean or dirty nat list */ 69 #define nat_get_nid(nat) ((nat)->ni.nid) argument 70 #define nat_set_nid(nat, n) ((nat)->ni.nid = (n)) argument 71 #define nat_get_blkaddr(nat) ((nat)->ni.blk_addr) argument 72 #define nat_set_blkaddr(nat, b) ((nat)->ni.blk_addr = (b)) argument 73 #define nat_get_ino(nat) ((nat)->ni.ino) argument [all …]
|
| /OK3568_Linux_fs/buildroot/package/gdb/11.2/ |
| H A D | 0010-The-signal-definitions-of-musl-and-gdb-collide.patch | 18 gdb/nat/aarch64-sve-linux-ptrace.h | 2 +- 19 gdb/nat/aarch64-sve-linux-sigcontext.h | 2 ++ 22 diff --git a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h 24 --- a/gdb/nat/aarch64-sve-linux-ptrace.h 25 +++ b/gdb/nat/aarch64-sve-linux-ptrace.h 35 diff --git a/gdb/nat/aarch64-sve-linux-sigcontext.h b/gdb/nat/aarch64-sve-linux-sigcontext.h 37 --- a/gdb/nat/aarch64-sve-linux-sigcontext.h 38 +++ b/gdb/nat/aarch64-sve-linux-sigcontext.h
|
| H A D | 0009-gdb-Fix-native-build-on-xtensa.patch | 14 ../../gdb/xtensa-linux-nat.c: In function ‘void fill_gregset(const regcache*, elf_greg_t (*)[128], … 15 ../../gdb/xtensa-linux-nat.c:66:17: error: ‘gdbarch_pc_regnum’ was not declared in this scope 19 ../../gdb/xtensa-linux-nat.c:68:17: error: ‘gdbarch_ps_regnum’ was not declared in this scope 22 ../../gdb/xtensa-linux-nat.c:71:38: error: no matching function for call to ‘gdbarch_tdep::gdbarch_… 25 In file included from ../../gdb/xtensa-linux-nat.c:38: 34 ../../gdb/xtensa-linux-nat.c:72:49: error: no matching function for call to ‘gdbarch_tdep::gdbarch_… 40 gdb/xtensa-linux-nat.c | 1 + 43 diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c 45 --- a/gdb/xtensa-linux-nat.c 46 +++ b/gdb/xtensa-linux-nat.c
|
| H A D | 0005-nat-fork-inferior-include-linux-ptrace.h.patch | 4 Subject: [PATCH] nat/fork-inferior: include linux-ptrace.h 23 ../nat/fork-inferior.c: In function 'pid_t fork_inferior(const char*, const string&, char**, void (… 24 ../nat/fork-inferior.c:376:11: error: 'fork' was not declared in this scope 27 ../nat/fork-inferior.c:376:11: note: suggested alternative: 'vfork' 36 gdb/nat/fork-inferior.c | 1 + 39 diff --git a/gdb/nat/fork-inferior.c b/gdb/nat/fork-inferior.c 41 --- a/gdb/nat/fork-inferior.c 42 +++ b/gdb/nat/fork-inferior.c
|
| H A D | 0003-use-asm-sgidefs.h.patch | 22 gdb/mips-linux-nat.c | 2 +- 25 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 27 --- a/gdb/mips-linux-nat.c 28 +++ b/gdb/mips-linux-nat.c 35 #include "nat/gdb_ptrace.h"
|
| H A D | 0007-fix-musl-build-on-riscv.patch | 22 gdb/nat/riscv-linux-tdesc.c | 5 +++++ 26 diff --git a/gdb/nat/riscv-linux-tdesc.c b/gdb/nat/riscv-linux-tdesc.c 28 --- a/gdb/nat/riscv-linux-tdesc.c 29 +++ b/gdb/nat/riscv-linux-tdesc.c 39 /* See nat/riscv-linux-tdesc.h. */
|
| /OK3568_Linux_fs/buildroot/package/gdb/10.2/ |
| H A D | 0010-The-signal-definitions-of-musl-and-gdb-collide.patch | 18 gdb/nat/aarch64-sve-linux-ptrace.h | 2 +- 19 gdb/nat/aarch64-sve-linux-sigcontext.h | 2 ++ 22 diff --git a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h 24 --- a/gdb/nat/aarch64-sve-linux-ptrace.h 25 +++ b/gdb/nat/aarch64-sve-linux-ptrace.h 35 diff --git a/gdb/nat/aarch64-sve-linux-sigcontext.h b/gdb/nat/aarch64-sve-linux-sigcontext.h 37 --- a/gdb/nat/aarch64-sve-linux-sigcontext.h 38 +++ b/gdb/nat/aarch64-sve-linux-sigcontext.h
|
| H A D | 0009-gdb-Fix-native-build-on-xtensa.patch | 14 ../../gdb/xtensa-linux-nat.c: In function ‘void fill_gregset(const regcache*, elf_greg_t (*)[128], … 15 ../../gdb/xtensa-linux-nat.c:66:17: error: ‘gdbarch_pc_regnum’ was not declared in this scope 19 ../../gdb/xtensa-linux-nat.c:68:17: error: ‘gdbarch_ps_regnum’ was not declared in this scope 22 ../../gdb/xtensa-linux-nat.c:71:38: error: no matching function for call to ‘gdbarch_tdep::gdbarch_… 25 In file included from ../../gdb/xtensa-linux-nat.c:38: 34 ../../gdb/xtensa-linux-nat.c:72:49: error: no matching function for call to ‘gdbarch_tdep::gdbarch_… 40 gdb/xtensa-linux-nat.c | 1 + 43 diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c 45 --- a/gdb/xtensa-linux-nat.c 46 +++ b/gdb/xtensa-linux-nat.c
|
| H A D | 0005-nat-fork-inferior-include-linux-ptrace.h.patch | 4 Subject: [PATCH] nat/fork-inferior: include linux-ptrace.h 23 ../nat/fork-inferior.c: In function 'pid_t fork_inferior(const char*, const string&, char**, void (… 24 ../nat/fork-inferior.c:376:11: error: 'fork' was not declared in this scope 27 ../nat/fork-inferior.c:376:11: note: suggested alternative: 'vfork' 36 gdb/nat/fork-inferior.c | 1 + 39 diff --git a/gdb/nat/fork-inferior.c b/gdb/nat/fork-inferior.c 41 --- a/gdb/nat/fork-inferior.c 42 +++ b/gdb/nat/fork-inferior.c
|
| H A D | 0003-use-asm-sgidefs.h.patch | 22 gdb/mips-linux-nat.c | 2 +- 25 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 27 --- a/gdb/mips-linux-nat.c 28 +++ b/gdb/mips-linux-nat.c 35 #include "nat/gdb_ptrace.h"
|
| H A D | 0007-fix-musl-build-on-riscv.patch | 22 gdb/nat/riscv-linux-tdesc.c | 5 +++++ 26 diff --git a/gdb/nat/riscv-linux-tdesc.c b/gdb/nat/riscv-linux-tdesc.c 28 --- a/gdb/nat/riscv-linux-tdesc.c 29 +++ b/gdb/nat/riscv-linux-tdesc.c 39 /* See nat/riscv-linux-tdesc.h. */
|
| /OK3568_Linux_fs/buildroot/package/gdb/12.1/ |
| H A D | 0010-The-signal-definitions-of-musl-and-gdb-collide.patch | 18 gdb/nat/aarch64-sve-linux-ptrace.h | 2 +- 19 gdb/nat/aarch64-sve-linux-sigcontext.h | 2 ++ 22 diff --git a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h 24 --- a/gdb/nat/aarch64-sve-linux-ptrace.h 25 +++ b/gdb/nat/aarch64-sve-linux-ptrace.h 35 diff --git a/gdb/nat/aarch64-sve-linux-sigcontext.h b/gdb/nat/aarch64-sve-linux-sigcontext.h 37 --- a/gdb/nat/aarch64-sve-linux-sigcontext.h 38 +++ b/gdb/nat/aarch64-sve-linux-sigcontext.h
|
| H A D | 0009-gdb-Fix-native-build-on-xtensa.patch | 14 ../../gdb/xtensa-linux-nat.c: In function ‘void fill_gregset(const regcache*, elf_greg_t (*)[128], … 15 ../../gdb/xtensa-linux-nat.c:66:17: error: ‘gdbarch_pc_regnum’ was not declared in this scope 19 ../../gdb/xtensa-linux-nat.c:68:17: error: ‘gdbarch_ps_regnum’ was not declared in this scope 22 ../../gdb/xtensa-linux-nat.c:71:38: error: no matching function for call to ‘gdbarch_tdep::gdbarch_… 25 In file included from ../../gdb/xtensa-linux-nat.c:38: 34 ../../gdb/xtensa-linux-nat.c:72:49: error: no matching function for call to ‘gdbarch_tdep::gdbarch_… 40 gdb/xtensa-linux-nat.c | 1 + 43 diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c 45 --- a/gdb/xtensa-linux-nat.c 46 +++ b/gdb/xtensa-linux-nat.c
|
| H A D | 0005-nat-fork-inferior-include-linux-ptrace.h.patch | 4 Subject: [PATCH] nat/fork-inferior: include linux-ptrace.h 23 ../nat/fork-inferior.c: In function 'pid_t fork_inferior(const char*, const string&, char**, void (… 24 ../nat/fork-inferior.c:376:11: error: 'fork' was not declared in this scope 27 ../nat/fork-inferior.c:376:11: note: suggested alternative: 'vfork' 36 gdb/nat/fork-inferior.c | 1 + 39 diff --git a/gdb/nat/fork-inferior.c b/gdb/nat/fork-inferior.c 41 --- a/gdb/nat/fork-inferior.c 42 +++ b/gdb/nat/fork-inferior.c
|
| H A D | 0003-use-asm-sgidefs.h.patch | 22 gdb/mips-linux-nat.c | 2 +- 25 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 27 --- a/gdb/mips-linux-nat.c 28 +++ b/gdb/mips-linux-nat.c 35 #include "nat/gdb_ptrace.h"
|
| H A D | 0007-fix-musl-build-on-riscv.patch | 22 gdb/nat/riscv-linux-tdesc.c | 5 +++++ 26 diff --git a/gdb/nat/riscv-linux-tdesc.c b/gdb/nat/riscv-linux-tdesc.c 28 --- a/gdb/nat/riscv-linux-tdesc.c 29 +++ b/gdb/nat/riscv-linux-tdesc.c 39 /* See nat/riscv-linux-tdesc.h. */
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/gdb/gdb/ |
| H A D | 0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch | 4 Subject: [PATCH 02/10] mips-linux-nat: Define _ABIO32 if not defined 15 gdb/mips-linux-nat.c | 4 ++++ 18 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 20 --- a/gdb/mips-linux-nat.c 21 +++ b/gdb/mips-linux-nat.c
|
| H A D | 0006-use-asm-sgidefs.h.patch | 18 gdb/mips-linux-nat.c | 2 +- 21 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 23 --- a/gdb/mips-linux-nat.c 24 +++ b/gdb/mips-linux-nat.c 31 #include "nat/gdb_ptrace.h"
|
| /OK3568_Linux_fs/kernel/net/openvswitch/ |
| H A D | conntrack.c | 51 OVS_CT_NAT = 1 << 0, /* NAT for committed connections only. */ 52 OVS_CT_SRC_NAT = 1 << 1, /* Source NAT for NEW connections. */ 53 OVS_CT_DST_NAT = 1 << 2, /* Destination NAT for NEW connections. */ 62 u8 nat : 3; /* enum ovs_ct_nat */ member 72 struct nf_nat_range2 range; /* Only present for SRC NAT and DST NAT. */ 230 * 'keep_nat_flags' is true, the existing NAT flags retained, else they are 483 * FTP with NAT) adusting the TCP payload size when mangling IP in ovs_ct_helper() 621 /* Must invert the tuple if skb has been transformed by NAT. */ in ovs_ct_find_existing() 785 * range is only used for new, uninitialized NAT state. 800 hooknum = NF_INET_LOCAL_IN; /* Source NAT */ in ovs_ct_nat_execute() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/ |
| H A D | nft_nat.sh | 3 # This test is for basic NAT functionality: snat, dnat, redirect, masquerade. 185 table $family nat { 187 type nat hook output priority 0; policy accept; 244 ip netns exec "$ns0" nft flush chain ip6 nat output 260 table $family nat { 262 type nat hook output priority 0; policy accept; 269 echo "SKIP: inet nat tests" 325 ip netns exec "$ns0" nft flush chain $family nat output 372 test $lret -eq 0 && echo "PASS: ping to $ns1 OK after $family nat output chain flush" 386 table $family nat { [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_conntrack_helper.c | 153 struct nf_conntrack_nat_helper *nat; in nf_nat_helper_try_module_get() local 164 nat = nf_conntrack_nat_helper_find(h->nat_mod_name); in nf_nat_helper_try_module_get() 165 if (!nat) { in nf_nat_helper_try_module_get() 171 nat = nf_conntrack_nat_helper_find(mod_name); in nf_nat_helper_try_module_get() 172 if (!nat) { in nf_nat_helper_try_module_get() 178 if (!try_module_get(nat->module)) in nf_nat_helper_try_module_get() 188 struct nf_conntrack_nat_helper *nat; in nf_nat_helper_put() local 190 nat = nf_conntrack_nat_helper_find(helper->nat_mod_name); in nf_nat_helper_put() 191 if (WARN_ON_ONCE(!nat)) in nf_nat_helper_put() 194 module_put(nat->module); in nf_nat_helper_put() [all …]
|
| H A D | nf_nat_masquerade.c | 32 struct nf_conn_nat *nat; in nf_nat_masquerade_ipv4() local 59 nat = nf_ct_nat_ext_add(ct); in nf_nat_masquerade_ipv4() 60 if (nat) in nf_nat_masquerade_ipv4() 61 nat->masq_index = out->ifindex; in nf_nat_masquerade_ipv4() 136 const struct nf_conn_nat *nat = nfct_nat(i); in device_cmp() local 139 if (!nat) in device_cmp() 141 return nat->masq_index == w->ifindex; in device_cmp() 240 struct nf_conn_nat *nat; in nf_nat_masquerade_ipv6() local 253 nat = nf_ct_nat_ext_add(ct); in nf_nat_masquerade_ipv6() 254 if (nat) in nf_nat_masquerade_ipv6() [all …]
|