/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 142 netnum.sa4.sin_port = htons((unsigned short)port);
|
/freebsd-11-stable/usr.sbin/nfscbd/ |
H A D | nfscbd.c | 227 inetaddr.sin_port = htons(myport); 237 nfscbdargs.port = ntohs(inetaddr.sin_port); 263 /* sin_port is already set */ 266 inetaddr.sin_port = htons(myport);
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipsyncs.c | 101 sin.sin_port = htons(atoi(argv[2])); 103 sin.sin_port = htons(43434); 108 in.sin_port = 0;
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | server.c | 123 if (ntohs(sin->sin_port) < 1024) { 126 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 132 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 172 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 339 sin->sin_port = htons(port);
|
/freebsd-11-stable/sbin/routed/ |
H A D | input.c | 223 } else if (from->sin_port == htons(RIP_PORT)) { 231 if (from->sin_port == htons(RIP_PORT)) { 301 if (from->sin_port != htons(RIP_PORT)) { 458 if (from->sin_port != htons(RIP_PORT)) { 485 if (ntohs(from->sin_port) > IPPORT_RESERVED) { 513 if (from->sin_port != ntohs(RIP_PORT)) { 517 ntohs(from->sin_port), naddr_ntoa(FROM_NADDR));
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | ops_nfs.c | 319 fp->fh_sin.sin_port = (u_short) 0; 474 fp->fh_sin.sin_port = 0; 547 if (fp->fh_sin.sin_port == 0) { 552 fp->fh_sin.sin_port = mountd_port; 553 dlog("%s: New %d mountd port", __func__, fp->fh_sin.sin_port); 555 dlog("%s: Already had %d mountd port", __func__, fp->fh_sin.sin_port); 597 fp->fh_sin.sin_port = 0; 626 if (fp->fh_sin.sin_port == 0) { 627 /* FIXME: wrong, don't discard sin_port in the first place for WebNFS. */ 630 fp->fh_sin.sin_port [all...] |
H A D | nfs_prot_svc.c | 124 ntohs(sinp->sin_port) >= IPPORT_RESERVED && 128 ntohs(sinp->sin_port)); 138 ntohs(sinp->sin_port)); 143 ntohs(sinp->sin_port),
|
/freebsd-11-stable/lib/libc/yp/ |
H A D | yplib.c | 343 check.sin_port != ysd->dom_local_port) { 407 &ysd->dom_server_addr.sin_port, 408 sizeof(ysd->dom_server_addr.sin_port)); 410 ysd->dom_server_port = ysd->dom_server_addr.sin_port; 460 if (ntohs(clnt_sin.sin_port) >= IPPORT_RESERVED) { 502 &ysd->dom_server_addr.sin_port, 503 sizeof(ysd->dom_server_addr.sin_port)); 545 ysd->dom_local_port = check.sin_port; 582 check.sin_port != ypb->dom_local_port) { 966 clnt_sin.sin_port [all...] |
/freebsd-11-stable/usr.sbin/rwhod/ |
H A D | rwhod.c | 256 soin.sin_port = sp->s_port; 385 if (from.sin_port != sp->s_port && !insecure_mode) { 387 ntohs(from.sin_port), inet_ntoa(from.sin_addr)); 601 multicast_addr.sin_port = sp->s_port; 665 #define PORT_SA(x) ((struct sockaddr_in *)(x))->sin_port 731 ntohs(sin->sin_port));
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | fils_hlp.c | 131 addr.sin_port = htons(hapd->conf->dhcp_server_port); 142 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); 176 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), (int) res); 417 addr.sin_port = htons(hapd->conf->dhcp_relay_port); 444 addr.sin_port = htons(hapd->conf->dhcp_server_port); 460 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port),
|
/freebsd-11-stable/crypto/heimdal/appl/test/ |
H A D | gssapi_server.c | 182 remote.sin_port; 184 local.sin_port; 311 my_addr.sin_port = port;
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | sock.c | 284 ti->ti_sport = lsin.sin_port; 285 printf("sport %d\n", ntohs(lsin.sin_port)); 298 rsin.sin_port = ti->ti_dport;
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_kauth_pr_47598.c | 138 printf("port is %d\n", ntohs(sa.sin_port));
|
/freebsd-11-stable/contrib/blacklist/test/ |
H A D | cltest.c | 81 s->sin_port = p;
|
/freebsd-11-stable/contrib/smbfs/lib/smb/ |
H A D | nb_net.c | 97 sinp->sin_port = htons(smbtcpport);
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | bindresvport.c | 104 portp = &sin->sin_port;
|
H A D | rpc_soc.c | 113 if (raddr->sin_port == 0) { 124 raddr->sin_port = htons(sport); 238 port = (((struct sockaddr_in *)svc->xp_ltaddr.buf)->sin_port); 285 addr->sin_port = htons(PMAPPORT);
|
/freebsd-11-stable/sbin/natd/ |
H A D | icmp.c | 110 addr.sin_port = 0;
|
/freebsd-11-stable/tools/regression/netinet/ipdivert/ |
H A D | ipdivert.c | 102 sin.sin_port = htons(port);
|
/freebsd-11-stable/tools/regression/netinet/udpzerobyte/ |
H A D | udpzerobyte.c | 123 sin.sin_port = htons(THEPORT);
|
/freebsd-11-stable/tools/tools/mctest/ |
H A D | mctest.cc | 150 local.sin_port = htons(DEFAULT_PORT); 186 recvd.sin_port = htons(base_port + client); 254 addr.sin_port = htons(args->client); 321 addr.sin_port = htons(DEFAULT_PORT);
|
/freebsd-11-stable/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 130 s_in.sin_port = htons(666);
|
/freebsd-11-stable/tools/tools/net80211/wesside/udps/ |
H A D | udps.c | 147 s_in.sin_port = htons(port);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/librumpclient/ |
H A D | t_fd.c | 126 sin.sin_port = htons(12345);
|
/freebsd-11-stable/contrib/netbsd-tests/net/icmp/ |
H A D | t_forward.c | 93 sin.sin_port = htons(33434);
|