Searched refs:tapif (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/tools/lguest/ |
D | lguest.c | 2762 static void configure_device(int fd, const char *tapif, u32 ipaddr) in configure_device() argument 2768 strcpy(ifr.ifr_name, tapif); in configure_device() 2775 err(1, "Setting %s interface address", tapif); in configure_device() 2778 err(1, "Bringing interface %s up", tapif); in configure_device() 2781 static int get_tun_device(char tapif[IFNAMSIZ]) in get_tun_device() 2824 memcpy(tapif, ifr.ifr_name, IFNAMSIZ); in get_tun_device() 2841 char tapif[IFNAMSIZ], *p; in setup_tun_net() local 2844 net_info->tunfd = get_tun_device(tapif); in setup_tun_net() 2878 add_to_bridge(ipfd, tapif, arg); in setup_tun_net() 2883 configure_device(ipfd, tapif, ip); in setup_tun_net() [all …]
|