Home
last modified time | relevance | path

Searched +full:6 +full:ns (Results 1 – 25 of 814) sorted by relevance

12345678910>>...33

/linux/tools/testing/selftests/net/
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 Dicmp_redirect.sh118 local ns=$1
122 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \
149 local ns=$1
151 ip -netns ${ns} link add ${VRF} type vrf table ${VRF_TABLE}
152 ip -netns ${ns} link set ${VRF} up
153 ip -netns ${ns} route add vrf ${VRF} unreachable default metric 8192
154 ip -netns ${ns} -6 route add vrf ${VRF} unreachable default metric 8192
156 ip -netns ${ns} add
[all...]
H A Dvrf_route_leaking.sh180 local ns=$1
182 ip -netns "${ns}" rule del pref 0
183 ip -netns "${ns}" rule add pref 32765 from all lookup local
184 ip -netns "${ns}" -6 rule del pref 0
185 ip -netns "${ns}" -6 rule add pref 32765 from all lookup local
190 local ns=$1
194 ip -netns "${ns}" link add "${vrf}" type vrf table "${table}"
195 ip -netns "${ns}" link set "${vrf}" up
196 ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192
197 ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192
[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 Dl2tp.sh48 local ns
53 ns="$1"
61 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
77 local ns=$1
85 ip -netns ${ns} addr add dev lo ${addr}
88 ip -netns ${ns} -6 addr add dev lo ${addr6}
91 ip -netns ${ns} ro add unreachable default metric 8192
92 ip -netns ${ns} -6 ro add unreachable default metric 8192
94 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
95 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
[all …]
H A Dfib_nexthop_multiprefix.sh4 # Validate cached routes in fib{6}_nh that is used by multiple prefixes.
74 local ns=${1}
76 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
77 case ${ns} in
79 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
82 ip netns exec $ns sysctl -q -w net.ipv4.ip_forward=1
83 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
90 local ns
101 for ns in ${h[0]} ${r[1]} ${h[1]} ${h[2]} ${h[3]}
103 create_ns ${ns}
[all …]
H A Dfcnal-test.sh13 # 6. VRF and non-VRF permutations
16 # ns-A | ns-B
23 # ns-A:
30 # ns-B:
35 # ns-A to ns-C connection - only for VRF and same config
36 # as ns-A to ns-B
38 # server / client nomenclature relative to ns
[all...]
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
64 $NSEXE ./cmsg_sender -s -S 2000 -6 -p $p $m $TGT6 1234
81 ip $IPVER -netns $NS rule add tos $TOS lookup 300
82 ip $IPVER -netns $NS route add table 300 prohibit any
[all …]
H A Dskf_net_off.sh4 readonly NS="ns-$(mktemp -u XXXXXX)"
7 ip netns del $NS
10 ip netns add $NS
13 ip -netns $NS link set lo up
14 ip -netns $NS tuntap add name tap1 mode tap
15 ip -netns $NS link set tap1 up
16 ip -netns $NS link set dev tap1 addr 02:00:00:00:00:01
17 ip -netns $NS -6 addr add fdab::1 peer fdab::2 dev tap1 nodad
18 ip netns exec $NS ethtool -K tap1 gro off
21 ip netns exec $NS sysctl -w net.ipv4.ip_early_demux=0
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap-zoom-common.dtsi24 interrupts = <6 IRQ_TYPE_EDGE_RISING>; /* gpio102 */
32 gpmc,cs-on-ns = <5>;
33 gpmc,cs-rd-off-ns = <155>;
34 gpmc,cs-wr-off-ns = <155>;
35 gpmc,adv-on-ns = <15>;
36 gpmc,adv-rd-off-ns = <40>;
37 gpmc,adv-wr-off-ns = <40>;
38 gpmc,oe-on-ns = <45>;
39 gpmc,oe-off-ns = <145>;
40 gpmc,we-on-ns = <45>;
[all …]
H A Dam335x-chilisom.dtsi114 ldo4_reg: regulator@6 {
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>;
162 gpmc,we-on-ns = <0>;
163 gpmc,we-off-ns = <40>;
164 gpmc,oe-on-ns = <0>;
[all …]
H A Dam335x-myirtech-myc.dtsi114 gpmc,cs-on-ns = <0>;
115 gpmc,cs-rd-off-ns = <44>;
116 gpmc,cs-wr-off-ns = <44>;
117 gpmc,adv-on-ns = <6>;
118 gpmc,adv-rd-off-ns = <34>;
119 gpmc,adv-wr-off-ns = <44>;
120 gpmc,we-on-ns = <0>;
121 gpmc,we-off-ns = <40>;
122 gpmc,oe-on-ns = <0>;
123 gpmc,oe-off-ns = <54>;
[all …]
H A Domap3-tao3530.dtsi247 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
277 gpmc,cs-on-ns = <0>;
278 gpmc,cs-rd-off-ns = <36>;
279 gpmc,cs-wr-off-ns = <36>;
280 gpmc,adv-on-ns = <6>;
281 gpmc,adv-rd-off-ns = <24>;
282 gpmc,adv-wr-off-ns = <36>;
283 gpmc,oe-on-ns = <6>;
284 gpmc,oe-off-ns = <48>;
285 gpmc,we-on-ns = <6>;
[all …]
H A Domap-gpmc-smsc9221.dtsi33 gpmc,cs-on-ns = <0>;
34 gpmc,cs-rd-off-ns = <42>;
35 gpmc,cs-wr-off-ns = <36>;
36 gpmc,adv-on-ns = <6>;
37 gpmc,adv-rd-off-ns = <12>;
38 gpmc,adv-wr-off-ns = <12>;
39 gpmc,oe-on-ns = <0>;
40 gpmc,oe-off-ns = <42>;
41 gpmc,we-on-ns = <0>;
42 gpmc,we-off-ns = <36>;
[all …]
H A Domap3-overo-tobiduo-common.dtsi26 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>;
35 gpmc,we-off-ns = <36>;
[all …]
H A Domap2430-sdp.dts48 gpmc,cs-on-ns = <6>;
49 gpmc,cs-rd-off-ns = <187>;
50 gpmc,cs-wr-off-ns = <187>;
51 gpmc,adv-on-ns = <18>;
52 gpmc,adv-rd-off-ns = <48>;
53 gpmc,adv-wr-off-ns = <48>;
54 gpmc,oe-on-ns = <60>;
55 gpmc,oe-off-ns = <169>;
56 gpmc,we-on-ns = <66>;
57 gpmc,we-off-ns = <169>;
[all …]
H A Dam335x-igep0033.dtsi145 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>;
154 gpmc,oe-off-ns = <54>;
[all …]
H A Domap3-beagle.dts313 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
400 gpmc,cs-on-ns = <0>;
401 gpmc,cs-rd-off-ns = <36>;
402 gpmc,cs-wr-off-ns = <36>;
403 gpmc,adv-on-ns = <6>;
404 gpmc,adv-rd-off-ns = <24>;
405 gpmc,adv-wr-off-ns = <36>;
406 gpmc,oe-on-ns = <6>;
407 gpmc,oe-off-ns = <48>;
408 gpmc,we-on-ns = <6>;
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15x-mecio1-io.dtsi108 st,min-sample-time-ns = <5000>;
114 st,min-sample-time-ns = <5000>;
120 st,min-sample-time-ns = <5000>;
126 st,min-sample-time-ns = <5000>;
132 st,min-sample-time-ns = <5000>;
136 channel@6 {
137 reg = <6>;
138 st,min-sample-time-ns = <5000>;
144 st,min-sample-time-ns = <5000>;
150 st,min-sample-time-ns = <5000>;
[all …]
H A Dstm32mp15xx-dhcor-drc-compact.dtsi28 gpios = <&gpioz 6 GPIO_ACTIVE_LOW>;
63 st,min-sample-time-ns = <5000>;
67 st,min-sample-time-ns = <5000>;
69 channel@6 {
70 reg = <6>;
71 st,min-sample-time-ns = <5000>;
79 st,min-sample-time-ns = <5000>;
83 st,min-sample-time-ns = <5000>;
87 st,min-sample-time-ns = <5000>;
142 /* Timing values are in nS */
[all …]
/linux/lib/
H A Dfind_bit_benchmark.c47 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_bit()
66 pr_err("find_first_and_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_and_bit()
80 pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_bit()
94 pr_err("find_next_zero_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_zero_bit()
113 pr_err("find_last_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_last_bit()
129 pr_err("find_nth_bit: %18llu ns, %6ld iterations\n", time, w); in test_find_nth_bit()
144 pr_err("find_next_and_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_and_bit()
/linux/Documentation/devicetree/bindings/mips/cavium/
H A Dbootbus.txt32 - cavium,t-adr: A cell specifying the ADR timing (in nS).
34 - cavium,t-ce: A cell specifying the CE timing (in nS).
36 - cavium,t-oe: A cell specifying the OE timing (in nS).
38 - cavium,t-we: A cell specifying the WE timing (in nS).
40 - cavium,t-rd-hld: A cell specifying the RD_HLD timing (in nS).
42 - cavium,t-wr-hld: A cell specifying the WR_HLD timing (in nS).
44 - cavium,t-pause: A cell specifying the PAUSE timing (in nS).
46 - cavium,t-wait: A cell specifying the WAIT timing (in nS).
48 - cavium,t-page: A cell specifying the PAGE timing (in nS).
50 - cavium,t-rd-dly: A cell specifying the RD_DLY timing (in nS).
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.sh49 local ns=$1
55 ip netns exec $ns $t -A OUTPUT -p tcp --syn -m mark --mark $m -j ACCEPT
58 ip netns exec $ns $t -A OUTPUT -p tcp --tcp-flags RST RST -m mark --mark 0 -j ACCEPT
60 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark $m -j ACCEPT
61 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark 0 -j DROP
112 local ns=$1
117 if [ $af -eq 6 ];then
122 counters=$(ip netns exec $ns $tables -v -L OUTPUT | grep DROP)
128 mptcp_lib_pr_fail "got $tables $values in ns $ns," \
222 check_mark $listener_ns 6 || retc=1
[all …]
/linux/kernel/
H A Ducount.c12 .ns = &init_user_ns,
24 #define ucounts_hashfn(ns, uid) \ argument
25 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
27 #define ucounts_hashentry(ns, uid) \ argument
28 (ucounts_hashtable + ucounts_hashfn(ns, uid))
51 mode = (table->mode & S_IRWXU) >> 6; in set_permissions()
55 return (mode << 6) | (mode << 3) | mode; in set_permissions()
95 bool setup_userns_sysctls(struct user_namespace *ns) in setup_userns_sysctls() argument
101 setup_sysctl_set(&ns->set, &set_root, set_is_seen); in setup_userns_sysctls()
106 tbl[i].data = &ns->ucount_max[i]; in setup_userns_sysctls()
[all …]
/linux/drivers/ssb/
H A Ddriver_chipcommon.c53 /* We support SLOW only on 6..9 */ in ssb_chipco_set_clockmode()
62 if (ccdev->id.revision < 6) in ssb_chipco_set_clockmode()
73 case SSB_CLKMODE_SLOW: /* For revs 6..9 only */ in ssb_chipco_set_clockmode()
124 if (cc->dev->id.revision < 6) { in chipco_pctl_get_slowclksrc()
158 if (cc->dev->id.revision < 6) { in chipco_pctl_clockfreqlimit()
435 unsigned long ns) in ssb_chipco_timing_init() argument
443 tmp = DIV_ROUND_UP(10, ns) << SSB_PROG_WCNT_3_SHIFT; /* Waitcount-3 = 10ns */ in ssb_chipco_timing_init()
444 tmp |= DIV_ROUND_UP(40, ns) << SSB_PROG_WCNT_1_SHIFT; /* Waitcount-1 = 40ns */ in ssb_chipco_timing_init()
445 tmp |= DIV_ROUND_UP(240, ns); /* Waitcount-0 = 240ns */ in ssb_chipco_timing_init()
449 tmp = DIV_ROUND_UP(10, ns) << SSB_FLASH_WCNT_3_SHIFT; /* Waitcount-3 = 10nS */ in ssb_chipco_timing_init()
[all …]

12345678910>>...33