Searched refs:getservbyname (Results 1 - 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dgetport.c18 s = getservbyname(name, NULL);
31 s = getservbyname(name, "tcp");
35 s = getservbyname(name, "udp");
43 s = getservbyname(name, p ? p->p_name : NULL);
H A Dportnum.c16 * find the port number given by the name, either from getservbyname() or
37 sp = getservbyname(name, proto);
45 sp = getservbyname(name, "tcp");
48 sp2 = getservbyname(name, "udp");
H A Dgetportproto.c31 s = getservbyname(name, p ? p->p_name : NULL);
H A Dipft_tx.c74 * find the port number given by the name, either from getservbyname() or
88 sp = getservbyname(name, tx_proto);
94 sp = getservbyname(name, "tcp");
97 sp2 = getservbyname(name, "udp");
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3socket.inc29 file path=usr/share/man/man3socket/getservbyname.3socket
62 target=getservbyname.3socket
105 target=getservbyname.3socket
107 target=getservbyname.3socket
109 target=getservbyname.3socket
111 target=getservbyname.3socket
113 target=getservbyname.3socket
182 target=getservbyname.3socket
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c51 struct servent *getservbyname();
116 sp = getservbyname("ntalk", "udp");
118 sp = getservbyname("talk", "udp");
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetservent.c49 getservbyname(const char *nam, const char *proto) function
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dnetdb.h73 struct servent *getservbyname(), *getservbyport(), *getservent();
/illumos-gate/usr/src/lib/libresolv/
H A Dnetdb.h123 struct servent *getservbyname(const char *, const char *);
170 struct servent *getservbyname();
/illumos-gate/usr/src/man/man3socket/
H A DMakefile33 getservbyname.3socket \
192 endservent.3socket := LINKSRC = getservbyname.3socket
193 getservbyname_r.3socket := LINKSRC = getservbyname.3socket
194 getservbyport.3socket := LINKSRC = getservbyname.3socket
195 getservbyport_r.3socket := LINKSRC = getservbyname.3socket
196 getservent.3socket := LINKSRC = getservbyname.3socket
197 getservent_r.3socket := LINKSRC = getservbyname.3socket
198 setservent.3socket := LINKSRC = getservbyname.3socket
/illumos-gate/usr/src/cmd/getent/
H A Ddogetserv.c61 * getservbyname/addr - get entries from service database
96 sp = getservbyname(key, protocol);
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dport_netdb.h144 /* getservbyname is in libsocket.so.1 and libnsl.so.1 */
145 #define getservbyname res_getservbyname macro
146 struct servent *getservbyname __P((const char *, const char *));
/illumos-gate/usr/src/man/man3xnet/
H A DMakefile62 getservbyname.3xnet \
96 getservbyname.3xnet := LINKSRC = endservent.3xnet
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetservent.c58 getservbyname(const char *name, const char *proto) { function
H A Dgetservent_r.c43 struct servent *se = getservbyname(name, proto);
/illumos-gate/usr/src/head/
H A Dnetdb.h277 struct servent *getservbyname(const char *, const char *);
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmconnect.c131 sp = getservbyname("smtp", "tcp");
/illumos-gate/usr/src/cmd/svc/servinfo/
H A Dservinfo.c30 * or number, the program uses getservbyname(3SOCKET) and rpcbind(3NSL)
269 if ((service = getservbyname(sname, sproto)) == NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddocmd.c254 if ((sp = getservbyname("kshell", "tcp")) == NULL) {
262 if ((sp = getservbyname("shell", "tcp")) == NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drsh.c803 sp = getservbyname("kshell", "tcp");
811 sp = getservbyname("shell", "tcp");
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsyslog.c170 if (!(sp = getservbyname(s - 1, prot)))
/illumos-gate/usr/src/cmd/backup/lib/
H A Drmtlib.c161 sp = getservbyname("shell", "tcp");
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnetpr.c105 if ((sp = getservbyname("printer", "tcp")) == NULL) {
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddaemon.c1288 sp = getservbyname("smtp", "tcp");
1736 sp = getservbyname(port, "tcp");
1760 sp = getservbyname(port, "tcp");
1784 sp = getservbyname(port, "tcp");
2450 register struct servent *sp = getservbyname("smtp", "tcp");
3520 ** getservbyname() consumes about 5% of the time
3532 sp = getservbyname("auth", "tcp");
3568 sp = getservbyname("auth", "tcp");
/illumos-gate/usr/src/lib/librdc/common/
H A Dnetaddrs.c540 if ((svp = getservbyname(srvport, proto)) == NULL)

Completed in 84 milliseconds

123