/freebsd-10.0-release/contrib/ipfilter/ipsend/ |
H A D | resend.c | 114 len = ntohs(ip->ip_len);
|
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | printipfexpr.c | 156 PRINTF("%d", ntohs(array[i + 4]));
|
/freebsd-10.0-release/contrib/ldns/compat/ |
H A D | fake-rfc2553.c | 56 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port));
|
/freebsd-10.0-release/contrib/ntp/include/ |
H A D | ntp_request.h | 213 #define INFO_ERR(err_nitems) ((u_short)((ntohs(err_nitems)>>12)&0xf)) 214 #define INFO_NITEMS(err_nitems) ((u_short)(ntohs(err_nitems)&0xfff)) 218 #define INFO_MBZ(mbz_itemsize) ((ntohs(mbz_itemsize)>>12)&0xf) 219 #define INFO_ITEMSIZE(mbz_itemsize) ((u_short)(ntohs(mbz_itemsize)&0xfff))
|
/freebsd-10.0-release/contrib/ntp/libisc/ |
H A D | interfaceiter.c | 108 zone16 = ntohs(zone16);
|
/freebsd-10.0-release/contrib/ofed/management/libibmad/src/ |
H A D | serv.c | 96 rport.lid = ntohs(mad_addr->lid);
|
/freebsd-10.0-release/contrib/sendmail/src/ |
H A D | sasl.c | 281 sm_snprintf(pbuf, sizeof(pbuf), "%d", ntohs(addr->sin.sin_port));
|
/freebsd-10.0-release/contrib/unbound/compat/ |
H A D | fake-rfc2553.c | 54 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port));
|
/freebsd-10.0-release/crypto/heimdal/appl/test/ |
H A D | common.c | 151 snprintf (portstr, sizeof(portstr), "%u", ntohs(port));
|
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | mini_inetd.c | 187 snprintf (portstr, sizeof(portstr), "%d", ntohs(port));
|
/freebsd-10.0-release/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 57 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port));
|
/freebsd-10.0-release/lib/libc/net/ |
H A D | rcmd.c | 128 (void)snprintf(num, sizeof(num), "%d", ntohs(rport)); 260 aport = ntohs(((struct sockaddr_in *)&from)->sin_port); 264 aport = ntohs(((struct sockaddr_in6 *)&from)->sin6_port); 374 *alport = (int)ntohs(*sport);
|
/freebsd-10.0-release/lib/libstand/ |
H A D | rarp.c | 205 printf("bad op=0x%x\n", ntohs(ap->arp_op));
|
H A D | stand.h | 376 extern uint16_t ntohs(uint16_t); 384 #define ntohs(x) __ntohs(x) macro
|
/freebsd-10.0-release/sys/net/ |
H A D | if_fddisubr.c | 158 switch (ntohs(ah->ar_op)) { 477 ntohs(l->llc_snap.ether_type) == ETHERTYPE_AT) { 485 ntohs(l->llc_snap.ether_type) == ETHERTYPE_AARP) { 498 type = ntohs(l->llc_snap.ether_type);
|
/freebsd-10.0-release/sys/netpfil/pf/ |
H A D | pf_osfp.c | 106 fp.fp_psize = ntohs(ip->ip_len); 115 fp.fp_psize = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen); 125 fp.fp_wsize = ntohs(tcp->th_win); 187 srcname, ntohs(tcp->th_sport),
|
/freebsd-10.0-release/tools/regression/netinet/tcpstream/ |
H A D | tcpstream.c | 149 inet_ntoa(other_sin.sin_addr), ntohs(other_sin.sin_port));
|
/freebsd-10.0-release/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 436 sizeof(*pdu) + (pdu->len = ntohs(pdu->len)) == len) { 504 pdu->pid, ntohs(pdu->tid), error); 510 pdu->pid, ntohs(pdu->tid), pdu->len, len, error); 517 pdu->pid, ntohs(pdu->tid), error);
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | nat_cmd.c | 338 *port = ntohs(sp->s_port); 509 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 532 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 566 len = ntohs(((struct ip *)fptr)->ip_len);
|
H A D | tcp.c | 200 inet_ntoa(sock.sin_addr), ntohs(sock.sin_port));
|
/freebsd-10.0-release/usr.sbin/rip6query/ |
H A D | rip6query.c | 167 printf(" tag=0x%x", ntohs(np->rip6_tag));
|
/freebsd-10.0-release/contrib/ipfilter/tools/ |
H A D | ipmon.c | 441 port = ntohs(s->s_port); 445 port = ntohs(s->s_port); 502 port = ntohs(port); 1206 ipoff = ntohs(ip->ip_off); 1211 plen = ntohs(ip->ip_len); 1222 plen = hl + ntohs(ip6->ip6_plen); 1275 ntohs(tp->th_win)); 1308 i = ntohs(ipc->ip_len); 1315 ipoff = ntohs(ipc->ip_off); 1357 ntohs(ip [all...] |
/freebsd-10.0-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_tcp.c | 149 oid->index.subs[4] = ntohs(tp->xt_inp.inp_lport); 155 oid->index.subs[9] = ntohs(tp->xt_inp.inp_fport);
|
/freebsd-10.0-release/contrib/netcat/ |
H A D | socks.c | 277 host, ntohs(serverport)); 281 host, ntohs(serverport));
|
/freebsd-10.0-release/libexec/bootpd/tools/bootptest/ |
H A D | bootptest.c | 246 bootps_port = ntohs((u_short) sep->s_port); 279 bootpc_port = ntohs(sep->s_port);
|