Lines Matching refs:out
78 SYS(out, "ip netns add " TX_NETNS_NAME); in test_xdp_flowtable()
79 SYS(out, "ip netns add " RX_NETNS_NAME); in test_xdp_flowtable()
83 goto out; in test_xdp_flowtable()
85 SYS(out, "sysctl -qw net.ipv4.conf.all.forwarding=1"); in test_xdp_flowtable()
87 SYS(out, "ip link add " TX_NAME " type veth peer " FORWARD_NAME); in test_xdp_flowtable()
88 SYS(out, "ip link set " TX_NAME " netns " TX_NETNS_NAME); in test_xdp_flowtable()
89 SYS(out, "ip link set dev " FORWARD_NAME " address " FORWARD_MAC); in test_xdp_flowtable()
90 SYS(out, in test_xdp_flowtable()
92 SYS(out, "ip link set dev " FORWARD_NAME " up"); in test_xdp_flowtable()
94 SYS(out, "ip link add " RX_NAME " type dummy"); in test_xdp_flowtable()
95 SYS(out, "ip link set dev " RX_NAME " address " RX_MAC); in test_xdp_flowtable()
96 SYS(out, "ip addr add " RX_ADDR "/" PREFIX_LEN " dev " RX_NAME); in test_xdp_flowtable()
97 SYS(out, "ip link set dev " RX_NAME " up"); in test_xdp_flowtable()
100 SYS(out, "nft add table ip filter"); in test_xdp_flowtable()
101 SYS(out, in test_xdp_flowtable()
104 SYS(out, in test_xdp_flowtable()
107 SYS(out, in test_xdp_flowtable()
112 SYS(out, in test_xdp_flowtable()
118 goto out; in test_xdp_flowtable()
120 SYS(out, "ip addr add " TX_ADDR "/" PREFIX_LEN " dev " TX_NAME); in test_xdp_flowtable()
121 SYS(out, "ip link set dev " TX_NAME " address " TX_MAC); in test_xdp_flowtable()
122 SYS(out, "ip link set dev " TX_NAME " up"); in test_xdp_flowtable()
123 SYS(out, "ip route add default via " FORWARD_ADDR); in test_xdp_flowtable()
128 goto out; in test_xdp_flowtable()
132 goto out; in test_xdp_flowtable()
136 goto out; in test_xdp_flowtable()
141 goto out; in test_xdp_flowtable()
146 goto out; in test_xdp_flowtable()
149 goto out; in test_xdp_flowtable()
154 goto out; in test_xdp_flowtable()
159 goto out; in test_xdp_flowtable()
162 out: in test_xdp_flowtable()