Searched refs:htonl (Results 76 - 100 of 483) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/libkern/
H A Dinet_aton.c133 addr->s_addr = htonl(val);
/freebsd-10.0-release/tools/regression/file/newfileops_on_fork/
H A Dnewfileops_on_fork.c110 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/freebsd-10.0-release/usr.bin/talk/
H A Dget_iface.c63 local.sin_addr.s_addr = htonl(INADDR_ANY);
H A Dget_names.c111 msg.id_num = htonl(0);
H A Dlook_up.c114 msg.id_num = htonl(rp->id_num);
/freebsd-10.0-release/usr.sbin/ppp/
H A Dradius.h133 #define RADIUS_INADDR_POOL htonl(0xfffffffe) /* 255.255.255.254 */
H A Dua.h31 # define ua_htonl(src, tgt) (*(u_int32_t *)(tgt) = htonl(*(u_int32_t *)(src)))
/freebsd-10.0-release/tools/regression/sockets/sendfile/
H A Dsendfile.c106 if (th->th_magic != htonl(TEST_MAGIC))
203 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
246 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
260 th->th_magic = htonl(TEST_MAGIC);
261 th->th_header_length = htonl(header_length);
262 th->th_offset = htonl(offset);
263 th->th_length = htonl(length);
/freebsd-10.0-release/usr.sbin/fwcontrol/
H A Dfwdv.c172 htonl(ptr[0]), htonl(ptr[1]),
173 htonl(ptr[2]), htonl(ptr[3]));
318 htonl(hdr[0]), htonl(hdr[1]), htonl(hdr[2]));
/freebsd-10.0-release/contrib/ofed/libmthca/src/
H A Dcq.c156 *cq->set_ci_db = htonl(cq->cons_index);
159 doorbell[0] = htonl(MTHCA_TAVOR_CQ_DB_INC_CI | cq->cqn);
160 doorbell[1] = htonl(incr - 1);
278 !(new_wqe & htonl(0x3f)) || (!cqe->db_cnt && dbd))
345 wqe = htonl(cqe->wqe);
490 doorbell[0] = htonl((solicited ?
509 ci = htonl(cq->cons_index);
512 doorbell[1] = htonl((cq->cqn << 8) | (2 << 5) | (sn << 3) |
523 doorbell[0] = htonl((sn << 28) |
574 if (cqe->my_qpn == htonl(qp
[all...]
/freebsd-10.0-release/usr.bin/colldef/
H A Dparse.y139 u32 = htonl(chain_index);
151 htonl(__collate_char_pri_table[ch].prim);
153 htonl(__collate_char_pri_table[ch].sec);
162 htonl(__collate_chain_pri_table[ch].prim);
164 htonl(__collate_chain_pri_table[ch].sec);
/freebsd-10.0-release/usr.sbin/rwhod/
H A Drwhod.c478 htonl(_time_to_time32(ut->ut_tv.tv_sec));
490 we->we_idle = htonl(now - stb.st_atime);
496 mywd.wd_loadav[i] = htonl((u_long)(avenrun[i] * 100));
498 mywd.wd_sendtime = htonl(_time_to_time32(time(NULL)));
556 mywd.wd_boottime = htonl(_time_to_time32(tm.tv_sec));
601 multicast_addr.sin_addr.s_addr = htonl(INADDR_WHOD_GROUP);
609 mreq.imr_multiaddr.s_addr = htonl(INADDR_WHOD_GROUP);
610 mreq.imr_interface.s_addr = htonl(INADDR_ANY);
697 mreq.imr_multiaddr.s_addr = htonl(INADDR_WHOD_GROUP);
/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Diptests.c963 t->th_seq = htonl(1);
995 t->th_seq = htonl(0);
1001 t->th_seq = htonl(1);
1007 t->th_seq = htonl(0x7fffffff);
1013 t->th_seq = htonl(0x80000000);
1019 t->th_seq = htonl(0xc0000000);
1025 t->th_seq = htonl(0xffffffff);
1044 t->th_ack = htonl(1);
1050 t->th_ack = htonl(0x7fffffff);
1056 t->th_ack = htonl(
[all...]
/freebsd-10.0-release/contrib/ofed/libmlx4/src/
H A Dcq.c130 *cq->set_ci_db = htonl(cq->cons_index & 0xffffff);
139 htonl(cqe->my_qpn), htonl(cqe->wqe_index),
377 *cq->arm_db = htonl(sn << 28 | cmd | ci);
385 doorbell[0] = htonl(sn << 28 | cmd | cq->cqn);
386 doorbell[1] = htonl(ci);
/freebsd-10.0-release/usr.sbin/rrenumd/
H A Dparser.y446 rpu->rpu_vltime = htonl(DEF_VLTIME);
447 rpu->rpu_pltime = htonl(DEF_PLTIME);
521 $$ = htonl(DEF_VLTIME);
525 $$ = htonl($2);
532 $$ = htonl(DEF_PLTIME);
536 $$ = htonl($2);
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d92 INTFUNC(htonl(0x12345678))
/freebsd-10.0-release/contrib/ldns/compat/
H A Dfake-rfc2553.c176 addr = htonl(0x00000000);
186 *res = malloc_ai(port, htonl(0x7f000001), hints);
/freebsd-10.0-release/contrib/unbound/compat/
H A Dfake-rfc2553.c174 addr = htonl(0x00000000);
184 *res = malloc_ai(port, htonl(0x7f000001), hints);
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dsendauth.c90 net_len = htonl(len);
99 net_len = htonl(len);
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c182 addr = htonl(0x00000000);
192 *res = malloc_ai(port, htonl(0x7f000001), hints);
/freebsd-10.0-release/sys/sys/
H A Dparam.h296 __uint32_t htonl(__uint32_t);
307 #define htonl(x) __htonl(x) macro
/freebsd-10.0-release/tools/regression/netinet/tcpsocktimewait/
H A Dtcpsocktimewait.c138 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
186 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/freebsd-10.0-release/tools/regression/netinet/tcpstream/
H A Dtcpstream.c68 buffer[i] = htonl(random());
77 if (buffer[i] != htonl(random()))
/freebsd-10.0-release/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.c87 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
143 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/freebsd-10.0-release/contrib/amd/wire-test/
H A Dwire-test.c82 fprintf(stderr, "My IP address is 0x%x.\n", (unsigned int) htonl(myipaddr.s_addr));

Completed in 299 milliseconds

1234567891011>>