Lines Matching defs:out
16 goto out; \
20 /* out must be at least `size * 4 + 1` bytes long */
21 static void escape_str(char *out, const char *in, size_t size)
28 *out++ = in[i];
30 *out++ = '\\';
31 *out++ = 'x';
32 *out++ = hex[(in[i] >> 4) & 0xf];
33 *out++ = hex[in[i] & 0xf];
36 *out++ = '\0';
67 SYS(out, "ip netns add synproxy");
69 SYS(out, "ip link add tmp0 type veth peer name tmp1");
70 SYS(out, "ip link set tmp1 netns synproxy");
71 SYS(out, "ip link set tmp0 up");
72 SYS(out, "ip addr replace 198.18.0.1/24 dev tmp0");
77 SYS(out, "ethtool -K tmp0 tx off");
80 SYS(out, "ip link set tmp0 xdp object xdp_dummy.bpf.o section xdp 2> /dev/null");
84 goto out;
86 SYS(out, "ip link set lo up");
87 SYS(out, "ip link set tmp1 up");
88 SYS(out, "ip addr replace 198.18.0.2/24 dev tmp1");
89 SYS(out, "sysctl -w net.ipv4.tcp_syncookies=2");
90 SYS(out, "sysctl -w net.ipv4.tcp_timestamps=1");
91 SYS(out, "sysctl -w net.netfilter.nf_conntrack_tcp_loose=0");
92 SYS(out, "iptables-legacy -t raw -I PREROUTING \
94 SYS(out, "iptables-legacy -t filter -A INPUT \
97 SYS(out, "iptables-legacy -t filter -A INPUT \
107 goto out;
115 goto out;
118 goto out;
124 goto out;
130 goto out;
137 goto out;
141 goto out;
145 goto out;
156 goto out;
158 out: