Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/target/iscsi/
Discsi_target_configfs.c223 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local
254 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg()
255 if (!port_str) { in lio_target_call_addnptotpg()
260 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
261 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
263 ret = kstrtoul(port_str, 0, &port); in lio_target_call_addnptotpg()
279 port_str = strstr(ip_str, ":"); in lio_target_call_addnptotpg()
280 if (!port_str) { in lio_target_call_addnptotpg()
285 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
286 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
[all …]
/linux-4.1.27/net/tipc/
Dnetlink_compat.c664 char port_str[27]; in tipc_nl_compat_name_table_dump() local
707 sprintf(port_str, "<%u.%u.%u:%u>", tipc_zone(node), tipc_cluster(node), in tipc_nl_compat_name_table_dump()
709 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()