Searched refs:getport (Results 1 - 20 of 20) sorted by relevance

/netbsd-current/usr.bin/rsh/
H A Dgetport.h29 extern struct servent *getport(const char *, const char *);
H A DMakefile9 SRCS= rsh.c getport.c
H A Dgetport.c1 /* $NetBSD: getport.c,v 1.1 2004/10/16 02:03:54 christos Exp $ */
33 __RCSID("$NetBSD: getport.c,v 1.1 2004/10/16 02:03:54 christos Exp $");
42 #include "getport.h"
45 getport(const char *service, const char *protocol) function
H A Drsh.c68 #include "getport.h"
180 sp = getport(optarg, "tcp");
/netbsd-current/bin/rcmd/
H A DMakefile9 SRCS= rsh.c getport.c
/netbsd-current/usr.bin/rlogin/
H A DMakefile7 SRCS= rlogin.c getport.c
H A Drlogin.c75 #include "getport.h"
192 sp = getport(service = optarg, "tcp");
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dgetport.c1 /* $NetBSD: getport.c,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $ */
8 * Id: getport.c,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $
14 int getport(fr, name, port, proto) function
H A Dparseipfexpr.c250 if (getport(NULL, s, &port, proto) == -1)
/netbsd-current/usr.sbin/lpr/common_source/
H A Dlp.h111 int getport(const char *);
H A Drmjob.c342 rem = getport(RM);
H A Ddisplayq.c240 fd = getport(RM);
H A Dcommon.c132 getport(const char *rhost) function
/netbsd-current/external/bsd/ipf/lib/
H A DMakefile34 getport.c \
/netbsd-current/external/bsd/ipf/dist/
H A Dipf.h253 extern int getport __P((struct frentry *, char *, u_short *, char *));
/netbsd-current/lib/libc/net/
H A Dgetaddrinfo.c417 getport(struct addrinfo *ai) { function
1196 if (*getport(cur))
1601 *getport(__UNCONST(ai)) = port;
1975 *getport(cur) = htons(srv->port);
/netbsd-current/usr.sbin/lpr/lpd/
H A Dprintjob.c1412 pfd = getport(LP);
1474 pfd = getport(RM);
/netbsd-current/usr.bin/rpcinfo/
H A Drpcinfo.c1546 getport(const struct netbuf *nb) function
1581 portnum = ntohs(getport(&nb));
/netbsd-current/external/bsd/ipf/dist/tools/
H A Dipnat_y.y729 | YY_STR { if (getport(NULL, $1,
H A Dipf_y.y1434 servicename { if (getport(frc, $1,

Completed in 165 milliseconds