Searched refs:port_str (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/infiniband/core/ |
| H A D | cma_configfs.c | 219 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 D | iscsi_target_configfs.c | 161 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 D | ftrace-tcp.c | 269 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 D | functions.sh | 311 local port_str=$1 316 IFS="-" read -ra port_list <<< $port_str
|
| /linux/samples/bpf/ |
| H A D | xdp_tx_iptunnel_user.c | 113 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 D | rtrs.c | 461 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 D | trans_fd.c | 878 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 D | ib_srp.c | 3296 char *port_str; in srp_parse_in() local 3301 port_str = strrchr(addr, ':'); in srp_parse_in() 3302 if (port_str && strchr(port_str, ']')) in srp_parse_in() 3303 port_str = NULL; in srp_parse_in() 3304 if (port_str) in srp_parse_in() 3305 *port_str++ = '\0'; in srp_parse_in() 3307 *has_port = port_str != NULL; in srp_parse_in() 3308 ret = inet_pton_with_scope(net, AF_INET, addr, port_str, sa); in srp_parse_in() 3314 port_str, sa); in srp_parse_in()
|
| /linux/net/tipc/ |
| H A D | netlink_compat.c | 894 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()
|