Searched refs:ntohs (Results 176 - 200 of 554) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Dresend.c114 len = ntohs(ip->ip_len);
/freebsd-10.0-release/contrib/ipfilter/lib/
H A Dprintipfexpr.c156 PRINTF("%d", ntohs(array[i + 4]));
/freebsd-10.0-release/contrib/ldns/compat/
H A Dfake-rfc2553.c56 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port));
/freebsd-10.0-release/contrib/ntp/include/
H A Dntp_request.h213 #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 Dinterfaceiter.c108 zone16 = ntohs(zone16);
/freebsd-10.0-release/contrib/ofed/management/libibmad/src/
H A Dserv.c96 rport.lid = ntohs(mad_addr->lid);
/freebsd-10.0-release/contrib/sendmail/src/
H A Dsasl.c281 sm_snprintf(pbuf, sizeof(pbuf), "%d", ntohs(addr->sin.sin_port));
/freebsd-10.0-release/contrib/unbound/compat/
H A Dfake-rfc2553.c54 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port));
/freebsd-10.0-release/crypto/heimdal/appl/test/
H A Dcommon.c151 snprintf (portstr, sizeof(portstr), "%u", ntohs(port));
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dmini_inetd.c187 snprintf (portstr, sizeof(portstr), "%d", ntohs(port));
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c57 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port));
/freebsd-10.0-release/lib/libc/net/
H A Drcmd.c128 (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 Drarp.c205 printf("bad op=0x%x\n", ntohs(ap->arp_op));
H A Dstand.h376 extern uint16_t ntohs(uint16_t);
384 #define ntohs(x) __ntohs(x) macro
/freebsd-10.0-release/sys/net/
H A Dif_fddisubr.c158 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 Dpf_osfp.c106 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 Dtcpstream.c149 inet_ntoa(other_sin.sin_addr), ntohs(other_sin.sin_port));
/freebsd-10.0-release/usr.sbin/bluetooth/sdpd/
H A Dserver.c436 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 Dnat_cmd.c338 *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 Dtcp.c200 inet_ntoa(sock.sin_addr), ntohs(sock.sin_port));
/freebsd-10.0-release/usr.sbin/rip6query/
H A Drip6query.c167 printf(" tag=0x%x", ntohs(np->rip6_tag));
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dipmon.c441 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 DmibII_tcp.c149 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 Dsocks.c277 host, ntohs(serverport));
281 host, ntohs(serverport));
/freebsd-10.0-release/libexec/bootpd/tools/bootptest/
H A Dbootptest.c246 bootps_port = ntohs((u_short) sep->s_port);
279 bootpc_port = ntohs(sep->s_port);

Completed in 443 milliseconds

1234567891011>>