Searched refs:port_str (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/arch/um/drivers/ |
D | vde_kern.c | 73 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()
|
D | umcast_kern.c | 73 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-v5.4/drivers/infiniband/core/ |
D | cma_configfs.c | 221 char port_str[10]; in make_cma_ports() local 224 snprintf(port_str, sizeof(port_str), "%u", i + 1); in make_cma_ports() 227 port_str, in make_cma_ports()
|
/Linux-v5.4/samples/pktgen/ |
D | functions.sh | 169 local port_str=$1 174 IFS="-" read -ra port_list <<< $port_str
|
/Linux-v5.4/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 161 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local 187 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg() 188 if (!port_str) { in lio_target_call_addnptotpg() 193 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg() 194 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg() 197 port_str = strstr(ip_str, ":"); in lio_target_call_addnptotpg() 198 if (!port_str) { in lio_target_call_addnptotpg() 203 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg() 204 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg() 208 port_str, &sockaddr); in lio_target_call_addnptotpg()
|
/Linux-v5.4/samples/bpf/ |
D | xdp_tx_iptunnel_user.c | 114 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument 144 port_str, MAX_IPTNL_ENTRIES); in parse_ports()
|
/Linux-v5.4/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 3464 char *port_str; in srp_parse_in() local 3469 port_str = strrchr(addr, ':'); in srp_parse_in() 3470 if (port_str && strchr(port_str, ']')) in srp_parse_in() 3471 port_str = NULL; in srp_parse_in() 3472 if (port_str) in srp_parse_in() 3473 *port_str++ = '\0'; in srp_parse_in() 3475 *has_port = port_str != NULL; in srp_parse_in() 3476 ret = inet_pton_with_scope(net, AF_INET, addr, port_str, sa); in srp_parse_in() 3482 port_str, sa); in srp_parse_in()
|
/Linux-v5.4/net/tipc/ |
D | netlink_compat.c | 867 char port_str[27]; in tipc_nl_compat_name_table_dump() local 923 sprintf(port_str, "<%u.%u.%u:%u>", tipc_zone(node), tipc_cluster(node), in tipc_nl_compat_name_table_dump() 925 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()
|