Home
last modified time | relevance | path

Searched +full:4 +full:ns (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/linux/tools/testing/selftests/net/
H A Dxfrm_policy.sh31 local ns=$1
34 local lnet=$4
38 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
40 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
44 local ns=$1
47 local lnet=$4
52 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
53 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
55 do_esp_policy $ns $me $remote $lnet $rnet
72 local ns=$1
[all …]
H A Dvrf-xfrm-tests.sh86 local ns=$1
90 if [ -n "${ns}" ]; then
91 ns="-netns ${ns}"
94 ip ${ns} link add ${vrf} type vrf table ${table}
95 ip ${ns} link set ${vrf} up
96 ip ${ns} route add vrf ${vrf} unreachable default metric 8192
97 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} addr add 127.0.0.1/8 dev ${vrf}
100 ip ${ns} -6 addr add ::1 dev ${vrf} nodad
102 ip ${ns} ru del pref 0
[all …]
H A Dcmsg_so_mark.sh14 cleanup_ns $NS
20 setup_ns NS
22 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null
25 ip -netns $NS link add type dummy
26 ip -netns $NS link set dev dummy0 up
27 ip -netns $NS addr add $IP4 dev dummy0
28 ip -netns $NS addr add $IP6 dev dummy0
30 ip -netns $NS rule add fwmark $MARK lookup 300
31 ip -6 -netns $NS rule add fwmark $MARK lookup 300
32 ip -netns $NS route add prohibit any table 300
[all …]
H A Dtest_ingress_egress_chaining.sh7 # Kselftest framework requirement - SKIP code is 4.
8 ksft_skip=4
20 ns="ns$((RANDOM%899+100))"
37 ip netns del $ns &> /dev/null
47 ip netns add $ns
48 ip link set dev $peer2 netns $ns
49 ip netns exec $ns ip addr add $ip_peer2/24 dev $peer2
50 ip netns exec $ns ip link set $peer2 up
72 …ip netns exec $ns timeout -k 2 10 ./udpgso_bench_tx -t -l 2 -4 -D $ip_peer1 || fail "traffic faile…
H A Dcmsg_ip.sh15 cleanup_ns $NS
27 setup_ns NS
28 NSEXE="ip netns exec $NS"
33 ip -netns $NS link add type dummy
34 ip -netns $NS link set dev dummy0 up
35 ip -netns $NS addr add $IP4 dev dummy0
36 ip -netns $NS addr add $IP6 dev dummy0
81 ip $IPVER -netns $NS rule add tos $TOS lookup 300
82 ip $IPVER -netns $NS route add table 300 prohibit any
96 $NSEXE nohup tcpdump --immediate-mode -p -ni dummy0 -w $TMPF -c 4 2> /dev/null &
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_redirect_multi.sh
/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-overo-tobiduo-common.dtsi21 smsc2: ethernet@4,0 {
26 gpmc,cs-on-ns = <0>;
27 gpmc,cs-rd-off-ns = <42>;
28 gpmc,cs-wr-off-ns = <36>;
29 gpmc,adv-on-ns = <6>;
30 gpmc,adv-rd-off-ns = <12>;
31 gpmc,adv-wr-off-ns = <12>;
32 gpmc,oe-on-ns = <0>;
33 gpmc,oe-off-ns = <42>;
34 gpmc,we-on-ns = <0>;
[all …]
H A Dam335x-nano.dts275 gpmc,cs-on-ns = <0>;
276 gpmc,cs-rd-off-ns = <160>;
277 gpmc,cs-wr-off-ns = <160>;
278 gpmc,adv-on-ns = <10>;
279 gpmc,adv-rd-off-ns = <30>;
280 gpmc,adv-wr-off-ns = <30>;
281 gpmc,oe-on-ns = <40>;
282 gpmc,oe-off-ns = <160>;
283 gpmc,we-on-ns = <40>;
284 gpmc,we-off-ns = <160>;
[all …]
H A Dam335x-chilisom.dtsi79 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
88 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
102 ldo2_reg: regulator@4 {
146 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
156 gpmc,cs-on-ns = <0>;
157 gpmc,cs-rd-off-ns = <44>;
158 gpmc,cs-wr-off-ns = <44>;
159 gpmc,adv-on-ns = <6>;
160 gpmc,adv-rd-off-ns = <34>;
161 gpmc,adv-wr-off-ns = <44>;
[all …]
H A Dam335x-igep0033.dtsi136 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
145 gpmc,cs-on-ns = <0>;
146 gpmc,cs-rd-off-ns = <44>;
147 gpmc,cs-wr-off-ns = <44>;
148 gpmc,adv-on-ns = <6>;
149 gpmc,adv-rd-off-ns = <34>;
150 gpmc,adv-wr-off-ns = <44>;
151 gpmc,we-on-ns = <0>;
152 gpmc,we-off-ns = <40>;
153 gpmc,oe-on-ns = <0>;
[all …]
H A Domap3-lilly-dbb056.dts111 bus-width = <4>;
113 cd-gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* gpio_164 */
128 <4 0 0x20000000 0x01000000>,
131 ethernet@4,0 {
135 gpmc,cs-on-ns = <10>;
136 gpmc,cs-rd-off-ns = <65>;
137 gpmc,cs-wr-off-ns = <65>;
138 gpmc,adv-on-ns = <0>;
139 gpmc,adv-rd-off-ns = <10>;
140 gpmc,adv-wr-off-ns = <10>;
[all …]
H A Dam335x-phycore-som.dtsi146 i2c_tmp102: temp@4b {
199 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
208 gpmc,cs-on-ns = <0>;
209 gpmc,cs-rd-off-ns = <30>;
210 gpmc,cs-wr-off-ns = <30>;
211 gpmc,adv-on-ns = <0>;
212 gpmc,adv-rd-off-ns = <30>;
213 gpmc,adv-wr-off-ns = <30>;
214 gpmc,we-on-ns = <0>;
215 gpmc,we-off-ns = <20>;
[all …]
H A Domap3-lilly-a83x.dtsi287 bus-width = <4>;
363 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
374 gpmc,wait-monitoring-ns = <0>;
375 gpmc,burst-length = <4>;
376 gpmc,cs-on-ns = <0>;
377 gpmc,cs-rd-off-ns = <100>;
378 gpmc,cs-wr-off-ns = <100>;
379 gpmc,adv-on-ns = <0>;
380 gpmc,adv-rd-off-ns = <100>;
381 gpmc,adv-wr-off-ns = <100>;
[all …]
/linux/Documentation/arch/m68k/
H A Dbuddha-driver.rst31 address is written to $4a, then the whole Byte is written to
32 $48, while it doesn't matter how often you're writing to $4a
35 address just written. Make sure $4a is written before $48,
56 $c00-$cff IDE-Select 4 (Port 2, Register set 0,
124 A6=1 (for example $840 for port 0, register set 0), a 780ns
131 only the upper three bits are used (Bits 7 to 5). Bit 4
142 about 30ns to the clocks on the Zorro bus, that's why the
143 values are no multiple of 71. One clock-cycle is 71ns long
147 497ns Select (7 clock cycles) , IOR/IOW after 172ns (2 clock cycles)
152 639ns Select (9 clock cycles), IOR/IOW after 243ns (3 clock cycles)
[all …]
/linux/arch/powerpc/boot/
H A Daddnote.c67 ((unsigned long long)GET_32BE((off)+4ULL)))
72 PUT_32BE((off) + 4, (v))))
77 (((unsigned long long)GET_32LE((off)+4ULL)) << 32ULL))
81 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L))
101 #define EI_CLASS 4
105 #define PH_OFFSET (e_class == ELFCLASS32 ? 4 : 8)
109 #define PT_NOTE 4 /* Program header type = note */
112 unsigned char elf_magic[4] = { 0x7f, 'E', 'L', 'F' };
119 long nnote, nnote2, ns; in main() local
140 if (memcmp(&buf[E_IDENT+EI_MAGIC], elf_magic, 4) != 0) in main()
[all …]
/linux/net/ipv6/
H A Dioam6.c23 static void ioam6_ns_release(struct ioam6_namespace *ns) in ioam6_ns_release() argument
25 kfree_rcu(ns, rcu); in ioam6_ns_release()
35 struct ioam6_namespace *ns = (struct ioam6_namespace *)ptr; in ioam6_free_ns() local
37 if (ns) in ioam6_free_ns()
38 ioam6_ns_release(ns); in ioam6_free_ns()
51 const struct ioam6_namespace *ns = obj; in ioam6_ns_cmpfn() local
53 return (ns->id != *(__be16 *)arg->key); in ioam6_ns_cmpfn()
110 struct ioam6_namespace *ns; in ioam6_genl_addns() local
124 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_addns()
125 if (ns) { in ioam6_genl_addns()
[all …]
/linux/drivers/pcmcia/
H A Dsoc_common.h63 * The PC Card Standard, Release 7, section 4.13.4, says that twIORD
64 * has a minimum value of 165ns. Section 4.13.5 says that twIOWR has
65 * a minimum value of 165ns, as well. Section 4.7.2 (describing
67 * minimum value of 150ns for a 250ns cycle time (for 5V operation;
68 * see section 4.7.4), or 300ns for a 600ns cycle time (for 3.3V
69 * operation, also section 4.7.4). Section 4.7.3 says that taOE
70 * has a maximum value of 150ns for a 300ns cycle time (for 5V
71 * operation), or 300ns for a 600ns cycle time (for 3.3V operation).
75 * PCMCIA I/O command width time is 165ns. The default PCMCIA 5V attribute
76 * and memory command width time is 150ns; the PCMCIA 3.3V attribute and
[all …]
/linux/drivers/ptp/
H A Dptp_dte.c18 #define DTE_NCO_SUM2_SHIFT 4ULL
28 #define DTE_NUM_REGS_TO_RESTORE 4
30 /* Full wrap around is 44bits in ns (~4.887 hrs) */
52 static void dte_write_nco(void __iomem *regs, s64 ns) in dte_write_nco() argument
56 sum2 = (u32)((ns >> DTE_NCO_SUM2_SHIFT) & DTE_NCO_SUM2_MASK); in dte_write_nco()
62 sum3 = (u32)(((ns >> DTE_NCO_SUM3_SHIFT) & DTE_NCO_SUM3_MASK) << in dte_write_nco()
73 s64 ns; in dte_read_nco() local
76 * ignoring sum1 (4 bits) gives a 16ns resolution, which in dte_read_nco()
81 ns = ((s64)sum3 << DTE_NCO_SUM3_SHIFT) | in dte_read_nco()
84 return ns; in dte_read_nco()
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_clash.sh59 local ns="$1"
63 ip netns exec "$ns" socat UDP-RECVFROM:$port,fork PIPE 2>/dev/null &
67 wait_local_port_listen "$ns" $port udp
73 local ns="$1"
76 local j="$4"
78 ip -net "$ns" link set "$dev" up
79 ip -net "$ns" addr add "10.0.$i.$j/24" dev "$dev"
84 local ns="$1"
87 if ! ip netns exec "$ns" ping -q -c 1 $daddr > /dev/null;then
88 echo "FAIL: ping from $ns to $daddr"
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh7 local ns=$1; shift
13 ip -n $ns -j -p -$family route show $route \
29 local ns=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
39 local ns=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
48 local ns=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
57 local ns=$1; shift
63 ip -n $ns link add name dummy$i type dummy
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-lp-sk-nand.dtso62 gpmc,cs-on-ns = <0>;
63 gpmc,cs-rd-off-ns = <40>;
64 gpmc,cs-wr-off-ns = <40>;
65 gpmc,adv-on-ns = <0>;
66 gpmc,adv-rd-off-ns = <25>;
67 gpmc,adv-wr-off-ns = <25>;
68 gpmc,we-on-ns = <0>;
69 gpmc,we-off-ns = <20>;
70 gpmc,oe-on-ns = <3>;
71 gpmc,oe-off-ns = <30>;
[all …]
/linux/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh8 # Kselftest framework requirement - SKIP code is 4.
9 ksft_skip=4
21 arp_ping eth-arp: Basic arp ping between two NS
23 connect_v4 ip4-xon: Basic ipv4 ping between two NS
109 info "Adding DP/Bridge IF: sbx:$1 dp:$2 {$3, $4, $5}"
117 info "Adding IF to DP: br:$3 if:$4 ($2)"
120 -t "$2" "$3" "$4" || return 1
123 -u -t "$2" "$3" "$4" >$ovs_dir/$4.out 2>$ovs_dir/$4.err &
155 info "Adding netns attached: sbx:$1 dp:$2 {$3, $4, $5}"
158 ovs_sbx "$1" ip link add "$4" type veth peer name "$5" || return 1
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,gic-v5.yaml57 4 = active high level-sensitive
99 "ns-" stands for non-secure, "s-" for secure, "realm-" for realm
104 enum: [ ns-config, s-config, realm-config, el3-config, ns-setlpi,
151 "ns-" stands for non-secure, "s-" for secure, "realm-" for realm
154 maxItems: 4
156 enum: [ ns-config, s-config, realm-config, el3-config ]
187 "ns-" stands for non-secure, "s-" for secure, "realm-" for realm
190 maxItems: 4
192 enum: [ ns-translate, s-translate, realm-translate, el3-translate ]
234 interrupts = <1 25 4>;
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_synproxy.c20 /* out must be at least `size * 4 + 1` bytes long */
32 *out++ = hex[(in[i] >> 4) & 0xf]; in escape_str()
41 static char escbuf_expected[CMD_OUT_BUF_SIZE * 4]; in expect_str()
42 static char escbuf_actual[CMD_OUT_BUF_SIZE * 4]; in expect_str()
62 struct nstoken *ns = NULL; in test_synproxy() local
82 ns = open_netns("synproxy"); in test_synproxy()
83 if (!ASSERT_OK_PTR(ns, "setns")) in test_synproxy()
113 prog_id = memmem(buf, size, " id ", 4); in test_synproxy()
116 prog_id += 4; in test_synproxy()
132 close_netns(ns); in test_synproxy()
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_lib.sh8 readonly KSFT_SKIP=4
109 # $1-2: listener/connector ns ; $3 port ; $4-5 listener/connector stat file
114 local lstat="${4}"
338 # $1: info name ; $2: evts_ns ; [$3: event type; [$4: addr]]
340 grep "${4:-}" "${2}" 2>/dev/null |
358 # $1: ns, $2: MIB counter
360 local ns="${1}"
364 count=$(ip netns exec "${ns}" nstat -asz "${counter}" |
407 # $1: ns, $2: port
494 local ns="${1}"
[all …]

12345678910>>...48