Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
H A Dcma_configfs.c219 char port_str[11]; in make_cma_ports() local
222 snprintf(port_str, sizeof(port_str), "%u", i + 1); in make_cma_ports()
225 port_str, in make_cma_ports()
/linux/drivers/target/iscsi/
H A Discsi_target_configfs.c161 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local
186 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg()
187 if (!port_str) { in lio_target_call_addnptotpg()
192 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
193 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
196 port_str = strstr(ip_str, ":"); in lio_target_call_addnptotpg()
197 if (!port_str) { in lio_target_call_addnptotpg()
202 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg()
203 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg()
207 port_str, &sockaddr); in lio_target_call_addnptotpg()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dftrace-tcp.c269 char *addr, *port_str; in tracer_scan_address() local
272 ret = tracer_ip_split(family, src, &addr, &port_str); in tracer_scan_address()
281 *port = (unsigned int)strtoul(port_str, NULL, 10); in tracer_scan_address()
283 test_print("Couldn't parse trace event port %s", port_str); in tracer_scan_address()
/linux/samples/pktgen/
H A Dfunctions.sh311 local port_str=$1
316 IFS="-" read -ra port_list <<< $port_str
/linux/samples/bpf/
H A Dxdp_tx_iptunnel_user.c113 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument
143 port_str, MAX_IPTNL_ENTRIES); in parse_ports()
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c461 char port_str[8]; in rtrs_str_to_sockaddr() local
465 snprintf(port_str, sizeof(port_str), "%u", port); in rtrs_str_to_sockaddr()
468 cpy, port_str, dst) : -ENOMEM; in rtrs_str_to_sockaddr()
/linux/net/9p/
H A Dtrans_fd.c878 char port_str[6]; in p9_fd_create_tcp() local
889 sprintf(port_str, "%u", opts.port); in p9_fd_create_tcp()
891 port_str, &stor); in p9_fd_create_tcp()
/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c3297 char *port_str; in srp_parse_in() local
3302 port_str = strrchr(addr, ':'); in srp_parse_in()
3303 if (port_str && strchr(port_str, ']')) in srp_parse_in()
3304 port_str = NULL; in srp_parse_in()
3305 if (port_str) in srp_parse_in()
3306 *port_str++ = '\0'; in srp_parse_in()
3308 *has_port = port_str != NULL; in srp_parse_in()
3309 ret = inet_pton_with_scope(net, AF_INET, addr, port_str, sa); in srp_parse_in()
3315 port_str, sa); in srp_parse_in()
/linux/net/tipc/
H A Dnetlink_compat.c894 char port_str[27]; in tipc_nl_compat_name_table_dump() local
950 sprintf(port_str, "<%u.%u.%u:%u>", tipc_zone(node), tipc_cluster(node), in tipc_nl_compat_name_table_dump()
952 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()