Searched refs:tundev (Results 1 – 1 of 1) sorted by relevance
90 char tundev[1024] = { "" }; variable232 ssystem("ifconfig %s down", tundev); in serial_to_tun()234 ssystem("ifconfig %s hw ether %s", tundev, &macs[6]); in serial_to_tun()236 ssystem("ifconfig %s up", tundev); in serial_to_tun()277 tundev, inbufptr); in serial_to_tun()280 printf("%s: 0000", tundev); in serial_to_tun()293 if((i & 15) == 15) printf("\n%s: ", tundev); in serial_to_tun()299 if((i & 15) == 15) printf("\n%s: ", tundev); in serial_to_tun()378 static void flush_neighbors(const char *tundev) in flush_neighbors() argument380 ssystem("ip neigh flush dev %s", tundev); in flush_neighbors()[all …]