Home
last modified time | relevance | path

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

/openbsd/sbin/isakmpd/
H A Dudp_encap.c234 char *addr_str, *port_str; in udp_encap_create() local
236 port_str = conf_get_str(name, "Port"); /* XXX "Encap-port" ? */ in udp_encap_create()
237 if (!port_str) in udp_encap_create()
238 port_str = udp_encap_default_port; in udp_encap_create()
239 if (!port_str) in udp_encap_create()
240 port_str = UDP_ENCAP_DEFAULT_PORT_STR; in udp_encap_create()
248 if (text2sockaddr(addr_str, port_str, &dst, 0, 0)) { in udp_encap_create()
276 if (text2sockaddr(addr_node->field, port_str, in udp_encap_create()
292 if (text2sockaddr(addr_str, port_str, &addr, 0, 0)) { in udp_encap_create()
302 "%s:%s must exist as a listener too", addr_str, port_str); in udp_encap_create()
H A Dudp.c272 char *addr_str, *port_str; in udp_create() local
276 port_str = conf_get_str(name, "Port"); in udp_create()
277 if (!port_str) in udp_create()
278 port_str = udp_default_port; in udp_create()
279 if (!port_str) in udp_create()
280 port_str = UDP_DEFAULT_PORT_STR; in udp_create()
288 if (text2sockaddr(addr_str, port_str, &dst, 0, 0)) { in udp_create()
319 port_str, &addr, 0, 0) == 0) { in udp_create()
332 if (text2sockaddr(addr_str, port_str, &addr, 0, 0)) { in udp_create()
342 addr_str, port_str); in udp_create()
H A Dutil.c169 text2port(char *port_str) in text2port() argument
175 port_long = strtol(port_str, &port_str_end, 0); in text2port()
176 if (port_str == port_str_end) { in text2port()
177 service = getservbyname(port_str, "udp"); in text2port()
180 port_str); in text2port()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dser-tcp.c59 char *port_str, hostname[100]; in net_open() local
74 port_str = strchr (name, ':'); in net_open()
76 if (!port_str) in net_open()
79 tmp = min (port_str - name, (int) sizeof hostname - 1); in net_open()
82 port = atoi (port_str + 1); in net_open()
H A Dremote-m32r-sdi.c352 char *port_str, hostname[256]; in m32r_open() local
368 port_str = strchr (args, ':'); in m32r_open()
369 if (port_str == NULL) in m32r_open()
/openbsd/gnu/usr.bin/binutils/gdb/gdbserver/
H A Dgdbreplay.c105 char *port_str; in remote_open() local
111 port_str = strchr (name, ':'); in remote_open()
113 port = atoi (port_str + 1); in remote_open()
H A Dremote-utils.c122 char *port_str; in remote_open() local
128 port_str = strchr (name, ':'); in remote_open()
130 port = atoi (port_str + 1); in remote_open()
/openbsd/gnu/llvm/lldb/tools/debugserver/source/
H A Ddebugserver.cpp715 char port_str[64]; in PortWasBoundCallbackNamedPipe() local
717 ::snprintf(port_str, sizeof(port_str), "%u", port); in PortWasBoundCallbackNamedPipe()
719 ::write(fd, port_str, port_str_len + 1); in PortWasBoundCallbackNamedPipe()
1373 std::string port_str = in main() local
1376 port = strtoul(port_str.c_str(), &end_ptr, 0); in main()
1377 if (end_ptr < port_str.c_str() + port_str.size()) in main()
/openbsd/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp873 [this](llvm::StringRef port_str) { in ListenThread() argument
875 llvm::to_integer(port_str, port, 10); in ListenThread()