Home
last modified time | relevance | path

Searched refs:s_port (Results 1 – 25 of 65) sorted by relevance

123

/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dgetport.c20 *port = s->s_port;
34 p1 = s->s_port;
36 if (s == NULL || s->s_port != p1)
45 *port = s->s_port;
H A Dportnum.c39 *port = ntohs(sp->s_port);
47 p1 = sp->s_port;
54 if (p1 != sp2->s_port) {
57 fprintf(stderr, "%d: %s %d/udp\n", linenum, name, sp->s_port);
H A Dipft_tx.c90 return ntohs(sp->s_port);
96 p1 = sp->s_port;
103 if (p1 != sp2->s_port) {
106 (void) fprintf(stderr, "%s %d/udp\n", name, sp->s_port);
H A Dgetportproto.c33 return s->s_port;
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgetservent_r.c163 sptr->s_port = se->s_port; in copy_servent()
198 sptr->s_port = se->s_port; in copy_servent()
H A Dlcl_sv.c248 if (p->s_port != port) in sv_byport()
353 sv->serv.s_port = htons((u_short)strtol(p, &cp, 10)); in irs_lclsv_fnxt()
394 sv->serv.s_port = ((u_short *)key->data)[1]; in sv_db_rec()
415 sv->serv.s_port = *(u_short *)data->data; in sv_db_rec()
H A Dgetservent.c127 if (port == net_data->sv_last->s_port && in getservbyport_p()
H A Dirp_sv.c241 port == sv->s_port && in sv_byport()
H A Ddns_sv.c232 pvt->serv.s_port = htons((u_short) atoi(p)); in parse_hes_list()
/titanic_41/usr/src/lib/nsswitch/files/common/
H A Dgetservent.c132 int numlen, s_port; in check_port() local
156 s_port = htons((int)strtol(numbuf, &numend, 10)); in check_port()
159 if (s_port == argp->key.serv.serv.port) { in check_port()
/titanic_41/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c221 return (serv->s_port == args->key.serv.serv.port);
228 int numlen, s_port; in check_port2() local
252 s_port = htons((int)strtol(numbuf, &numend, 10)); in check_port2()
255 if (s_port == argp->key.serv.serv.port) { in check_port2()
/titanic_41/usr/src/cmd/svc/servinfo/
H A Dservinfo.c278 (void) printf("Port %d\n", htons(service->s_port)); in main()
282 (void) printf("%d\n", htons(service->s_port)); in main()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c244 sin.sin_port = sp->s_port; in main()
265 if (from.sin_port != sp->s_port) { in main()
530 multicast_addr.sin_port = sp->s_port; in configure()
641 multicast_addr.sin_port = sp->s_port; in configure()
679 sin->sin_port = sp->s_port; in configure()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c241 u_short s_port = port; in add_udp_port() local
243 if (s_port != port) in add_udp_port()
247 if (s_port == val) in add_udp_port()
249 if (!ADD(udp_port_data, s_port, tmp)) in add_udp_port()
259 u_short s_port = port; in add_tcp_port() local
261 if (s_port != port) in add_tcp_port()
265 if (s_port == val) in add_tcp_port()
267 if (!ADD(tcp_port_data, s_port, tmp)) in add_tcp_port()
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dnetdb.h55 int s_port; /* port # */ member
/titanic_41/usr/src/cmd/getent/
H A Ddogetserv.c49 sp->s_name, ntohs(sp->s_port), sp->s_proto) == EOF) in putservent()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c132 daemon_port = sp->s_port;
/titanic_41/usr/src/lib/libresolv/
H A Dnetdb.h79 int s_port; /* port # */ member
/titanic_41/usr/src/head/
H A Dnetdb.h233 int s_port; /* port # */ member
/titanic_41/usr/src/cmd/sendmail/aux/
H A Dmconnect.c133 port = sp->s_port;
/titanic_41/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c155 sin.sin6_port = sp->s_port; in sock_connect()
157 sin.sin_port = sp->s_port; in sock_connect()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Ddocmd.c319 port = sp->s_port;
381 port = sp->s_port;
/titanic_41/usr/src/lib/libast/common/comp/
H A Dsyslog.c172 p = sp->s_port;
/titanic_41/usr/src/cmd/sendmail/src/
H A Ddaemon.c1295 port = sp->s_port;
1741 d->d_addr.sin.sin_port = sp->s_port;
1765 d->d_addr.sin6.sin6_port = sp->s_port;
1789 portno = sp->s_port;
2460 port = sp->s_port;
3534 port4 = sp->s_port;
3570 port6 = sp->s_port;
/titanic_41/usr/src/cmd/lp/model/netpr/
H A Dnetpr.c109 sin.sin6_port = sp->s_port; in net_open()

123