Searched refs:ntohl (Results 126 - 150 of 428) sorted by relevance

1234567891011>>

/freebsd-9.3-release/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c122 printf(" xid:%ld", (long)ntohl(bp->bp_xid));
339 printf("%ld", (long)ntohl(ul));
/freebsd-9.3-release/libexec/talkd/
H A Dprocess.c82 mp->id_num = ntohl(mp->id_num);
103 mp->pid = ntohl(mp->pid);
/freebsd-9.3-release/sys/crypto/via/
H A Dpadlock_cipher.c112 ses->ses_ekey[i] = ntohl(ses->ses_ekey[i]);
113 ses->ses_dkey[i] = ntohl(ses->ses_dkey[i]);
/freebsd-9.3-release/usr.sbin/cdcontrol/
H A Dcdcontrol.c492 return play_blocks (0, ntohl(toc_buffer[n].addr.lba));
509 len = ntohl(toc_buffer[n].addr.lba) - blk;
604 lba2msf(ntohl(toc_buffer[tr1].addr.lba),
652 lba2msf(ntohl(toc_buffer[n].addr.lba),
670 lba2msf(ntohl(toc_buffer[tr2].addr.lba),
692 lba2msf(ntohl(toc_buffer[n].addr.lba),
721 lba2msf(ntohl(toc_buffer[n].addr.lba),
1015 block = ntohl(e->addr.lba);
1030 next = ntohl(e[1].addr.lba);
1125 lba2msf(ntohl(
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_proto.c319 keyid = ntohl(((u_int32 *)rpkt)[base_packet_length / 4]);
634 restrict_mask, ntohl(pkt->org.l_ui), ntohl(pkt->org.l_uf),
635 ntohl(pkt->xmt.l_ui), ntohl(pkt->xmt.l_uf)));
735 skeyid = ntohl(((u_int32 *)pkt)[authlen / 4]);
739 opcode = ntohl(((u_int32 *)pkt)[authlen / 4]);
756 hostlen = ntohl(ep->vallen);
893 ntohl(pkt->org.l_ui), ntohl(pk
[all...]
/freebsd-9.3-release/sbin/routed/
H A Dtrace.c919 && ntohl(n->n_metric) == HOPCNT_INFINITY
930 (u_int)ntohl(n->n_mask));
963 (int)ntohl(NA->au.a_md5.md5_seqno),
986 (u_int)ntohl(n->n_mask));
990 ntohl(n->n_mask),
995 ntohl(n->n_mask),
999 (u_int)ntohl(n->n_metric));
/freebsd-9.3-release/sys/netinet/
H A Dip_icmp.c507 if (IN_MULTICAST(ntohl(icp->icmp_ip.ip_dst.s_addr)))
608 src = ntohl(ip->ip_src.s_addr);
609 dst = ntohl(icp->icmp_ip.ip_dst.s_addr);
610 gw = ntohl(icp->icmp_gwaddr.s_addr);
700 if (IN_MULTICAST(ntohl(ip->ip_src.s_addr)) ||
701 IN_EXPERIMENTAL(ntohl(ip->ip_src.s_addr)) ||
702 IN_ZERONET(ntohl(ip->ip_src.s_addr)) ) {
/freebsd-9.3-release/usr.sbin/rarpd/
H A Drarpd.c367 ii->ii_ifname, intoa(ntohl(ii->ii_ipaddr)),
368 (in_addr_t)ntohl(ii->ii_netmask), eatoa(ii->ii_eaddr));
599 (void)sprintf(ipname, "%08X", (in_addr_t)ntohl(addr));
681 ename, intoa(ntohl(ii->ii_ipaddr & ii->ii_netmask)));
690 intoa(ntohl(target_ipaddr)));
883 intoa(ntohl(ipaddr)));
894 addr = ntohl(addr);
/freebsd-9.3-release/lib/libtacplus/
H A Dtaclib.c129 offset = ntohl(h->request.length);
325 msg_len = ntohl(msg->length);
447 len = ntohl(h->response.length);
462 if (h->srvr_pos + len > ntohl(h->response.length)) {
465 (u_long)ntohl(h->response.length));
570 len = ntohl(msg->length);
645 len = HDRSIZE + ntohl(msg->length);
1129 h->request.length = ntohl(htonl(h->request.length) + areq->av_cnt);
1192 h->request.length = ntohl(htonl(h->request.length) + as->av_cnt);
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_ftp_pxy.c213 (a1 != ntohl(nat->nat_inip.s_addr))) ||
215 (a1 != ntohl(nat->nat_oip.s_addr)))) {
260 a1 = ntohl(nat->nat_oip.s_addr);
262 a1 = ntohl(ip->ip_src.s_addr);
533 (a1 != ntohl(nat->nat_inip.s_addr))) ||
535 (a1 != ntohl(nat->nat_oip.s_addr)))) {
572 a1 = ntohl(data_ip);
996 thseq = ntohl(tcp->th_seq);
997 thack = ntohl(tcp->th_ack);
/freebsd-9.3-release/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c120 ha = ntohl(in_dst->sin_addr.s_addr);
126 ha = ntohl(in_mask.s_addr);
135 ha = ntohl(in_gw->sin_addr.s_addr);
/freebsd-9.3-release/contrib/nvi/ip_cl/
H A Dip_cl.c278 ipb.val1 = ntohl(ipb.val1);
286 ipb.val2 = ntohl(ipb.val2);
294 ipb.len = ntohl(ipb.len);
/freebsd-9.3-release/sys/net/
H A Dbpf_filter.c52 #define EXTRACT_LONG(p) (ntohl(*(u_int32_t *)p))
226 A = ntohl(*(int32_t *)(p + k));
295 A = ntohl(*(int32_t *)(p + k));
/freebsd-9.3-release/sys/netinet/khelp/
H A Dh_ertt.c459 txsi->seq = ntohl(th->th_seq);
478 txsi->tx_ts = ntohl(to->to_tsval) -
480 txsi->rx_ts = ntohl(to->to_tsecr);
/freebsd-9.3-release/sys/netinet6/
H A Din6.h250 (a)->__u6_addr.__u6_addr32[3] == ntohl(1))
260 (a)->__u6_addr.__u6_addr32[3] != ntohl(1))
268 (a)->__u6_addr.__u6_addr32[2] == ntohl(0x0000ffff))
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_tx.c117 ntohl(h->mseq_ack));
216 sdp_prf1(ssk->socket, mb, "tx completion. mseq:%d", ntohl(h->mseq));
218 mb, mb->m_pkthdr.len, ntohl(h->mseq));
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_fp.h76 #define NTOHS_FP(x) (ntohl(x))
80 (hi) = ntohl(ni); \
81 (hf) = ntohl(nf); \
/freebsd-9.3-release/contrib/tcpdump/missing/
H A Dinet_ntop.c69 u_long a = ntohl(addr->s_addr);
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dndef.c54 record->payload_length = ntohl(*(u32 *)pos);
/freebsd-9.3-release/crypto/heimdal/appl/rsh/
H A Dcommon.c93 len = ntohl(len);
/freebsd-9.3-release/lib/libc/xdr/
H A Dxdr_rec.c100 * encode/decoded to the network via htonl/ntohl. The low order 31 bits
243 *lp = (long)ntohl((u_int32_t)(*buflp));
250 *lp = (long)ntohl((u_int32_t)mylong);
564 rstrm->in_header = ntohl(rstrm->in_header);
723 header = ntohl(header);
/freebsd-9.3-release/lib/libstand/
H A Dnet.c227 addr = ntohl(addr);
/freebsd-9.3-release/libexec/rbootd/
H A Drmp_var.h131 * N.B. Endianness is handled by use of ntohl/htonl
140 #define GETWORD(w, i) (i) = ntohl(w)
/freebsd-9.3-release/sbin/mount_cd9660/
H A Dmount_cd9660.c233 return ntohl(toc_buffer[i].addr.lba);
/freebsd-9.3-release/secure/lib/libcrypt/
H A Dcrypt-des.c377 rawkey0 = ntohl(*(const u_int32_t *) key);
378 rawkey1 = ntohl(*(const u_int32_t *) (key + 4));
580 rawl = ntohl(*trans.ui32++);
581 rawr = ntohl(*trans.ui32);

Completed in 358 milliseconds

1234567891011>>