Home
last modified time | relevance | path

Searched refs:servname (Results 1 – 4 of 4) sorted by relevance

/external/tcpdump/missing/
Dgetaddrinfo.c289 getaddrinfo(hostname, servname, hints, res) in getaddrinfo() argument
290 const char *hostname, *servname; in getaddrinfo()
327 if (hostname == NULL && servname == NULL)
387 error = get_portmatch(pai, servname);
415 error = explore_null(pai, hostname, servname, &cur->ai_next);
417 error = explore_numeric_scope(pai, hostname, servname, &cur->ai_next);
474 error = explore_fqdn(pai, hostname, servname,
508 explore_fqdn(pai, hostname, servname, res) in explore_fqdn() argument
511 const char *servname;
540 if (get_portmatch(pai, servname) != 0)
[all …]
/external/dropbear/
Dfake-rfc2553.c150 getaddrinfo(const char *hostname, const char *servname, in getaddrinfo() argument
161 if (servname != NULL) { in getaddrinfo()
164 port = strtol(servname, &cp, 10); in getaddrinfo()
167 else if ((sp = getservbyname(servname, NULL)) != NULL) in getaddrinfo()
/external/qemu/telephony/
Dsysdeps_posix.c563 struct sockaddr_in servname; in sys_channel_create_tcp_server() local
566 servname.sin_family = AF_INET; in sys_channel_create_tcp_server()
567 servname.sin_port = htons(port); in sys_channel_create_tcp_server()
569 servname.sin_addr.s_addr=in_addr; in sys_channel_create_tcp_server()
571 if (-1==bind(channel->fd, (struct sockaddr*)&servname, sizeof(servname))) { in sys_channel_create_tcp_server()
/external/kernel-headers/original/linux/sunrpc/
Dclnt.h114 struct rpc_clnt *rpc_create_client(struct rpc_xprt *xprt, char *servname,
117 struct rpc_clnt *rpc_new_client(struct rpc_xprt *xprt, char *servname,