Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_configfs.c207 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local
238 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg()
239 if (!port_str) { in lio_target_call_addnptotpg()
244 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
245 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
247 ret = kstrtoul(port_str, 0, &port); in lio_target_call_addnptotpg()
263 port_str = strstr(ip_str, ":"); in lio_target_call_addnptotpg()
264 if (!port_str) { in lio_target_call_addnptotpg()
269 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
270 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
[all …]
/linux-4.4.14/net/tipc/
Dnetlink_compat.c754 char port_str[27]; in tipc_nl_compat_name_table_dump() local
797 sprintf(port_str, "<%u.%u.%u:%u>", tipc_zone(node), tipc_cluster(node), in tipc_nl_compat_name_table_dump()
799 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()