Searched refs:ntohl (Results 51 - 75 of 428) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dvendstat.c258 printf("hw_uptime: 0x%08x\n", ntohl(gi->hw_info.uptime));
261 printf("fw_build_id: 0x%04x\n", ntohl(gi->fw_info.build_id));
265 printf("fw_ini_ver: %d\n", ntohl(gi->fw_info.ini_file_version));
287 printf("Port %d: PortXmitWait 0x%x\n", i + 4, ntohl(cs->record[i].data)); /* port 4 is first port */
304 ntohl(cs->record[i].data));
/freebsd-9.3-release/contrib/ipfilter/tools/
H A Dipsyncm.c155 len = ntohl(sh->sm_len);
156 magic = ntohl(sh->sm_magic);
183 printf(" num:%d\n", (u_32_t)ntohl(sh->sm_num));
/freebsd-9.3-release/contrib/ngatm/libngatm/
H A Dunimsg.c170 return (ntohl(w));
183 return (ntohl(w));
223 return (ntohl(w));
/freebsd-9.3-release/sys/sys/
H A Dimgact_aout.h50 (ntohl((ex).a_midmag) & 0xffff)
52 ((ntohl((ex).a_midmag) >> 16) & 0x03ff)
54 ((ntohl((ex).a_midmag) >> 26) & 0x3f)
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dnetworking.c81 nlen = ntohl(*head++) & 0xffff;
157 key_id = ntohl(*exten_end);
174 key_id = ntohl(*exten_end);
/freebsd-9.3-release/sys/netncp/
H A Dncp.h214 #define aRONLY (ntohl(0x01000000))
215 #define aHIDDEN (ntohl(0x02000000))
216 #define aSYSTEM (ntohl(0x04000000))
217 #define aEXECUTE (ntohl(0x08000000))
218 #define aDIR (ntohl(0x10000000))
219 #define aARCH (ntohl(0x20000000))
/freebsd-9.3-release/contrib/ofed/libmlx4/src/
H A Dcq.c219 qpn = ntohl(cqe->my_qpn);
226 srqn = ntohl(cqe->g_mlpath_rqpn) & 0xffffff;
292 wc->byte_len = ntohl(cqe->byte_cnt);
311 wc->byte_len = ntohl(cqe->byte_cnt);
332 g_mlpath_rqpn = ntohl(cqe->g_mlpath_rqpn);
336 wc->pkey_index = ntohl(cqe->immed_rss_invalid) & 0x7f;
427 (ntohl(cqe->g_mlpath_rqpn & 0xffffff) == srq->srqn) &&
431 } else if ((ntohl(cqe->my_qpn) & 0xffffff) == qpn) {
/freebsd-9.3-release/contrib/tcpdump/
H A Dtcpdump-stdinc.h184 #undef ntohl macro
192 #define ntohl(x) __ntohl(x) macro
/freebsd-9.3-release/crypto/heimdal/appl/test/
H A Dtcp_server.c104 len = ntohl(net_len);
131 len = ntohl(net_len);
/freebsd-9.3-release/sys/netinet/
H A Dip_fastfwd.c275 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET ||
276 (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) {
319 ntohl(ip->ip_src.s_addr) == (u_long)INADDR_BROADCAST ||
320 ntohl(ip->ip_dst.s_addr) == (u_long)INADDR_BROADCAST ||
321 IN_MULTICAST(ntohl(ip->ip_src.s_addr)) ||
322 IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) ||
323 IN_LINKLOCAL(ntohl(ip->ip_src.s_addr)) ||
324 IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) ||
H A Dsiftr.c428 pkt_node->ip_laddr[3] = ntohl(pkt_node->ip_laddr[3]);
429 pkt_node->ip_faddr[3] = ntohl(pkt_node->ip_faddr[3]);
432 pkt_node->ip_laddr[0] = ntohl(pkt_node->ip_laddr[0]);
433 pkt_node->ip_laddr[1] = ntohl(pkt_node->ip_laddr[1]);
434 pkt_node->ip_laddr[2] = ntohl(pkt_node->ip_laddr[2]);
435 pkt_node->ip_faddr[0] = ntohl(pkt_node->ip_faddr[0]);
436 pkt_node->ip_faddr[1] = ntohl(pkt_node->ip_faddr[1]);
437 pkt_node->ip_faddr[2] = ntohl(pkt_node->ip_faddr[2]);
1333 laddr[3] = ntohl(laddr[3]);
1334 faddr[3] = ntohl(fadd
[all...]
/freebsd-9.3-release/usr.sbin/bluetooth/sdpcontrol/
H A Dsearch.c124 ntohl(*(uint32_t *)&uuid.b[0]),
129 ntohl(*(uint32_t *)&uuid.b[12]));
185 ntohl(*(uint32_t *)&value.int128.b[0]),
190 ntohl(*(uint32_t *)&value.int128.b[12]));
250 ntohl(*(uint32_t *)&value.int128.b[0]),
255 ntohl(*(uint32_t *)&value.int128.b[12]));
460 ntohl(*(uint32_t *)&uuid.b[0]),
465 ntohl(*(uint32_t *)&uuid.b[12]));
/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Drefidsmear.c87 //printf("smear %s, refid %#.8x\n", lfptoa(&l, 8), ntohl(ar));
91 TEST_ASSERT_EQUAL_UINT_MESSAGE(er, ntohl(ar), msg);
105 printf("smear %s, refid %#.8x\n", lfptoa(&l, 8), ntohl(r));
/freebsd-9.3-release/crypto/heimdal/kdc/
H A Dhprop.c281 int32_t flags = ntohl(ent->flags);
297 hdb.entry.kvno = ntohl(ent->kvno);
329 *hdb.entry.max_life = ntohl(ent->max_life);
331 if(ntohl(ent->valid_end) != NEVERDATE && ntohl(ent->valid_end) != 0xffffffff) {
333 *hdb.entry.valid_end = ntohl(ent->valid_end);
336 if (ntohl(ent->pw_change) != NEVERDATE &&
340 *hdb.entry.pw_end = ntohl(ent->pw_change)
354 read_block(pd->context, fd, ntohl(ent->mod_ptr), &mod, sizeof(mod));
358 hdb.entry.modified_by->time = ntohl(en
[all...]
/freebsd-9.3-release/usr.sbin/dconschat/
H A Ddconschat.c285 buf = ntohl(buf);
382 if (ntohl(dbuf.version) != DCONS_VERSION) {
389 ntohl(dbuf.version), DCONS_VERSION);
401 newbuf = dc->paddr + ntohl(dbuf.ooffset[j]);
402 o->size = ntohl(dbuf.osize[j]);
407 o->gen = ntohl(dbuf.optr[j]) >> DCONS_GEN_SHIFT;
408 o->pos = ntohl(dbuf.optr[j]) & DCONS_POS_MASK;
413 i->size = ntohl(dbuf.isize[j]);
414 i->gen = ntohl(dbuf.iptr[j]) >> DCONS_GEN_SHIFT;
415 i->pos = ntohl(dbu
[all...]
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dprintpacket6.c28 flow = ntohl(*(u_32_t *)buf);
/freebsd-9.3-release/contrib/ofed/libibverbs/examples/
H A Dpingpong.c76 *(uint32_t *)(&gid->raw[i * 4]) = ntohl(v32);
/freebsd-9.3-release/lib/libipx/
H A Dipx_ntoa.c57 sprintf(obuf, "%lx", (u_long)ntohl(net.long_e));
/freebsd-9.3-release/libexec/bootpd/
H A Dlookup.c101 a = ntohl(addr);
/freebsd-9.3-release/libexec/talkd/
H A Dprint.c92 syslog(LOG_DEBUG, "%s: %s: %s, id %d", cp, tp, ap, ntohl(rp->id_num));
/freebsd-9.3-release/usr.bin/talk/
H A Dctl_transact.c109 rp->id_num = ntohl(rp->id_num);
/freebsd-9.3-release/usr.sbin/ppp/
H A Diplist.c69 list->cur.lstart = ntohl(list->cur.ip.s_addr);
75 list->cur.lstart = ntohl(list->cur.ip.s_addr);
87 list->cur.lstart = ntohl(list->cur.ip.s_addr);
88 list->cur.nItems = ntohl(endip.s_addr) - list->cur.lstart + 1;
H A Dua.h32 # define ua_ntohl(src, tgt) (*(u_int32_t *)(tgt) = ntohl(*(u_int32_t *)(src)))
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_crypto.c272 keyid = ntohl(keyid);
394 peer->keynumber, keyid, cookie, ntohl(vp->tstamp),
395 ntohl(vp->fstamp), peer->hpoll));
461 code = ntohl(ep->opcode) & 0xffff0000;
462 len = ntohl(ep->opcode) & 0x0000ffff;
464 associd = (associd_t)ntohl(pkt[1]);
492 fstamp = ntohl(ep->fstamp);
493 vallen = ntohl(ep->vallen);
678 ntohl(xinfo->cert.vallen));
688 ntohl(e
[all...]
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_pptp_pxy.c127 ipn->in_nip = ntohl(nat->nat_outip.s_addr);
255 start = ntohl(tcp->th_seq);
298 if (ntohl(hdr->pptph_cookie) != 0x1a2b3c4d) {
493 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack);
494 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack);
495 pptp->pptp_side[rev].pptps_next = ntohl(tcp->th_seq) + 1;
496 pptp->pptp_side[rev].pptps_nexthdr = ntohl(tcp->th_seq) + 1;

Completed in 162 milliseconds

1234567891011>>