/freebsd-9.3-release/libexec/bootpd/tools/bootptest/ |
H A D | print-bootp.c | 122 printf(" xid:%ld", (long)ntohl(bp->bp_xid)); 339 printf("%ld", (long)ntohl(ul));
|
/freebsd-9.3-release/libexec/talkd/ |
H A D | process.c | 82 mp->id_num = ntohl(mp->id_num); 103 mp->pid = ntohl(mp->pid);
|
/freebsd-9.3-release/sys/crypto/via/ |
H A D | padlock_cipher.c | 112 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 D | cdcontrol.c | 492 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 D | ntp_proto.c | 319 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 D | trace.c | 919 && 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 D | ip_icmp.c | 507 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 D | rarpd.c | 367 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 D | taclib.c | 129 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 D | ip_ftp_pxy.c | 213 (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 D | mibII_route.c | 120 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 D | ip_cl.c | 278 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 D | bpf_filter.c | 52 #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 D | h_ertt.c | 459 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 D | in6.h | 250 (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 D | sdp_tx.c | 117 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 D | ntp_fp.h | 76 #define NTOHS_FP(x) (ntohl(x)) 80 (hi) = ntohl(ni); \ 81 (hf) = ntohl(nf); \
|
/freebsd-9.3-release/contrib/tcpdump/missing/ |
H A D | inet_ntop.c | 69 u_long a = ntohl(addr->s_addr);
|
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | ndef.c | 54 record->payload_length = ntohl(*(u32 *)pos);
|
/freebsd-9.3-release/crypto/heimdal/appl/rsh/ |
H A D | common.c | 93 len = ntohl(len);
|
/freebsd-9.3-release/lib/libc/xdr/ |
H A D | xdr_rec.c | 100 * 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 D | net.c | 227 addr = ntohl(addr);
|
/freebsd-9.3-release/libexec/rbootd/ |
H A D | rmp_var.h | 131 * 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 D | mount_cd9660.c | 233 return ntohl(toc_buffer[i].addr.lba);
|
/freebsd-9.3-release/secure/lib/libcrypt/ |
H A D | crypt-des.c | 377 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);
|