Home
last modified time | relevance | path

Searched refs:TUN_IFACE (Results 1 – 2 of 2) sorted by relevance

/external/syzkaller/executor/
Dcommon_linux.h136 #define TUN_IFACE "syz_tun" macro
180 strncpy(ifr.ifr_name, TUN_IFACE, IFNAMSIZ); in initialize_tun()
197 execute_command(0, "sysctl -w net.ipv6.conf.%s.accept_dad=0", TUN_IFACE); in initialize_tun()
201 execute_command(0, "sysctl -w net.ipv6.conf.%s.router_solicitations=0", TUN_IFACE); in initialize_tun()
204 execute_command(1, "ip link set dev %s address %s", TUN_IFACE, LOCAL_MAC); in initialize_tun()
205 execute_command(1, "ip addr add %s/24 dev %s", LOCAL_IPV4, TUN_IFACE); in initialize_tun()
207 REMOTE_IPV4, REMOTE_MAC, TUN_IFACE); in initialize_tun()
209 execute_command(0, "ip -6 addr add %s/120 dev %s", LOCAL_IPV6, TUN_IFACE); in initialize_tun()
211 REMOTE_IPV6, REMOTE_MAC, TUN_IFACE); in initialize_tun()
212 execute_command(1, "ip link set dev %s up", TUN_IFACE); in initialize_tun()
/external/syzkaller/pkg/csource/
Dgenerated.go774 #define TUN_IFACE "syz_tun"
816 strncpy(ifr.ifr_name, TUN_IFACE, IFNAMSIZ);
827 execute_command(0, "sysctl -w net.ipv6.conf.%s.accept_dad=0", TUN_IFACE);
828 execute_command(0, "sysctl -w net.ipv6.conf.%s.router_solicitations=0", TUN_IFACE);
830 execute_command(1, "ip link set dev %s address %s", TUN_IFACE, LOCAL_MAC);
831 execute_command(1, "ip addr add %s/24 dev %s", LOCAL_IPV4, TUN_IFACE);
833 REMOTE_IPV4, REMOTE_MAC, TUN_IFACE);
834 execute_command(0, "ip -6 addr add %s/120 dev %s", LOCAL_IPV6, TUN_IFACE);
836 REMOTE_IPV6, REMOTE_MAC, TUN_IFACE);
837 execute_command(1, "ip link set dev %s up", TUN_IFACE);