Home
last modified time | relevance | path

Searched refs:ROUTER_NS (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/
Dbig_tcp.sh15 ROUTER_NS=$(mktemp -u router-XXXXXXXX)
30 ip netns add $ROUTER_NS
31 ip -net $ROUTER_NS link add link1 type veth peer name link0 netns $CLIENT_NS
32 ip -net $ROUTER_NS link add link2 type veth peer name link3 netns $SERVER_NS
46 ip -net $ROUTER_NS link set link1 up
47 ip -net $ROUTER_NS link set link2 up
48 ip -net $ROUTER_NS addr add $CLIENT_GW4/24 dev link1
49 ip -net $ROUTER_NS addr add $CLIENT_GW6/64 dev link1 nodad
50 ip -net $ROUTER_NS addr add $SERVER_GW4/24 dev link2
51 ip -net $ROUTER_NS addr add $SERVER_GW6/64 dev link2 nodad
[all …]
Darp_ndisc_untracked_subnets.sh24 cleanup_ns ${HOST_NS} ${ROUTER_NS}
36 setup_ns HOST_NS ROUTER_NS
42 ip netns exec ${ROUTER_NS} ip link add name ${ROUTER_INTF} \
45 ip netns exec ${ROUTER_NS} ip link set dev ${ROUTER_INTF} up
46 ip netns exec ${ROUTER_NS} ip link set dev ${HOST_INTF} netns ${HOST_NS}
49 ip netns exec ${ROUTER_NS} ip addr add ${ROUTER_ADDR}/${SUBNET_WIDTH} \
56 ip netns exec ${ROUTER_NS} ip route add default via ${ROUTER_ADDR} \
60 ip netns exec ${ROUTER_NS} sysctl -w \
110 neigh_show_output=$(ip netns exec ${ROUTER_NS} ip neigh get \
Dndisc_unsolicited_na_test.sh70 setup_ns HOST_NS ROUTER_NS
73 IP_ROUTER="ip -6 -netns ${ROUTER_NS}"
74 IP_ROUTER_EXEC="ip netns exec ${ROUTER_NS}"
129 ip netns del ${ROUTER_NS}
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dconntrack_sctp_collision.sh28 setup_ns CLIENT_NS SERVER_NS ROUTER_NS
29 ip -n "$SERVER_NS" link add link0 type veth peer name link1 netns "$ROUTER_NS"
30 ip -n "$CLIENT_NS" link add link3 type veth peer name link2 netns "$ROUTER_NS"
36 ip -n "$ROUTER_NS" link set link1 up
37 ip -n "$ROUTER_NS" link set link2 up
38 ip -n "$ROUTER_NS" addr add $SERVER_GW/24 dev link1
39 ip -n "$ROUTER_NS" addr add $CLIENT_GW/24 dev link2
40 ip net exec "$ROUTER_NS" sysctl -wq net.ipv4.ip_forward=1
58 ip net exec "$ROUTER_NS" iptables -A FORWARD -m state --state INVALID,UNTRACKED -j DROP
59 ip net exec "$ROUTER_NS" iptables -A INPUT -p sctp -j DROP