Searched refs:htonl (Results 101 - 125 of 489) sorted by relevance

1234567891011>>

/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c182 addr = htonl(0x00000000);
192 *res = malloc_ai(port, htonl(0x7f000001), hints);
H A Dfake-rfc2553.h65 ((u_int32_t *)(a))[2] == 0 && ((u_int32_t *)(a))[3] == htonl(1))
/freebsd-9.3-release/sys/sys/
H A Dparam.h297 __uint32_t htonl(__uint32_t);
308 #define htonl(x) __htonl(x) macro
/freebsd-9.3-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-9.3-release/tools/regression/netinet/tcpstream/
H A Dtcpstream.c68 buffer[i] = htonl(random());
77 if (buffer[i] != htonl(random()))
/freebsd-9.3-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-9.3-release/contrib/ntp/ntpd/
H A Dntp_signd.c99 uint32_t net_len = htonl(len);
178 samba_pkt.key_id_le = htonl(xkeyid);
/freebsd-9.3-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));
/freebsd-9.3-release/contrib/pf/pfctl/
H A Dpfctl.h92 #define HTONL(x) (x) = htonl((__uint32_t)(x))
/freebsd-9.3-release/lib/libc/inet/
H A Dinet_addr.c202 addr->s_addr = htonl(val);
/freebsd-9.3-release/lib/libstand/
H A Dnet.h41 #define __IPADDR(x) htonl((u_int32_t)(x))
H A Dbootp.c132 bp->bp_xid = htonl(d->xid);
187 leasetime = htonl(300);
216 nmask = htonl(IN_CLASSA_NET);
218 nmask = htonl(IN_CLASSB_NET);
220 nmask = htonl(IN_CLASSC_NET);
316 if (bp->bp_xid != htonl(d->xid)) {
/freebsd-9.3-release/share/examples/find_interface/
H A Dfind_interface.c79 local.sin_addr.s_addr = htonl(INADDR_ANY);
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dbyteorder.h45 /* for htonl() */
94 #define BE_IN32(xa) htonl(*((uint32_t *)(void *)(xa)))
/freebsd-9.3-release/sys/netipsec/
H A Dxform_tcp.c89 if (sav->spi != htonl(TCP_SIG_SPI)) {
/freebsd-9.3-release/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c82 sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/freebsd-9.3-release/contrib/nvi/ip/
H A Dip_funcs.c407 ilen = htonl(ipbp->val1);
410 ilen = htonl(ipbp->val2);
420 ilen = htonl(ilen);
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dsmpdump.c118 smp->attr_mod = htonl(mod);
144 smp->attr_mod = htonl(mod);
159 smp->attr_mod = htonl(mod);
/freebsd-9.3-release/sys/net/
H A Dslcompress.c118 (f) = htonl(ntohl(f) + ((cp[1] << 8) | cp[2])); \
121 (f) = htonl(ntohl(f) + (u_int32_t)*cp++); \
546 th->th_ack = htonl(ntohl(th->th_ack) + i);
547 th->th_seq = htonl(ntohl(th->th_seq) + i);
552 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
/freebsd-9.3-release/usr.sbin/ppp/
H A Dslcompress.c130 (f) = htonl(ntohl(f) + ((cp[1] << 8) | cp[2])); \
133 (f) = htonl(ntohl(f) + (u_int32_t)*cp++); \
515 th->th_ack = htonl(ntohl(th->th_ack) + i);
516 th->th_seq = htonl(ntohl(th->th_seq) + i);
521 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c182 in.s_addr = htonl(0x7f000001ul); /* 127.0.0.1 */
203 in.s_addr = htonl(0x7f000001ul); /* 127.0.0.1 */
238 ans.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */
313 if (in_addrs[0].s_addr != htonl(0xc0a80b0bUL) || ttl != 12345) {
394 my_addr.sin_addr.s_addr = htonl(0x7f000001UL);
431 resolve_addr.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */
567 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c));
570 tt_int_op(((ev_uint32_t*)r[1].addrs)[0], ==, htonl(0xc8640064));
725 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080));
754 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(
[all...]
/freebsd-9.3-release/sbin/routed/
H A Doutput.c172 osin.sin_addr.s_addr = htonl(INADDR_RIP_GROUP);
273 na->au.a_md5.md5_seqno = htonl(clk.tv_sec);
353 v1_mask = ripv1_mask_host(htonl(dst_h),
389 addrname(htonl(dst_h), mask,
405 wb->n->n_dst = htonl(dst_h);
412 wb->n->n_metric = htonl(wb->n->n_metric);
426 wb->n->n_mask = htonl(mask);
780 v12buf.n->n_dst = htonl(RIP_DEFAULT);
781 v12buf.n->n_metric = htonl(def_metric);
930 buf.rip_nets[0].n_metric = htonl(HOPCNT_INFINIT
[all...]
/freebsd-9.3-release/contrib/amd/conf/transp/
H A Dtransp_sockets.c79 if (sin.sin_addr.s_addr != htonl(INADDR_LOOPBACK))
81 sin.sin_addr.s_addr, (u_long) htonl(INADDR_LOOPBACK));
111 iap->s_addr = htonl(INADDR_LOOPBACK);
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dif_pflog.c348 hdr.rulenr = htonl(rm->nr);
351 hdr.rulenr = htonl(am->nr);
352 hdr.subrulenr = htonl(rm->nr);
/freebsd-9.3-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_listen.c234 req->wr.wrh_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
235 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, lctx->stid));
241 req->opt0h = htonl(F_DELACK | F_TCAM_BYPASS);
242 req->opt0l = htonl(V_RCV_BUFSIZ(16));
243 req->opt1 = htonl(V_CONN_POLICY(CPL_CONN_POLICY_ASK));
260 req->wr.wrh_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
261 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ,
988 rpl->wr.wrh_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
990 OPCODE_TID(rpl) = htonl(MK_OPCODE_TID(CPL_PASS_ACCEPT_RPL, synqe->tid));
1121 req->wr.wrh_hi = htonl(V_WR_O
[all...]

Completed in 242 milliseconds

1234567891011>>