Home
last modified time | relevance | path

Searched refs:gate_addr (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/
Dtuntap_kern.c15 char *gate_addr; member
28 tpri->gate_addr = init->gate_addr; in tuntap_init()
33 if (tpri->gate_addr != NULL) in tuntap_init()
34 printk(KERN_CONT "IP = %s", tpri->gate_addr); in tuntap_init()
62 .gate_addr = NULL }); in tuntap_setup()
64 &init->gate_addr)) in tuntap_setup()
Dethertap_kern.c16 char *gate_addr; member
28 epri->gate_addr = init->gate_addr; in etap_init()
34 if (epri->gate_addr != NULL) in etap_init()
35 printk(KERN_CONT ", IP = %s", epri->gate_addr); in etap_init()
72 .gate_addr = NULL }); in ethertap_setup()
74 &init->gate_addr)) in ethertap_setup()
Dtuntap_user.c33 tap_check_ips(pri->gate_addr, addr); in tuntap_add_addr()
135 err = tap_open_common(pri->dev, pri->gate_addr); in tuntap_open()
172 err = tuntap_open_tramp(pri->gate_addr, &pri->fd, fds[0], in tuntap_open()
Dethertap_user.c143 err = tap_open_common(pri->dev, pri->gate_addr); in etap_open()
163 err = etap_tramp(pri->dev_name, pri->gate_addr, control_fds[0], in etap_open()
222 tap_check_ips(pri->gate_addr, addr); in etap_add_addr()
Detap.h13 char *gate_addr; member
Dtuntap.h14 char *gate_addr; member
/kernel/linux/linux-5.10/arch/um/drivers/
Dslip_kern.c13 char *gate_addr; member
27 spri->gate_addr = init->gate_addr; in slip_init()
39 printk("SLIP backend - SLIP IP = %s\n", spri->gate_addr); in slip_init()
70 *init = ((struct slip_init) { .gate_addr = NULL }); in slip_setup()
73 init->gate_addr = str; in slip_setup()
Dnet_user.c18 int tap_open_common(void *dev, char *gate_addr) in tap_open_common() argument
22 if (gate_addr == NULL) in tap_open_common()
24 if (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], in tap_open_common()
27 gate_addr); in tap_open_common()
33 void tap_check_ips(char *gate_addr, unsigned char *eth_addr) in tap_check_ips() argument
37 if ((gate_addr != NULL) && in tap_check_ips()
38 (sscanf(gate_addr, "%d.%d.%d.%d", &tap_addr[0], in tap_check_ips()
Dslip_user.c155 if (pri->gate_addr != NULL) { in slip_open()
157 strcpy(gate_buf, pri->gate_addr); in slip_open()
199 if (pri->gate_addr != NULL) in slip_close()
Dslip.h11 char *gate_addr; member
Dnet_kern.c874 char **gate_addr) in tap_setup_common() argument
878 remain = split_if_spec(str, dev_name, mac_out, gate_addr, NULL); in tap_setup_common()
/kernel/linux/linux-5.10/arch/um/include/shared/
Dnet_user.h35 extern int tap_open_common(void *dev, char *gate_addr);
36 extern void tap_check_ips(char *gate_addr, unsigned char *eth_addr);
Dnet_kern.h65 char **mac_out, char **gate_addr);