Searched refs:tapif (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/tools/lguest/ |
D | lguest.c | 2766 static void configure_device(int fd, const char *tapif, u32 ipaddr) in configure_device() argument 2772 strcpy(ifr.ifr_name, tapif); in configure_device() 2779 err(1, "Setting %s interface address", tapif); in configure_device() 2782 err(1, "Bringing interface %s up", tapif); in configure_device() 2785 static int get_tun_device(char tapif[IFNAMSIZ]) in get_tun_device() 2828 memcpy(tapif, ifr.ifr_name, IFNAMSIZ); in get_tun_device() 2845 char tapif[IFNAMSIZ], *p; in setup_tun_net() local 2848 net_info->tunfd = get_tun_device(tapif); in setup_tun_net() 2882 add_to_bridge(ipfd, tapif, arg); in setup_tun_net() 2887 configure_device(ipfd, tapif, ip); in setup_tun_net() [all …]
|