/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 182 addr = htonl(0x00000000); 192 *res = malloc_ai(port, htonl(0x7f000001), hints);
|
H A D | fake-rfc2553.h | 65 ((u_int32_t *)(a))[2] == 0 && ((u_int32_t *)(a))[3] == htonl(1))
|
/freebsd-9.3-release/sys/sys/ |
H A D | param.h | 297 __uint32_t htonl(__uint32_t); 308 #define htonl(x) __htonl(x) macro
|
/freebsd-9.3-release/tools/regression/netinet/tcpsocktimewait/ |
H A D | tcpsocktimewait.c | 138 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 D | tcpstream.c | 68 buffer[i] = htonl(random()); 77 if (buffer[i] != htonl(random()))
|
/freebsd-9.3-release/tools/regression/sockets/accept_fd_leak/ |
H A D | accept_fd_leak.c | 87 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 D | ntp_signd.c | 99 uint32_t net_len = htonl(len); 178 samba_pkt.key_id_le = htonl(xkeyid);
|
/freebsd-9.3-release/contrib/amd/wire-test/ |
H A D | wire-test.c | 82 fprintf(stderr, "My IP address is 0x%x.\n", (unsigned int) htonl(myipaddr.s_addr));
|
/freebsd-9.3-release/contrib/pf/pfctl/ |
H A D | pfctl.h | 92 #define HTONL(x) (x) = htonl((__uint32_t)(x))
|
/freebsd-9.3-release/lib/libc/inet/ |
H A D | inet_addr.c | 202 addr->s_addr = htonl(val);
|
/freebsd-9.3-release/lib/libstand/ |
H A D | net.h | 41 #define __IPADDR(x) htonl((u_int32_t)(x))
|
H A D | bootp.c | 132 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 D | find_interface.c | 79 local.sin_addr.s_addr = htonl(INADDR_ANY);
|
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/ |
H A D | byteorder.h | 45 /* for htonl() */ 94 #define BE_IN32(xa) htonl(*((uint32_t *)(void *)(xa)))
|
/freebsd-9.3-release/sys/netipsec/ |
H A D | xform_tcp.c | 89 if (sav->spi != htonl(TCP_SIG_SPI)) {
|
/freebsd-9.3-release/tools/regression/netinet/tcpfullwindowrst/ |
H A D | tcpfullwindowrsttest.c | 82 sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
|
/freebsd-9.3-release/contrib/nvi/ip/ |
H A D | ip_funcs.c | 407 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 D | smpdump.c | 118 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 D | slcompress.c | 118 (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 D | slcompress.c | 130 (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 D | regress_dns.c | 182 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 D | output.c | 172 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 D | transp_sockets.c | 79 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 D | if_pflog.c | 348 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 D | cxgb_listen.c | 234 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...] |