Searched refs:port_str (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/arch/um/drivers/ |
H A D | vde_kern.c | 73 char *remain, *port_str = NULL, *mode_str = NULL, *last; vde_setup() local 82 remain = split_if_spec(str, &init->vde_switch, mac_out, &port_str, vde_setup() 89 if (port_str != NULL) { vde_setup() 90 init->port = simple_strtoul(port_str, &last, 10); vde_setup() 91 if ((*last != '\0') || (last == port_str)) { vde_setup() 93 port_str); vde_setup()
|
H A D | umcast_kern.c | 73 char *port_str = NULL, *ttl_str = NULL, *remain; mcast_setup() local 81 remain = split_if_spec(str, mac_out, &init->addr, &port_str, &ttl_str, mcast_setup() 89 if (port_str != NULL) { mcast_setup() 90 init->lport = simple_strtoul(port_str, &last, 10); mcast_setup() 91 if ((*last != '\0') || (last == port_str)) { mcast_setup() 93 port_str); mcast_setup()
|
/linux-4.1.27/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 223 char *str, *str2, *ip_str, *port_str; lio_target_call_addnptotpg() local 254 port_str = strstr(str2, ":"); lio_target_call_addnptotpg() 255 if (!port_str) { lio_target_call_addnptotpg() 260 *port_str = '\0'; /* Terminate string for IP */ lio_target_call_addnptotpg() 261 port_str++; /* Skip over ":" */ lio_target_call_addnptotpg() 263 ret = kstrtoul(port_str, 0, &port); lio_target_call_addnptotpg() 265 pr_err("kstrtoul() failed for port_str: %d\n", ret); lio_target_call_addnptotpg() 279 port_str = strstr(ip_str, ":"); lio_target_call_addnptotpg() 280 if (!port_str) { lio_target_call_addnptotpg() 285 *port_str = '\0'; /* Terminate string for IP */ lio_target_call_addnptotpg() 286 port_str++; /* Skip over ":" */ lio_target_call_addnptotpg() 288 ret = kstrtoul(port_str, 0, &port); lio_target_call_addnptotpg() 290 pr_err("kstrtoul() failed for port_str: %d\n", ret); lio_target_call_addnptotpg()
|
/linux-4.1.27/net/tipc/ |
H A D | netlink_compat.c | 664 char port_str[27]; tipc_nl_compat_name_table_dump() local 707 sprintf(port_str, "<%u.%u.%u:%u>", tipc_zone(node), tipc_cluster(node), tipc_nl_compat_name_table_dump() 709 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); tipc_nl_compat_name_table_dump()
|
Completed in 185 milliseconds