Home
last modified time | relevance | path

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

/arch/um/drivers/
Dvde_kern.c73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local
82 remain = split_if_spec(str, &init->vde_switch, mac_out, &port_str, in vde_setup()
89 if (port_str != NULL) { in vde_setup()
90 init->port = simple_strtoul(port_str, &last, 10); in vde_setup()
91 if ((*last != '\0') || (last == port_str)) { in vde_setup()
93 port_str); in vde_setup()
Dumcast_kern.c73 char *port_str = NULL, *ttl_str = NULL, *remain; in mcast_setup() local
81 remain = split_if_spec(str, mac_out, &init->addr, &port_str, &ttl_str, in mcast_setup()
89 if (port_str != NULL) { in mcast_setup()
90 init->lport = simple_strtoul(port_str, &last, 10); in mcast_setup()
91 if ((*last != '\0') || (last == port_str)) { in mcast_setup()
93 port_str); in mcast_setup()