games/fortune/strfile/strfile.c
227
Tbl.str_version = htonl(Tbl.str_version);
games/fortune/strfile/strfile.c
228
Tbl.str_numstr = htonl(Tbl.str_numstr);
games/fortune/strfile/strfile.c
229
Tbl.str_longlen = htonl(Tbl.str_longlen);
games/fortune/strfile/strfile.c
230
Tbl.str_shortlen = htonl(Tbl.str_shortlen);
games/fortune/strfile/strfile.c
231
Tbl.str_flags = htonl(Tbl.str_flags);
games/fortune/strfile/strfile.c
240
*p = htonl(*p);
games/fortune/strfile/strfile.c
322
net = htonl(off);
games/hunt/hunt/connect.c
61
uid = htonl(getuid());
games/hunt/hunt/connect.c
62
enter_status = htonl(enter_status);
games/hunt/hunt/connect.c
63
mode = htonl(mode);
games/hunt/hunt/list.c
252
localhost.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
games/hunt/huntd/answer.c
195
version = htonl((u_int32_t) HUNT_VERSION);
games/monop/initdeck.c
124
CC_D.offsets[n] = htonl(CC_D.offsets[n]);
games/monop/initdeck.c
128
CH_D.offsets[n] = htonl(CH_D.offsets[n]);
include/a.out.h
101
( (ex).a_midmag = htonl( (((flag)&0x3f)<<26) | (((mid)&0x03ff)<<16) | \
include/rpc/xdr.h
224
#define IXDR_PUT_LONG(buf, v) (*(buf)++ = (long)htonl((unsigned long)v))
include/sha1.h
44
x[0] = htonl(x[0]); \
include/sha1.h
45
x[1] = htonl(x[1]); \
include/sha1.h
46
x[2] = htonl(x[2]); \
include/sha1.h
47
x[3] = htonl(x[3]); \
include/sha1.h
48
x[4] = htonl(x[4]); } while (0)
lib/libc/asr/asr.c
720
if (sin->sin_addr.s_addr != htonl(INADDR_LOOPBACK))
lib/libc/asr/getaddrinfo_async.c
725
if (sinp->sin_addr.s_addr == htonl(INADDR_LOOPBACK))
lib/libc/asr/getnetnamadr_async.c
44
in.s_addr = htonl(net);
lib/libc/net/inet_addr.c
172
addr->s_addr = htonl(val);
lib/libc/net/inet_makeaddr.c
51
addr = htonl(addr);
lib/libc/rpc/pmap_clnt.c
101
myaddress.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
lib/libc/rpc/pmap_clnt.c
65
myaddress.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
lib/libc/rpc/pmap_rmt.c
267
baddr.sin_addr.s_addr = htonl(INADDR_ANY);
lib/libc/rpc/xdr_mem.c
126
*(int32_t *)xdrs->x_private = htonl((u_int32_t)*lp);
lib/libc/rpc/xdr_mem.c
153
l = htonl((u_int32_t)*lp);
lib/libc/rpc/xdr_rec.c
266
*dest_lp = (int32_t)htonl((u_int32_t)(*lp));
lib/libc/rpc/xdr_rec.c
501
*(rstrm->frag_header) = htonl((u_long)len | LAST_FRAG);
lib/libc/rpc/xdr_rec.c
610
*(rstrm->frag_header) = htonl(len | eormask);
lib/libc/rpc/xdr_stdio.c
111
int32_t mycopy = htonl((u_int32_t)*lp);
lib/libcrypto/bio/bss_conn.c
195
c->them.sin_addr.s_addr = htonl(l);
lib/libpcap/gencode.c
909
v = htonl(v);
lib/libradius/radius.c
67
if ((attr->vendor & htonl(0xff000000U)) != 0)
lib/libradius/radius_attr.c
244
newattr->vendor = htonl(vendor);
lib/libradius/radius_attr.c
554
DEFINE_TYPED_ATTRIBUTE_ACCESSOR_BYVAL(uint32, uint32_t, htonl, ntohl)
lib/libradius/radius_attr.c
75
if (attr->vendor != htonl(vendor)) \
lib/libsndio/aucat.c
171
hdl->wmsg.cmd = htonl(AMSG_DATA);
lib/libsndio/aucat.c
172
hdl->wmsg.u.data.size = htonl(datasize);
lib/libsndio/aucat.c
474
hdl->wmsg.cmd = htonl(AMSG_AUTH);
lib/libsndio/aucat.c
481
hdl->wmsg.cmd = htonl(AMSG_HELLO);
lib/libsndio/aucat.c
485
hdl->wmsg.u.hello.id = htonl(getpid());
lib/libsndio/aucat.c
517
hdl->wmsg.cmd = htonl(AMSG_BYE);
lib/libsndio/sio_aucat.c
144
hdl->aucat.wmsg.cmd = htonl(AMSG_SETVOL);
lib/libsndio/sio_aucat.c
145
hdl->aucat.wmsg.u.vol.ctl = htonl(hdl->reqvol);
lib/libsndio/sio_aucat.c
196
hdl->aucat.wmsg.cmd = htonl(AMSG_START);
lib/libsndio/sio_aucat.c
243
hdl->aucat.wmsg.cmd = htonl(AMSG_STOP);
lib/libsndio/sio_aucat.c
285
hdl->aucat.wmsg.cmd = htonl(AMSG_SETPAR);
lib/libsndio/sio_aucat.c
291
hdl->aucat.wmsg.u.par.rate = htonl(par->rate);
lib/libsndio/sio_aucat.c
292
hdl->aucat.wmsg.u.par.appbufsz = htonl(par->appbufsz);
lib/libsndio/sio_aucat.c
310
hdl->aucat.wmsg.cmd = htonl(AMSG_GETPAR);
lib/libsndio/sioctl_aucat.c
181
hdl->aucat.wmsg.cmd = htonl(AMSG_CTLSUB);
lib/libsndio/sioctl_aucat.c
208
hdl->aucat.wmsg.cmd = htonl(AMSG_CTLSUB);
lib/libsndio/sioctl_aucat.c
224
hdl->aucat.wmsg.cmd = htonl(AMSG_CTLSET);
lib/libtls/tls_config.c
910
keyrev = htonl(keyrev);
libexec/login_radius/raddauth.c
429
port = htonl(port);
libexec/snmpd/snmpd_metrics/kroute.c
1003
return (htonl(0xffffffff << (32 - prefixlen)));
libexec/snmpd/snmpd_metrics/mib.c
2771
addr.sin_addr.s_addr = htonl(ntohl(addr.sin_addr.s_addr) + 1);
libexec/spamd-setup/spamd-setup.c
179
in.s_addr = htonl(addr);
libexec/spamd-setup/spamd-setup.c
621
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
libexec/spamd/sdl.c
186
m->s_addr = htonl(m->s_addr);
libexec/spamd/sdl.c
236
m->addr32[k] = htonl(m->addr32[k]);
libexec/spamd/spamd.c
1450
lin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
libexec/spamd/sync.c
134
ina.s_addr = htonl(INADDR_ANY);
libexec/spamd/sync.c
262
if (addr.sin_addr.s_addr != htonl(INADDR_ANY) &&
libexec/spamd/sync.c
454
hdr.sh_counter = htonl(sync_counter++);
libexec/spamd/sync.c
465
sg.sg_timestamp = htonl(now);
libexec/spamd/sync.c
545
hdr.sh_counter = htonl(sync_counter++);
libexec/spamd/sync.c
556
sd.sd_timestamp = htonl(now);
libexec/spamd/sync.c
557
sd.sd_expire = htonl(expire);
libexec/talkd/process.c
116
rp->id_num = htonl(ptr->id_num);
libexec/talkd/process.c
125
rp->id_num = htonl(ptr->id_num);
libexec/talkd/process.c
176
rp->id_num = htonl(ptr->id_num);
libexec/talkd/process.c
180
rp->id_num = htonl(ptr->id_num);
libexec/talkd/process.c
66
rp->id_num = htonl(0);
libexec/talkd/table.c
166
response->id_num = htonl(request->id_num);
regress/lib/libc/asr/bin/common.c
292
addr = htonl(e->n_net);
regress/lib/libpthread/blocked_close/blocked_close.c
74
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/blocked_dup2/blocked_dup2.c
74
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/blocked_shutdown/blocked_shutdown.c
74
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/close/close.c
139
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/close/close.c
84
serv_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/restart/connect/connect.c
32
sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/setsockopt/1/setsockopt1.c
100
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/setsockopt/1/setsockopt1.c
67
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/setsockopt/2/setsockopt2.c
118
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/setsockopt/2/setsockopt2.c
71
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/setsockopt/3/setsockopt3.c
58
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
66
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/socket/1/socket1.c
72
a_sout.sin_addr.s_addr = htonl(0x7f000001); /* loopback */
regress/lib/libpthread/socket/2a/socket2a.c
70
a_sout.sin_addr.s_addr = htonl(INADDR_LOOPBACK); /* loopback */
regress/lib/libpthread/socket/3/socket3.c
35
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libpthread/socket/3/socket3.c
66
sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/lib/libssl/dtls/dtlstest.c
334
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sbin/isakmpd/x509/x509test.c
266
saddr.s_addr = htonl (saddr.s_addr);
regress/sys/kern/bind/bind.c
21
addr2.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/dup2_accept/dup2_accept.c
59
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/dup2_accept/dup2_accept.c
87
serv_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/kqueue/kqueue-tun.c
71
uint32_t type = htonl(AF_INET);
regress/sys/kern/poll/poll_iocond.c
149
inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/poll/poll_iocond.c
167
inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/rcvtimeo/rcvtimeo.c
47
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/select/select_iocond.c
150
inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/select/select_iocond.c
168
inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/kern/signal/sigio/sigio_socket.c
84
inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/net/rtable/util.c
351
maskp->s_addr = htonl(0xffffffff << (32 - plen));
regress/sys/netinet/bindconnect/bindconnect.c
119
su->su_sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/netinet/bindconnect/bindconnect.c
138
su->su_sin.sin_addr.s_addr |= htonl(255) &
regress/sys/netinet/bindconnect/bindconnect.c
153
su->su_sin6.sin6_addr.s6_addr32[3] |= htonl(255) &
regress/sys/netinet/bindconnect/bindconnect.c
90
maskp->s_addr = htonl(0xffffffff << (32 - plen));
regress/sys/netinet/tcpthread/tcpthread.c
596
sin_loopback.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/sys/netinet/udpthread/udpthread.c
605
sin_loopback.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
593
as = htonl(asns[idx]);
sbin/dhcp6leased/frontend.c
815
iapd.iaid = htonl(ia_conf->id);
sbin/dhcp6leased/frontend.c
881
vendor_class.enterprise_number = htonl(OPENBSD_ENTERPRISENO);
sbin/dhcpleased/engine.c
1162
htonl(0xffffffff << (32 -
sbin/dhcpleased/frontend.c
954
hdr->xid = htonl(xid);
sbin/ifconfig/ifconfig.c
4734
if (carpr.carpr_peer.s_addr != htonl(INADDR_CARP_GROUP))
sbin/ifconfig/ifconfig.c
5149
if (preq.pfsyncr_syncpeer.s_addr != htonl(INADDR_PFSYNC_GROUP))
sbin/iked/ikev2.c
7111
if (in4->sin_addr.s_addr == htonl(0xFFFFFFFF))
sbin/iked/ikev2.c
7114
else if (in4->sin_addr.s_addr == htonl(0xFFFFFFFE)) {
sbin/iked/ikev2.c
7320
(cfg4->sin_addr.s_addr & mask) | htonl(host);
sbin/iked/ikev2.c
7326
nhost = (nhost & mask) | htonl(host);
sbin/iked/pfkey.c
1229
sadb1.sadb_sa_spi = htonl(sa1->csa_spi.spi);
sbin/iked/pfkey.c
1235
sadb2.sadb_sa_spi = htonl(sa2->csa_spi.spi);
sbin/iked/pfkey.c
533
sadb.sadb_sa_spi = htonl(sa->csa_spi.spi);
sbin/iked/pfkey.c
928
sadb.sadb_sa_spi = htonl(sa->csa_spi.spi);
sbin/iked/radius.c
586
if (ia4.s_addr == htonl(0))
sbin/iked/radius.c
749
mask4.s_addr = htonl(
sbin/iked/util.c
620
return (htonl(0xffffffff << (32 - prefixlen)));
sbin/ipsecctl/parse.y
2081
ipa->addr32[j] = htonl(ipa->addr32[j]);
sbin/ipsecctl/pfkey.c
449
sa.sadb_sa_spi = htonl(spi);
sbin/ipsecctl/pfkey.c
697
sa1.sadb_sa_spi = htonl(spi);
sbin/ipsecctl/pfkey.c
703
sa2.sadb_sa_spi = htonl(spi2);
sbin/isakmpd/ike_phase_1.c
193
value = htonl(value);
sbin/isakmpd/ike_quick_mode.c
613
value = htonl(value);
sbin/isakmpd/log.c
529
hdr.sa_family = htonl(src->sa_family);
sbin/isakmpd/log.c
533
hdr.sa_family = htonl(AF_INET);
sbin/isakmpd/message.c
1788
args.u.dpd.seq = htonl(seq);
sbin/isakmpd/pf_key_v2.c
1058
ssa.sadb_sa_spi = htonl(proto->spi[incoming][0] << 8 |
sbin/pfctl/pfctl.c
511
mask->v4.s_addr = htonl((u_int32_t)
sbin/pfctl/pfctl.c
980
addr->addr32[i] = htonl(inc);
sbin/pfctl/pfctl_parser.c
1367
m->addr32[j] = htonl(m->addr32[j]);
sbin/route/route.c
1077
su->smpls.smpls_label = htonl(label << MPLS_LABEL_OFFSET);
sbin/route/route.c
1081
su->smpls.smpls_label = htonl(label << MPLS_LABEL_OFFSET);
sbin/route/route.c
1120
so_mask.sin.sin_addr.s_addr = htonl(0xffffffff << (32 - len));
sbin/route/route.c
897
sin->sin_addr.s_addr = htonl(net);
sbin/route/route.c
899
sin->sin_addr.s_addr = htonl(mask);
sbin/unwind/libunbound/sldns/sbuffer.h
79
* (uint32_t *) dst = htonl(data);
sbin/unwind/libunbound/validator/autotrust.c
1453
ttl = htonl(ttl);
sbin/unwind/resolver.c
2073
if (sin->sin_addr.s_addr == htonl(INADDR_LOOPBACK))
sys/dev/microcode/bnx/build.c
115
*p = htonl(*p);
sys/dev/microcode/bnx/build.c
172
bf->bnx_COM_FwReleaseMajor = htonl(bnx_COM_b06FwReleaseMajor);
sys/dev/microcode/bnx/build.c
173
bf->bnx_COM_FwReleaseMinor = htonl(bnx_COM_b06FwReleaseMinor);
sys/dev/microcode/bnx/build.c
174
bf->bnx_COM_FwReleaseFix = htonl(bnx_COM_b06FwReleaseFix);
sys/dev/microcode/bnx/build.c
175
bf->bnx_COM_FwStartAddr = htonl(bnx_COM_b06FwStartAddr);
sys/dev/microcode/bnx/build.c
176
bf->bnx_COM_FwTextAddr = htonl(bnx_COM_b06FwTextAddr);
sys/dev/microcode/bnx/build.c
177
bf->bnx_COM_FwTextLen = htonl(bnx_COM_b06FwTextLen);
sys/dev/microcode/bnx/build.c
178
bf->bnx_COM_FwDataAddr = htonl(bnx_COM_b06FwDataAddr);
sys/dev/microcode/bnx/build.c
179
bf->bnx_COM_FwDataLen = htonl(bnx_COM_b06FwDataLen);
sys/dev/microcode/bnx/build.c
180
bf->bnx_COM_FwRodataAddr = htonl(bnx_COM_b06FwRodataAddr);
sys/dev/microcode/bnx/build.c
181
bf->bnx_COM_FwRodataLen = htonl(bnx_COM_b06FwRodataLen);
sys/dev/microcode/bnx/build.c
182
bf->bnx_COM_FwBssAddr = htonl(bnx_COM_b06FwBssAddr);
sys/dev/microcode/bnx/build.c
183
bf->bnx_COM_FwBssLen = htonl(bnx_COM_b06FwBssLen);
sys/dev/microcode/bnx/build.c
184
bf->bnx_COM_FwSbssAddr = htonl(bnx_COM_b06FwSbssAddr);
sys/dev/microcode/bnx/build.c
185
bf->bnx_COM_FwSbssLen = htonl(bnx_COM_b06FwSbssLen);
sys/dev/microcode/bnx/build.c
187
bf->bnx_RXP_FwReleaseMajor = htonl(bnx_RXP_b06FwReleaseMajor);
sys/dev/microcode/bnx/build.c
188
bf->bnx_RXP_FwReleaseMinor = htonl(bnx_RXP_b06FwReleaseMinor);
sys/dev/microcode/bnx/build.c
189
bf->bnx_RXP_FwReleaseFix = htonl(bnx_RXP_b06FwReleaseFix);
sys/dev/microcode/bnx/build.c
190
bf->bnx_RXP_FwStartAddr = htonl(bnx_RXP_b06FwStartAddr);
sys/dev/microcode/bnx/build.c
191
bf->bnx_RXP_FwTextAddr = htonl(bnx_RXP_b06FwTextAddr);
sys/dev/microcode/bnx/build.c
192
bf->bnx_RXP_FwTextLen = htonl(bnx_RXP_b06FwTextLen);
sys/dev/microcode/bnx/build.c
193
bf->bnx_RXP_FwDataAddr = htonl(bnx_RXP_b06FwDataAddr);
sys/dev/microcode/bnx/build.c
194
bf->bnx_RXP_FwDataLen = htonl(bnx_RXP_b06FwDataLen);
sys/dev/microcode/bnx/build.c
195
bf->bnx_RXP_FwRodataAddr = htonl(bnx_RXP_b06FwRodataAddr);
sys/dev/microcode/bnx/build.c
196
bf->bnx_RXP_FwRodataLen = htonl(bnx_RXP_b06FwRodataLen);
sys/dev/microcode/bnx/build.c
197
bf->bnx_RXP_FwBssAddr = htonl(bnx_RXP_b06FwBssAddr);
sys/dev/microcode/bnx/build.c
198
bf->bnx_RXP_FwBssLen = htonl(bnx_RXP_b06FwBssLen);
sys/dev/microcode/bnx/build.c
199
bf->bnx_RXP_FwSbssAddr = htonl(bnx_RXP_b06FwSbssAddr);
sys/dev/microcode/bnx/build.c
200
bf->bnx_RXP_FwSbssLen = htonl(bnx_RXP_b06FwSbssLen);
sys/dev/microcode/bnx/build.c
202
bf->bnx_TPAT_FwReleaseMajor = htonl(bnx_TPAT_b06FwReleaseMajor);
sys/dev/microcode/bnx/build.c
203
bf->bnx_TPAT_FwReleaseMinor = htonl(bnx_TPAT_b06FwReleaseMinor);
sys/dev/microcode/bnx/build.c
204
bf->bnx_TPAT_FwReleaseFix = htonl(bnx_TPAT_b06FwReleaseFix);
sys/dev/microcode/bnx/build.c
205
bf->bnx_TPAT_FwStartAddr = htonl(bnx_TPAT_b06FwStartAddr);
sys/dev/microcode/bnx/build.c
206
bf->bnx_TPAT_FwTextAddr = htonl(bnx_TPAT_b06FwTextAddr);
sys/dev/microcode/bnx/build.c
207
bf->bnx_TPAT_FwTextLen = htonl(bnx_TPAT_b06FwTextLen);
sys/dev/microcode/bnx/build.c
208
bf->bnx_TPAT_FwDataAddr = htonl(bnx_TPAT_b06FwDataAddr);
sys/dev/microcode/bnx/build.c
209
bf->bnx_TPAT_FwDataLen = htonl(bnx_TPAT_b06FwDataLen);
sys/dev/microcode/bnx/build.c
210
bf->bnx_TPAT_FwRodataAddr = htonl(bnx_TPAT_b06FwRodataAddr);
sys/dev/microcode/bnx/build.c
211
bf->bnx_TPAT_FwRodataLen = htonl(bnx_TPAT_b06FwRodataLen);
sys/dev/microcode/bnx/build.c
212
bf->bnx_TPAT_FwBssAddr = htonl(bnx_TPAT_b06FwBssAddr);
sys/dev/microcode/bnx/build.c
213
bf->bnx_TPAT_FwBssLen = htonl(bnx_TPAT_b06FwBssLen);
sys/dev/microcode/bnx/build.c
214
bf->bnx_TPAT_FwSbssAddr = htonl(bnx_TPAT_b06FwSbssAddr);
sys/dev/microcode/bnx/build.c
215
bf->bnx_TPAT_FwSbssLen = htonl(bnx_TPAT_b06FwSbssLen);
sys/dev/microcode/bnx/build.c
217
bf->bnx_TXP_FwReleaseMajor = htonl(bnx_TXP_b06FwReleaseMajor);
sys/dev/microcode/bnx/build.c
218
bf->bnx_TXP_FwReleaseMinor = htonl(bnx_TXP_b06FwReleaseMinor);
sys/dev/microcode/bnx/build.c
219
bf->bnx_TXP_FwReleaseFix = htonl(bnx_TXP_b06FwReleaseFix);
sys/dev/microcode/bnx/build.c
220
bf->bnx_TXP_FwStartAddr = htonl(bnx_TXP_b06FwStartAddr);
sys/dev/microcode/bnx/build.c
221
bf->bnx_TXP_FwTextAddr = htonl(bnx_TXP_b06FwTextAddr);
sys/dev/microcode/bnx/build.c
222
bf->bnx_TXP_FwTextLen = htonl(bnx_TXP_b06FwTextLen);
sys/dev/microcode/bnx/build.c
223
bf->bnx_TXP_FwDataAddr = htonl(bnx_TXP_b06FwDataAddr);
sys/dev/microcode/bnx/build.c
224
bf->bnx_TXP_FwDataLen = htonl(bnx_TXP_b06FwDataLen);
sys/dev/microcode/bnx/build.c
225
bf->bnx_TXP_FwRodataAddr = htonl(bnx_TXP_b06FwRodataAddr);
sys/dev/microcode/bnx/build.c
226
bf->bnx_TXP_FwRodataLen = htonl(bnx_TXP_b06FwRodataLen);
sys/dev/microcode/bnx/build.c
227
bf->bnx_TXP_FwBssAddr = htonl(bnx_TXP_b06FwBssAddr);
sys/dev/microcode/bnx/build.c
228
bf->bnx_TXP_FwBssLen = htonl(bnx_TXP_b06FwBssLen);
sys/dev/microcode/bnx/build.c
229
bf->bnx_TXP_FwSbssAddr = htonl(bnx_TXP_b06FwSbssAddr);
sys/dev/microcode/bnx/build.c
230
bf->bnx_TXP_FwSbssLen = htonl(bnx_TXP_b06FwSbssLen);
sys/dev/microcode/bnx/build.c
237
bf->bnx_COM_FwReleaseMajor = htonl(bnx_COM_b09FwReleaseMajor);
sys/dev/microcode/bnx/build.c
238
bf->bnx_COM_FwReleaseMinor = htonl(bnx_COM_b09FwReleaseMinor);
sys/dev/microcode/bnx/build.c
239
bf->bnx_COM_FwReleaseFix = htonl(bnx_COM_b09FwReleaseFix);
sys/dev/microcode/bnx/build.c
240
bf->bnx_COM_FwStartAddr = htonl(bnx_COM_b09FwStartAddr);
sys/dev/microcode/bnx/build.c
241
bf->bnx_COM_FwTextAddr = htonl(bnx_COM_b09FwTextAddr);
sys/dev/microcode/bnx/build.c
242
bf->bnx_COM_FwTextLen = htonl(bnx_COM_b09FwTextLen);
sys/dev/microcode/bnx/build.c
243
bf->bnx_COM_FwDataAddr = htonl(bnx_COM_b09FwDataAddr);
sys/dev/microcode/bnx/build.c
244
bf->bnx_COM_FwDataLen = htonl(bnx_COM_b09FwDataLen);
sys/dev/microcode/bnx/build.c
245
bf->bnx_COM_FwRodataAddr = htonl(bnx_COM_b09FwRodataAddr);
sys/dev/microcode/bnx/build.c
246
bf->bnx_COM_FwRodataLen = htonl(bnx_COM_b09FwRodataLen);
sys/dev/microcode/bnx/build.c
247
bf->bnx_COM_FwBssAddr = htonl(bnx_COM_b09FwBssAddr);
sys/dev/microcode/bnx/build.c
248
bf->bnx_COM_FwBssLen = htonl(bnx_COM_b09FwBssLen);
sys/dev/microcode/bnx/build.c
249
bf->bnx_COM_FwSbssAddr = htonl(bnx_COM_b09FwSbssAddr);
sys/dev/microcode/bnx/build.c
250
bf->bnx_COM_FwSbssLen = htonl(bnx_COM_b09FwSbssLen);
sys/dev/microcode/bnx/build.c
252
bf->bnx_RXP_FwReleaseMajor = htonl(bnx_RXP_b09FwReleaseMajor);
sys/dev/microcode/bnx/build.c
253
bf->bnx_RXP_FwReleaseMinor = htonl(bnx_RXP_b09FwReleaseMinor);
sys/dev/microcode/bnx/build.c
254
bf->bnx_RXP_FwReleaseFix = htonl(bnx_RXP_b09FwReleaseFix);
sys/dev/microcode/bnx/build.c
255
bf->bnx_RXP_FwStartAddr = htonl(bnx_RXP_b09FwStartAddr);
sys/dev/microcode/bnx/build.c
256
bf->bnx_RXP_FwTextAddr = htonl(bnx_RXP_b09FwTextAddr);
sys/dev/microcode/bnx/build.c
257
bf->bnx_RXP_FwTextLen = htonl(bnx_RXP_b09FwTextLen);
sys/dev/microcode/bnx/build.c
258
bf->bnx_RXP_FwDataAddr = htonl(bnx_RXP_b09FwDataAddr);
sys/dev/microcode/bnx/build.c
259
bf->bnx_RXP_FwDataLen = htonl(bnx_RXP_b09FwDataLen);
sys/dev/microcode/bnx/build.c
260
bf->bnx_RXP_FwRodataAddr = htonl(bnx_RXP_b09FwRodataAddr);
sys/dev/microcode/bnx/build.c
261
bf->bnx_RXP_FwRodataLen = htonl(bnx_RXP_b09FwRodataLen);
sys/dev/microcode/bnx/build.c
262
bf->bnx_RXP_FwBssAddr = htonl(bnx_RXP_b09FwBssAddr);
sys/dev/microcode/bnx/build.c
263
bf->bnx_RXP_FwBssLen = htonl(bnx_RXP_b09FwBssLen);
sys/dev/microcode/bnx/build.c
264
bf->bnx_RXP_FwSbssAddr = htonl(bnx_RXP_b09FwSbssAddr);
sys/dev/microcode/bnx/build.c
265
bf->bnx_RXP_FwSbssLen = htonl(bnx_RXP_b09FwSbssLen);
sys/dev/microcode/bnx/build.c
267
bf->bnx_TPAT_FwReleaseMajor = htonl(bnx_TPAT_b09FwReleaseMajor);
sys/dev/microcode/bnx/build.c
268
bf->bnx_TPAT_FwReleaseMinor = htonl(bnx_TPAT_b09FwReleaseMinor);
sys/dev/microcode/bnx/build.c
269
bf->bnx_TPAT_FwReleaseFix = htonl(bnx_TPAT_b09FwReleaseFix);
sys/dev/microcode/bnx/build.c
270
bf->bnx_TPAT_FwStartAddr = htonl(bnx_TPAT_b09FwStartAddr);
sys/dev/microcode/bnx/build.c
271
bf->bnx_TPAT_FwTextAddr = htonl(bnx_TPAT_b09FwTextAddr);
sys/dev/microcode/bnx/build.c
272
bf->bnx_TPAT_FwTextLen = htonl(bnx_TPAT_b09FwTextLen);
sys/dev/microcode/bnx/build.c
273
bf->bnx_TPAT_FwDataAddr = htonl(bnx_TPAT_b09FwDataAddr);
sys/dev/microcode/bnx/build.c
274
bf->bnx_TPAT_FwDataLen = htonl(bnx_TPAT_b09FwDataLen);
sys/dev/microcode/bnx/build.c
275
bf->bnx_TPAT_FwRodataAddr = htonl(bnx_TPAT_b09FwRodataAddr);
sys/dev/microcode/bnx/build.c
276
bf->bnx_TPAT_FwRodataLen = htonl(bnx_TPAT_b09FwRodataLen);
sys/dev/microcode/bnx/build.c
277
bf->bnx_TPAT_FwBssAddr = htonl(bnx_TPAT_b09FwBssAddr);
sys/dev/microcode/bnx/build.c
278
bf->bnx_TPAT_FwBssLen = htonl(bnx_TPAT_b09FwBssLen);
sys/dev/microcode/bnx/build.c
279
bf->bnx_TPAT_FwSbssAddr = htonl(bnx_TPAT_b09FwSbssAddr);
sys/dev/microcode/bnx/build.c
280
bf->bnx_TPAT_FwSbssLen = htonl(bnx_TPAT_b09FwSbssLen);
sys/dev/microcode/bnx/build.c
282
bf->bnx_TXP_FwReleaseMajor = htonl(bnx_TXP_b09FwReleaseMajor);
sys/dev/microcode/bnx/build.c
283
bf->bnx_TXP_FwReleaseMinor = htonl(bnx_TXP_b09FwReleaseMinor);
sys/dev/microcode/bnx/build.c
284
bf->bnx_TXP_FwReleaseFix = htonl(bnx_TXP_b09FwReleaseFix);
sys/dev/microcode/bnx/build.c
285
bf->bnx_TXP_FwStartAddr = htonl(bnx_TXP_b09FwStartAddr);
sys/dev/microcode/bnx/build.c
286
bf->bnx_TXP_FwTextAddr = htonl(bnx_TXP_b09FwTextAddr);
sys/dev/microcode/bnx/build.c
287
bf->bnx_TXP_FwTextLen = htonl(bnx_TXP_b09FwTextLen);
sys/dev/microcode/bnx/build.c
288
bf->bnx_TXP_FwDataAddr = htonl(bnx_TXP_b09FwDataAddr);
sys/dev/microcode/bnx/build.c
289
bf->bnx_TXP_FwDataLen = htonl(bnx_TXP_b09FwDataLen);
sys/dev/microcode/bnx/build.c
290
bf->bnx_TXP_FwRodataAddr = htonl(bnx_TXP_b09FwRodataAddr);
sys/dev/microcode/bnx/build.c
291
bf->bnx_TXP_FwRodataLen = htonl(bnx_TXP_b09FwRodataLen);
sys/dev/microcode/bnx/build.c
292
bf->bnx_TXP_FwBssAddr = htonl(bnx_TXP_b09FwBssAddr);
sys/dev/microcode/bnx/build.c
293
bf->bnx_TXP_FwBssLen = htonl(bnx_TXP_b09FwBssLen);
sys/dev/microcode/bnx/build.c
294
bf->bnx_TXP_FwSbssAddr = htonl(bnx_TXP_b09FwSbssAddr);
sys/dev/microcode/bnx/build.c
295
bf->bnx_TXP_FwSbssLen = htonl(bnx_TXP_b09FwSbssLen);
sys/dev/microcode/bnx/build.c
307
rh->bnx_rv2p_proc1len = htonl(bnx_rv2p_proc1len);
sys/dev/microcode/bnx/build.c
308
rh->bnx_rv2p_proc2len = htonl(bnx_rv2p_proc2len);
sys/dev/microcode/bnx/build.c
316
rh->bnx_rv2p_proc1len = htonl(bnx_rv2p_proc1len);
sys/dev/microcode/bnx/build.c
317
rh->bnx_rv2p_proc2len = htonl(bnx_rv2p_proc2len);
sys/dev/microcode/bnx/build.c
325
rh->bnx_rv2p_proc1len = htonl(bnx_rv2p_proc1len);
sys/dev/microcode/bnx/build.c
326
rh->bnx_rv2p_proc2len = htonl(bnx_rv2p_proc2len);
sys/dev/microcode/bwi/build/build.c
101
h[i].filesize = htonl(h[i].filesize);
sys/dev/microcode/bwi/build/build.c
102
h[i].fileoffset = htonl(h[i].fileoffset);
sys/dev/microcode/bwi/build/build.c
104
nfiles = htonl(nfiles);
sys/dev/microcode/bwi/extract/extract.c
69
h[i]->filesize = htonl(h[i]->filesize);
sys/dev/microcode/bwi/extract/extract.c
72
h[i]->fileoffset = htonl(h[i]->fileoffset);
sys/dev/microcode/kue/build.c
44
kf->codeseglen = htonl(sizeof(kue_code_seg));
sys/dev/microcode/kue/build.c
45
kf->fixseglen = htonl(sizeof(kue_fix_seg));
sys/dev/microcode/kue/build.c
46
kf->trigseglen = htonl(sizeof(kue_trig_seg));
sys/dev/microcode/yds/build.c
34
*p = htonl(*p);
sys/dev/microcode/yds/build.c
53
yf->dsplen = htonl(sizeof(yds_dsp_mcode));
sys/dev/microcode/yds/build.c
54
yf->ds1len = htonl(sizeof(yds_ds1_ctrl_mcode));
sys/dev/microcode/yds/build.c
55
yf->ds1elen = htonl(sizeof(yds_ds1e_ctrl_mcode));
sys/dev/pci/if_ice.c
23590
tlv->ouisubtype = htonl(ouisubtype);
sys/dev/pci/if_ice.c
23660
tlv->ouisubtype = htonl(ouisubtype);
sys/dev/pci/if_ice.c
23748
tlv->ouisubtype = htonl(ouisubtype);
sys/dev/pci/if_ice.c
23784
tlv->ouisubtype = htonl(ouisubtype);
sys/dev/pci/if_ice.c
23812
tlv->ouisubtype = htonl(ouisubtype);
sys/lib/libsa/bootp.c
102
bp->bp_xid = htonl(d->xid);
sys/lib/libsa/bootp.c
165
if (bp->bp_xid != htonl(d->xid)) {
sys/lib/libsa/bootparam.c
138
args->prog = htonl(BOOTPARAM_PROG);
sys/lib/libsa/bootparam.c
139
args->vers = htonl(BOOTPARAM_VERS);
sys/lib/libsa/bootparam.c
140
args->proc = htonl(BOOTPARAM_WHOAMI);
sys/lib/libsa/bootparam.c
141
args->arglen = htonl(sizeof(struct xdr_inaddr));
sys/lib/libsa/bootparam.c
323
*lenp = htonl(len);
sys/lib/libsa/bootparam.c
372
xi->atype = htonl(1);
sys/lib/libsa/bootparam.c
381
*ip++ = htonl((unsigned int)*cp++);
sys/lib/libsa/bootparam.c
382
*ip++ = htonl((unsigned int)*cp++);
sys/lib/libsa/bootparam.c
383
*ip++ = htonl((unsigned int)*cp++);
sys/lib/libsa/bootparam.c
384
*ip++ = htonl((unsigned int)*cp++);
sys/lib/libsa/bootparam.c
403
if (xi->atype != htonl(1)) {
sys/lib/libsa/net.c
191
return (htonl(val));
sys/lib/libsa/net.c
193
return (htonl(INADDR_NONE));
sys/lib/libsa/net.c
266
return htonl(addr);
sys/lib/libsa/net.h
44
#define __IPADDR(x) htonl((u_int32_t)(x))
sys/lib/libsa/nfs.c
138
args->len = htonl(len);
sys/lib/libsa/nfs.c
202
args->len = htonl(len);
sys/lib/libsa/nfs.c
291
args->off = htonl((u_int32_t)off);
sys/lib/libsa/nfs.c
294
args->len = htonl((u_int32_t)len);
sys/lib/libsa/nfs.c
295
args->xxx = htonl((u_int32_t)0);
sys/lib/libsa/nfs.c
347
fa->fa_type = htonl(NFDIR);
sys/lib/libsa/nfs.c
348
fa->fa_mode = htonl(0755);
sys/lib/libsa/nfs.c
349
fa->fa_nlink = htonl(2);
sys/lib/libsa/nfs.c
396
if (currfd->fa.fa_type != htonl(NFDIR)) {
sys/lib/libsa/nfs.c
432
if (newfd->fa.fa_type == htonl(NFLNK)) {
sys/lib/libsa/rpc.c
144
auth->authtype = htonl(RPCAUTH_NULL);
sys/lib/libsa/rpc.c
153
auth->authtype = htonl(RPCAUTH_UNIX);
sys/lib/libsa/rpc.c
154
auth->authlen = htonl(sizeof(struct auth_unix));
sys/lib/libsa/rpc.c
159
auth->authtype = htonl(RPCAUTH_NULL);
sys/lib/libsa/rpc.c
167
call->rp_xid = htonl(rpc_xid);
sys/lib/libsa/rpc.c
168
call->rp_direction = htonl(RPC_CALL);
sys/lib/libsa/rpc.c
169
call->rp_rpcvers = htonl(RPC_VER2);
sys/lib/libsa/rpc.c
170
call->rp_prog = htonl(prog);
sys/lib/libsa/rpc.c
171
call->rp_vers = htonl(vers);
sys/lib/libsa/rpc.c
172
call->rp_proc = htonl(proc);
sys/lib/libsa/rpc.c
396
args->prog = htonl(prog);
sys/lib/libsa/rpc.c
397
args->vers = htonl(vers);
sys/lib/libsa/rpc.c
398
args->proto = htonl(IPPROTO_UDP);
sys/net/bfd.c
838
htonl(peer->bfd_desired_min_tx_interval);
sys/net/bfd.c
977
h->bfd_my_discriminator = htonl(bfd->bc_neighbor->bn_ldiscr);
sys/net/bfd.c
978
h->bfd_your_discriminator = htonl(bfd->bc_neighbor->bn_rdiscr);
sys/net/bfd.c
981
htonl(bfd->bc_neighbor->bn_mintx);
sys/net/bfd.c
983
htonl(bfd->bc_neighbor->bn_req_minrx);
sys/net/bfd.c
984
h->bfd_required_min_echo_interval = htonl(bfd->bc_minecho);
sys/net/bpf.c
1492
afh = htonl(af);
sys/net/bridgestp.c
333
bpdu.cbu_rootpathcost = htonl(bp->bp_desg_pv.pv_cost);
sys/net/if_bridge.c
1560
spi = htonl(ntohs(cpi));
sys/net/if_gif.c
358
ip6->ip6_flow = htonl(flow);
sys/net/if_gif.c
847
CLR(ip6->ip6_flow, htonl(0xff << 20));
sys/net/if_gif.c
848
SET(ip6->ip6_flow, htonl(itos << 20));
sys/net/if_gre.c
188
#define GRE_KEY_NONE htonl(0x00000000U)
sys/net/if_gre.c
189
#define GRE_KEY_ENTROPY htonl(0xffffff00U)
sys/net/if_gre.c
190
#define GRE_KEY_MASK htonl(0xffffffffU)
sys/net/if_gre.c
2017
gkh->gre_key |= htonl(~GRE_KEY_ENTROPY &
sys/net/if_gre.c
2064
htonl(m->m_pkthdr.ph_flowid) : 0;
sys/net/if_gre.c
2066
ip6->ip6_flow |= htonl((uint32_t)tos << 20);
sys/net/if_gre.c
2707
tunnel->t_key = htonl(ifr->ifr_vnetid << GRE_KEY_ENTROPY_SHIFT);
sys/net/if_gre.c
3316
key = htonl(ifr->ifr_vnetid << shift);
sys/net/if_gre.c
3373
key = htonl(key << GRE_KEY_ENTROPY_SHIFT);
sys/net/if_gre.c
3375
key = htonl(key >> GRE_KEY_ENTROPY_SHIFT);
sys/net/if_gre.c
861
tunnel->t_key = htonl((NVGRE_VSID_RES_MAX + 1) <<
sys/net/if_mpe.c
276
shim.shim_label = rtmpls->mpls_label | htonl(prio << MPLS_EXP_OFFSET) |
sys/net/if_mpe.c
277
MPLS_BOS_MASK | htonl(ttl);
sys/net/if_mpip.c
763
exp = htonl(prio << MPLS_EXP_OFFSET);
sys/net/if_mpip.c
786
shim = htonl(1) & MPLS_TTL_MASK;
sys/net/if_mpip.c
787
shim |= htonl(flow << MPLS_LABEL_OFFSET) &
sys/net/if_mpip.c
799
shim = htonl(ttl) & MPLS_TTL_MASK;
sys/net/if_mpw.c
712
exp = htonl(prio << MPLS_EXP_OFFSET);
sys/net/if_mpw.c
726
shim->shim_label = htonl(1) & MPLS_TTL_MASK;
sys/net/if_mpw.c
737
shim->shim_label = htonl(mpls_defttl) & MPLS_TTL_MASK;
sys/net/if_pflog.c
210
hdr.rulenr = htonl(rm->nr);
sys/net/if_pflog.c
213
hdr.rulenr = htonl(am->nr);
sys/net/if_pflog.c
214
hdr.subrulenr = htonl(rm->nr);
sys/net/if_pflow.c
1335
h->uptime_ms = htonl(getuptime() * 1000);
sys/net/if_pflow.c
1338
h->time_sec = htonl(tv.tv_sec); /* XXX 2038 */
sys/net/if_pflow.c
1339
h->time_nanosec = htonl(tv.tv_nsec);
sys/net/if_pflow.c
1409
h10->time_sec = htonl(gettime()); /* XXX 2038 */
sys/net/if_pflow.c
1410
h10->flow_sequence = htonl(sc->sc_sequence);
sys/net/if_pflow.c
1412
h10->observation_dom = htonl(PFLOW_ENGINE_TYPE);
sys/net/if_pflow.c
1452
h10->time_sec = htonl(gettime()); /* XXX 2038 */
sys/net/if_pflow.c
1453
h10->flow_sequence = htonl(sc->sc_sequence);
sys/net/if_pflow.c
1454
h10->observation_dom = htonl(PFLOW_ENGINE_TYPE);
sys/net/if_pflow.c
755
h.flow_sequence = htonl(sc->sc_gcounter);
sys/net/if_pflow.c
794
flow1->flow_packets = htonl(st->packets[0]);
sys/net/if_pflow.c
795
flow2->flow_packets = htonl(st->packets[1]);
sys/net/if_pflow.c
796
flow1->flow_octets = htonl(st->bytes[0]);
sys/net/if_pflow.c
797
flow2->flow_octets = htonl(st->bytes[1]);
sys/net/if_pflow.c
805
st->creation > st->expire ? htonl(0) : htonl(st->creation * 1000);
sys/net/if_pflow.c
806
flow1->flow_finish = flow2->flow_finish = st->expire < 0 ? htonl(0) :
sys/net/if_pflow.c
807
htonl(st->expire * 1000);
sys/net/if_pflow.c
823
flow1->if_index_in = htonl(st->if_index_in);
sys/net/if_pflow.c
824
flow1->if_index_out = htonl(st->if_index_out);
sys/net/if_pflow.c
825
flow2->if_index_in = htonl(st->if_index_out);
sys/net/if_pflow.c
826
flow2->if_index_out = htonl(st->if_index_in);
sys/net/if_pflow.c
871
flow1->if_index_in = htonl(st->if_index_in);
sys/net/if_pflow.c
872
flow1->if_index_out = htonl(st->if_index_out);
sys/net/if_pflow.c
873
flow2->if_index_in = htonl(st->if_index_out);
sys/net/if_pflow.c
874
flow2->if_index_out = htonl(st->if_index_in);
sys/net/if_pflow.c
915
flow1->if_index_in = htonl(st->if_index_in);
sys/net/if_pflow.c
916
flow1->if_index_out = htonl(st->if_index_out);
sys/net/if_pflow.c
917
flow2->if_index_in = htonl(st->if_index_out);
sys/net/if_pflow.c
918
flow2->if_index_out = htonl(st->if_index_in);
sys/net/if_pfsync.c
2131
h->bus.endtime = htonl(endtime);
sys/net/if_pppx.c
1489
*mtod(m, uint32_t *) = htonl(m->m_pkthdr.ph_family);
sys/net/if_pppx.c
864
proto = htonl(dst->sa_family);
sys/net/if_spppsubr.c
4188
u_int32_t nmagic = htonl(sp->lcp.magic);
sys/net/if_spppsubr.c
4320
new_sin.sin_addr.s_addr = htonl(myaddr);
sys/net/if_spppsubr.c
4322
new_dst.sin_addr.s_addr = htonl(hisaddr);
sys/net/if_tun.c
593
*af = htonl(dst->sa_family);
sys/net/if_vxlan.c
1522
vni = htonl(ifr->ifr_vnetid << VXLAN_VNI_SHIFT);
sys/net/if_vxlan.c
1523
if (ISSET(sc->sc_header.vxlan_flags, htonl(VXLAN_F_I)) &&
sys/net/if_vxlan.c
1531
SET(sc->sc_header.vxlan_flags, htonl(VXLAN_F_I));
sys/net/if_vxlan.c
1543
if (!ISSET(sc->sc_header.vxlan_flags, htonl(VXLAN_F_I)))
sys/net/if_vxlan.c
1560
if (!ISSET(sc->sc_header.vxlan_flags, htonl(VXLAN_F_I)))
sys/net/if_vxlan.c
1567
CLR(sc->sc_header.vxlan_flags, htonl(VXLAN_F_I));
sys/net/if_vxlan.c
1568
sc->sc_header.vxlan_id = htonl(0 << VXLAN_VNI_SHIFT);
sys/net/if_vxlan.c
448
htonl(m->m_pkthdr.ph_flowid) : 0;
sys/net/if_vxlan.c
450
ip6->ip6_flow |= htonl((uint32_t)tos << 20);
sys/net/if_vxlan.c
652
key.p_header.vxlan_flags = vh->vxlan_flags & htonl(VXLAN_F_I);
sys/net/if_vxlan.c
653
key.p_header.vxlan_id = vh->vxlan_id & htonl(VXLAN_VNI_MASK);
sys/net/pf.c
1557
d->seqlo = htonl(s->seqlo);
sys/net/pf.c
1558
d->seqhi = htonl(s->seqhi);
sys/net/pf.c
1559
d->seqdiff = htonl(s->seqdiff);
sys/net/pf.c
1568
d->scrub.pfss_ts_mod = htonl((s)->scrub->pfss_ts_mod);
sys/net/pf.c
1612
sp->rtableid[PF_SK_WIRE] = htonl(st->rtableid[PF_SK_WIRE]);
sys/net/pf.c
1613
sp->rtableid[PF_SK_STACK] = htonl(st->rtableid[PF_SK_STACK]);
sys/net/pf.c
1621
sp->creation = htonl(getuptime() - st->creation);
sys/net/pf.c
1624
sp->expire = htonl(0);
sys/net/pf.c
1626
sp->expire = htonl(expire - getuptime());
sys/net/pf.c
1645
sp->rule = htonl(-1);
sys/net/pf.c
1647
sp->rule = htonl(st->rule.ptr->nr);
sys/net/pf.c
1649
sp->anchor = htonl(-1);
sys/net/pf.c
1651
sp->anchor = htonl(st->anchor.ptr->nr);
sys/net/pf.c
1652
sp->nat_rule = htonl(-1); /* left for compat, nat_rule is gone */
sys/net/pf.c
1711
if (sp->rule != htonl(-1) && sp->anchor == htonl(-1) &&
sys/net/pf.c
3229
ip6->ip6_flow |= htonl((u_int32_t)pd->tos << 20);
sys/net/pf.c
3472
pf_patch_32(pd, &icmp6->icmp6_mtu, htonl(mtu));
sys/net/pf.c
3476
pf_patch_32(pd, &icmp6->icmp6_pptr, htonl(ptr << 24));
sys/net/pf.c
3570
pf_patch_32(pd, &icmp4->icmp_void, htonl(ptr));
sys/net/pf.c
3607
htonl(ntohl(sack.start) - dst->seqdiff),
sys/net/pf.c
3610
htonl(ntohl(sack.end) - dst->seqdiff),
sys/net/pf.c
3715
th->th_seq = htonl(seq);
sys/net/pf.c
3716
th->th_ack = htonl(ack);
sys/net/pf.c
4117
addr->addr32[0] = htonl(ntohl(addr->addr32[0]) + 1);
sys/net/pf.c
4128
htonl(ntohl(addr->addr32[0]) + 1);
sys/net/pf.c
4131
htonl(ntohl(addr->addr32[1]) + 1);
sys/net/pf.c
4134
htonl(ntohl(addr->addr32[2]) + 1);
sys/net/pf.c
4137
htonl(ntohl(addr->addr32[3]) + 1);
sys/net/pf.c
5193
htonl(st->src.seqlo + st->src.seqdiff));
sys/net/pf.c
559
key->pfsr_addr.addr32[i] = htonl(0);
sys/net/pf.c
5592
pf_patch_32(pd, &th->th_seq, htonl(seq + src->seqdiff));
sys/net/pf.c
5593
pf_patch_32(pd, &th->th_ack, htonl(ack));
sys/net/pf.c
5644
pf_patch_32(pd, &th->th_seq, htonl(seq + src->seqdiff));
sys/net/pf.c
5645
pf_patch_32(pd, &th->th_ack, htonl(ack));
sys/net/pf.c
6573
pf_patch_32(pd, &th->th_seq, htonl(seq));
sys/net/pf_ioctl.c
1533
htonl(0xffffffff << (32 - pfsrlim->pfsrlim_ipv4_prefix));
sys/net/pf_ioctl.c
1543
htonl(0xffffffff << (32 - prefix));
sys/net/pf_ioctl.c
1547
pfsrlim->pfsrlim_ipv6_mask.addr32[i] = htonl(0xffffffff);
sys/net/pf_ioctl.c
793
(stor) = htonl((st)->elm); \
sys/net/pf_lb.c
339
return (htonl(addr));
sys/net/pf_norm.c
1332
ts, htonl(tsval + src->scrub->pfss_ts_mod),
sys/net/pf_norm.c
1343
tsr, htonl(tsecr), PF_ALGNMNT(tsr - opts));
sys/net/pf_norm.c
1699
h6->ip6_flow &= ~htonl(0x0fc00000);
sys/net/pf_norm.c
1700
h6->ip6_flow |= htonl(((u_int32_t)tos) << 20);
sys/net/pf_table.c
1262
sa->sin.sin_addr.s_addr = net ? htonl(-1 << (32-net)) : 0;
sys/net/pf_table.c
1271
net ? htonl(-1 << (32-net)) : 0;
sys/net/pfvar.h
816
d[0] = htonl((s>>32)&0xffffffff); \
sys/net/pfvar.h
817
d[1] = htonl(s&0xffffffff); \
sys/net/pipex.c
586
pipex_in4mask.sin_addr.s_addr = htonl(0xFFFFFFFFL);
sys/net/slcompress.c
140
(f) = htonl(ntohl(f) + ((cp[1] << 8) | cp[2])); \
sys/net/slcompress.c
143
(f) = htonl(ntohl(f) + (u_int32_t)*cp++); \
sys/net/slcompress.c
541
th->th_ack = htonl(ntohl(th->th_ack) + i);
sys/net/slcompress.c
542
th->th_seq = htonl(ntohl(th->th_seq) + i);
sys/net/slcompress.c
547
th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
sys/net/trunklacp.c
345
info->mi_rq_xid = htonl(0);
sys/net/trunklacp.c
427
lp->lp_marker.mi_rq_xid = htonl(ntohl(lp->lp_marker.mi_rq_xid) + 1);
sys/netinet/icmp6.h
233
#define ND_NA_FLAG_ROUTER htonl(0x80000000)
sys/netinet/icmp6.h
234
#define ND_NA_FLAG_SOLICITED htonl(0x40000000)
sys/netinet/icmp6.h
235
#define ND_NA_FLAG_OVERRIDE htonl(0x20000000)
sys/netinet/icmp6.h
421
#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME htonl(0x80000000)
sys/netinet/icmp6.h
422
#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME htonl(0x40000000)
sys/netinet/in.c
1028
maskp->s_addr = htonl(0xffffffff << (32 - plen));
sys/netinet/in.c
108
net == htonl(IN_LOOPBACKNET << IN_CLASSA_NSHIFT))
sys/netinet/in.h
185
#define __IPADDR(x) ((u_int32_t) htonl((u_int32_t)(x)))
sys/netinet/in_pcb.c
158
u_int32_t nrdom = htonl(rdomain);
sys/netinet/in_pcb.c
173
u_int32_t nrdom = htonl(rdomain);
sys/netinet/inet_nat64.c
50
(src & ~htonl(0xffffffff << (32 - pfxlen))) |
sys/netinet/inet_nat64.c
51
(pfx & htonl(0xffffffff << (32 - pfxlen)));
sys/netinet/ip_ah.c
1020
ah->ah_rpl = htonl((u_int32_t)replay64);
sys/netinet/ip_ah.c
1048
esn = htonl((u_int32_t)(replay64 >> 32));
sys/netinet/ip_ah.c
654
esn = htonl(esn);
sys/netinet/ip_ah.c
882
.af = htonl(tdb->tdb_dst.sa.sa_family),
sys/netinet/ip_ah.c
884
.flags = htonl(M_AUTH),
sys/netinet/ip_carp.c
1920
addr6.sin6_addr.s6_addr32[2] = htonl(1);
sys/netinet/ip_esp.c
465
esn = htonl(esn);
sys/netinet/ip_esp.c
711
.af = htonl(tdb->tdb_dst.sa.sa_family),
sys/netinet/ip_esp.c
840
replay = htonl((u_int32_t)replay64);
sys/netinet/ip_esp.c
933
esn = htonl((u_int32_t)(replay64 >> 32));
sys/netinet/ip_icmp.c
698
htonl(IN_LOOPBACKNET << IN_CLASSA_NSHIFT))) {
sys/netinet/ip_icmp.c
895
return (htonl(t));
sys/netinet/ip_ipcomp.c
329
.af = htonl(tdb->tdb_dst.sa.sa_family),
sys/netinet/ip_ipip.c
269
ip6->ip6_flow &= ~htonl(0xff << 20);
sys/netinet/ip_ipip.c
270
ip6->ip6_flow |= htonl((u_int32_t) itos << 20);
sys/netinet/ip_ipip.c
518
ip6o->ip6_flow |= htonl((u_int32_t) otos << 20);
sys/netinet/ip_ipsp.c
307
spi = htonl(spi);
sys/netinet/ip_output.c
1858
ip->ip_dst.s_addr, htonl(ip->ip_p));
sys/netinet/ip_output.c
1862
ip->ip_dst.s_addr, htonl(ntohs(ip->ip_len) -
sys/netinet/ipsec_input.c
568
.af = htonl(af),
sys/netinet/ipsec_input.c
570
.flags = htonl(m->m_flags & (M_AUTH|M_CONF)),
sys/netinet/tcp_input.c
4071
th->th_seq = htonl(sc->sc_iss);
sys/netinet/tcp_input.c
4072
th->th_ack = htonl(sc->sc_irs + 1);
sys/netinet/tcp_input.c
4093
*((u_int32_t *)optp) = htonl(TCPOPT_SACK_PERMIT_HDR);
sys/netinet/tcp_input.c
4098
*((u_int32_t *)optp) = htonl(TCPOPT_NOP << 24 |
sys/netinet/tcp_input.c
4107
*lp++ = htonl(TCPOPT_TSTAMP_HDR);
sys/netinet/tcp_input.c
4108
*lp++ = htonl(now + sc->sc_modulate);
sys/netinet/tcp_input.c
4109
*lp = htonl(sc->sc_timestamp);
sys/netinet/tcp_input.c
4250
((uint32_t *)optp)[0] != htonl(TCPOPT_TSTAMP_HDR))
sys/netinet/tcp_input.c
532
*(u_int32_t *)optp == htonl(TCPOPT_TSTAMP_HDR) &&
sys/netinet/tcp_output.c
1088
ip6->ip6_flow |= htonl(IPTOS_ECN_ECT0 << 20);
sys/netinet/tcp_output.c
1273
mhth->th_seq = htonl(ntohl(th->th_seq) + (off - hlen));
sys/netinet/tcp_output.c
530
htonl(TCPOPT_SACK_PERMIT_HDR);
sys/netinet/tcp_output.c
536
*((u_int32_t *) (opt + optlen)) = htonl(
sys/netinet/tcp_output.c
558
*lp++ = htonl(TCPOPT_TSTAMP_HDR);
sys/netinet/tcp_output.c
559
*lp++ = htonl(now + tp->ts_modulate);
sys/netinet/tcp_output.c
560
*lp = htonl(tp->ts_recent);
sys/netinet/tcp_output.c
615
*lp++ = htonl(sack.start);
sys/netinet/tcp_output.c
616
*lp++ = htonl(sack.end);
sys/netinet/tcp_output.c
619
*olp = htonl(TCPOPT_SACK_HDR|(TCPOLEN_SACK*count+2));
sys/netinet/tcp_output.c
776
th->th_seq = htonl(tp->snd_nxt);
sys/netinet/tcp_output.c
778
th->th_seq = htonl(tp->snd_max);
sys/netinet/tcp_output.c
788
th->th_seq = htonl(p->rxmit);
sys/netinet/tcp_output.c
793
th->th_ack = htonl(tp->rcv_nxt);
sys/netinet/tcp_subr.c
1079
ip6pseudo.ip6ph_len = htonl(m->m_pkthdr.len - iphlen);
sys/netinet/tcp_subr.c
1092
th0.th_seq = htonl(th0.th_seq);
sys/netinet/tcp_subr.c
1093
th0.th_ack = htonl(th0.th_ack);
sys/netinet/tcp_subr.c
252
ip6->ip6_flow = htonl(0x60000000) |
sys/netinet/tcp_subr.c
358
th->th_seq = htonl(seq);
sys/netinet/tcp_subr.c
359
th->th_ack = htonl(ack);
sys/netinet/tcp_subr.c
374
*lp++ = htonl(TCPOPT_TSTAMP_HDR);
sys/netinet/tcp_subr.c
375
*lp++ = htonl(now + tp->ts_modulate);
sys/netinet/tcp_subr.c
376
*lp = htonl(tp->ts_recent);
sys/netinet/tcp_subr.c
395
ip6->ip6_flow = htonl(0x60000000);
sys/netinet/udp_usrreq.c
372
srcsa.sin6.sin6_flowinfo = htonl(0x0fffffff) & ip6->ip6_flow;
sys/netinet/udp_usrreq.c
382
dstsa.sin6.sin6_flowinfo = htonl(0x0fffffff) & ip6->ip6_flow;
sys/netinet6/frag6.c
421
ip6->ip6_flow |= htonl(IPTOS_ECN_CE << 20);
sys/netinet6/icmp6.c
341
icmp6->icmp6_pptr = htonl((u_int32_t)param);
sys/netinet6/in6.c
763
llsol.sin6_addr.s6_addr32[2] = htonl(1);
sys/netinet6/in6.h
177
#define __IPV6_ADDR_INT32_ONE htonl(1)
sys/netinet6/in6.h
178
#define __IPV6_ADDR_INT32_TWO htonl(2)
sys/netinet6/in6.h
179
#define __IPV6_ADDR_INT32_MNL htonl(0xff010000)
sys/netinet6/in6.h
180
#define __IPV6_ADDR_INT32_MLL htonl(0xff020000)
sys/netinet6/in6.h
181
#define __IPV6_ADDR_INT32_SMP htonl(0x0000ffff)
sys/netinet6/in6_cksum.c
129
uph.ph.ph_len = htonl(len);
sys/netinet6/in6_ifattach.c
241
ifra.ifra_addr.sin6_addr.s6_addr32[3] = htonl(1);
sys/netinet6/in6_pcb.c
139
u_int32_t nrdom = htonl(rdomain);
sys/netinet6/in6_pcb.c
338
(htonl(ip6_randomflowlabel()) & IPV6_FLOWLABEL_MASK);
sys/netinet6/in6_pcb.c
732
(htonl(ip6_randomflowlabel()) & IPV6_FLOWLABEL_MASK);
sys/netinet6/ip6_input.c
914
jumboplen = (u_int32_t)htonl(jumboplen);
sys/netinet6/ip6_output.c
2701
htonl(0), htonl(nxt));
sys/netinet6/ip6_output.c
2704
htonl(m->m_pkthdr.len - offset), htonl(nxt));
sys/netinet6/ip6_output.c
407
if ((ip6->ip6_flow & htonl(0xfc << 20)) == 0)
sys/netinet6/ip6_output.c
409
if ((ip6->ip6_flow & htonl(0x03 << 20)) == 0)
sys/netinet6/ip6_output.c
413
htonl((opt->ip6po_tclass & mask) << 20);
sys/netinet6/ip6_output.c
800
id = htonl(ip6_randomid());
sys/netinet6/ip6_output.c
972
v = (u_int32_t)htonl(plen + JUMBOOPTLEN);
sys/netinet6/nd6.c
876
llsol.s6_addr32[2] = htonl(1);
sys/netinet6/nd6.c
914
llsol.s6_addr32[2] = htonl(1);
sys/netmpls/mpls.h
145
#define MPLS_LABEL2SHIM(_l) (htonl((_l) << MPLS_LABEL_OFFSET))
sys/netmpls/mpls.h
54
#define __MADDR(x) ((u_int32_t)htonl((u_int32_t)(x)))
sys/netmpls/mpls_input.c
251
shim->shim_label = (shim->shim_label & ~MPLS_TTL_MASK) | htonl(ttl);
sys/netmpls/mpls_input.c
441
(shim->shim_label & ~MPLS_TTL_MASK) | htonl(mpls_defttl);
sys/netmpls/mpls_output.c
119
shim->shim_label |= htonl(ttl);
sys/netmpls/mpls_shim.c
80
shim->shim_label |= htonl(t) & MPLS_EXP_MASK;
sys/nfs/nfs_socket.c
898
*mtod(m, u_int32_t *) = htonl(0x80000000 |
sys/nfs/nfs_subs.c
1507
to->nfsv2_sec = htonl(-2);
sys/nfs/nfs_subs.c
1508
to->nfsv2_usec = htonl(999999);
sys/nfs/nfs_subs.c
1510
to->nfsv2_sec = htonl(from->tv_sec);
sys/nfs/nfs_subs.c
1511
to->nfsv2_usec = htonl(from->tv_nsec / 1000);
sys/nfs/nfs_syscalls.c
444
*mtod(m, u_int32_t *) = htonl(0x80000000 | siz);
sys/nfs/xdr_subs.h
54
#define txdr_unsigned(v) (htonl((int32_t)(v)))
sys/nfs/xdr_subs.h
72
((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
sys/nfs/xdr_subs.h
73
((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
sys/nfs/xdr_subs.h
82
((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32)); \
sys/nfs/xdr_subs.h
83
((u_int32_t *)(t))[1] = htonl((u_int32_t)((f) & 0xffffffff)); \
sys/sys/core.h
49
#define CORE_SETMAGIC(c,mag,mid,flag) ( (c).c_midmag = htonl ( \
sys/sys/endian.h
104
#define HTONL(x) (x) = htonl((u_int32_t)(x))
usr.bin/ftp/ftp.c
1411
htonl(pack4(addr, 0));
usr.bin/ftp/ftp.c
1442
htonl(pack4(addr, 0));
usr.bin/ftp/ftp.c
1472
p32[0] = htonl(pack4(addr, 0));
usr.bin/ftp/ftp.c
1473
p32[1] = htonl(pack4(addr, 4));
usr.bin/ftp/ftp.c
1474
p32[2] = htonl(pack4(addr, 8));
usr.bin/ftp/ftp.c
1475
p32[3] = htonl(pack4(addr, 12));
usr.bin/gencat/gencat.c
543
cat_hdr->__magic = htonl(_NLS_MAGIC);
usr.bin/gencat/gencat.c
544
cat_hdr->__nsets = htonl(nsets);
usr.bin/gencat/gencat.c
545
cat_hdr->__mem = htonl(msgcat_size - sizeof(struct _nls_cat_hdr));
usr.bin/gencat/gencat.c
547
htonl(nsets * sizeof(struct _nls_set_hdr));
usr.bin/gencat/gencat.c
549
htonl(nsets * sizeof(struct _nls_set_hdr) +
usr.bin/gencat/gencat.c
571
msg_hdr->__msgno = htonl(msg->msgId);
usr.bin/gencat/gencat.c
572
msg_hdr->__msglen = htonl(msg_len);
usr.bin/gencat/gencat.c
573
msg_hdr->__offset = htonl(msg_offset);
usr.bin/gencat/gencat.c
583
set_hdr->__setno = htonl(set->setId);
usr.bin/gencat/gencat.c
584
set_hdr->__nmsgs = htonl(nmsgs);
usr.bin/gencat/gencat.c
585
set_hdr->__index = htonl(msg_index);
usr.bin/lex/tables.c
285
vnet = htonl (v);
usr.bin/mklocale/yacc.y
589
file_new_locale.frl_invalid_rune = htonl(new_locale.rl_invalid_rune);
usr.bin/mklocale/yacc.y
598
file_new_locale.frl_runetype[x] = htonl(types.map[x]);
usr.bin/mklocale/yacc.y
599
file_new_locale.frl_maplower[x] = htonl(maplower.map[x]);
usr.bin/mklocale/yacc.y
600
file_new_locale.frl_mapupper[x] = htonl(mapupper.map[x]);
usr.bin/mklocale/yacc.y
613
htonl(new_locale.rl_runetype_ext.rr_nranges);
usr.bin/mklocale/yacc.y
622
htonl(new_locale.rl_maplower_ext.rr_nranges);
usr.bin/mklocale/yacc.y
631
htonl(new_locale.rl_mapupper_ext.rr_nranges);
usr.bin/mklocale/yacc.y
633
file_new_locale.frl_variable_len = htonl(new_locale.rl_variable_len);
usr.bin/mklocale/yacc.y
651
re.fre_min = htonl(list->min);
usr.bin/mklocale/yacc.y
652
re.fre_max = htonl(list->max);
usr.bin/mklocale/yacc.y
653
re.fre_map = htonl(list->map);
usr.bin/mklocale/yacc.y
665
re.fre_min = htonl(list->min);
usr.bin/mklocale/yacc.y
666
re.fre_max = htonl(list->max);
usr.bin/mklocale/yacc.y
667
re.fre_map = htonl(list->map);
usr.bin/mklocale/yacc.y
679
re.fre_min = htonl(list->min);
usr.bin/mklocale/yacc.y
680
re.fre_max = htonl(list->max);
usr.bin/mklocale/yacc.y
681
re.fre_map = htonl(list->map);
usr.bin/mklocale/yacc.y
691
list->types[x] = htonl(list->types[x]);
usr.bin/rusers/rusers.c
539
baddr.sin_addr.s_addr = htonl(INADDR_ANY);
usr.bin/signify/signify.c
324
enckey.kdfrounds = htonl(rounds);
usr.bin/sndiod/sock.c
1000
m->u.par.rate = htonl(s->rate);
usr.bin/sndiod/sock.c
1001
m->u.par.appbufsz = htonl(s->appbufsz);
usr.bin/sndiod/sock.c
1002
m->u.par.bufsz = htonl(SLOT_BUFSZ(s));
usr.bin/sndiod/sock.c
1003
m->u.par.round = htonl(s->round);
usr.bin/sndiod/sock.c
1132
m->cmd = htonl(AMSG_ACK);
usr.bin/sndiod/sock.c
1176
f->wmsg.cmd = htonl(AMSG_MOVE);
usr.bin/sndiod/sock.c
1177
f->wmsg.u.ts.delta = htonl(f->slot->delta);
usr.bin/sndiod/sock.c
1194
f->wmsg.cmd = htonl(AMSG_XRUN);
usr.bin/sndiod/sock.c
1203
f->wmsg.cmd = htonl(AMSG_FLOWCTL);
usr.bin/sndiod/sock.c
1204
f->wmsg.u.ts.delta = htonl(f->fillpending);
usr.bin/sndiod/sock.c
1228
f->wmsg.cmd = htonl(AMSG_SETVOL);
usr.bin/sndiod/sock.c
1229
f->wmsg.u.vol.ctl = htonl(f->slot->app->vol);
usr.bin/sndiod/sock.c
1241
f->wmsg.cmd = htonl(AMSG_DATA);
usr.bin/sndiod/sock.c
1242
f->wmsg.u.data.size = htonl(size);
usr.bin/sndiod/sock.c
1274
f->wmsg.cmd = htonl(AMSG_DATA);
usr.bin/sndiod/sock.c
1275
f->wmsg.u.data.size = htonl(size);
usr.bin/sndiod/sock.c
1288
f->wmsg.cmd = htonl(AMSG_STOP);
usr.bin/sndiod/sock.c
1352
f->wmsg.cmd = htonl(AMSG_DATA);
usr.bin/sndiod/sock.c
1353
f->wmsg.u.data.size = htonl(size);
usr.bin/sndiod/sock.c
1371
f->wmsg.cmd = htonl(AMSG_CTLSET);
usr.bin/sndiod/sock.c
1384
f->wmsg.cmd = htonl(AMSG_CTLSYNC);
usr.bin/sndiod/sock.c
988
m->cmd = htonl(AMSG_GETPAR);
usr.bin/ssh/addr.c
177
n->v4.s_addr = htonl((0xffffffff << (32 - l)) & 0xffffffff);
usr.bin/ssh/addr.c
184
n->addr32[i] = htonl((0xffffffff << (32 - l)) &
usr.bin/ssh/addr.c
309
a->v4.s_addr = htonl(ntohl(a->v4.s_addr) + 1);
usr.bin/ssh/addr.c
315
a->addr32[3 - i] = htonl(n);
usr.bin/ssh/sshconnect.c
299
htonl(INADDR_LOOPBACK))
usr.bin/talk/get_addrs.c
47
msg.pid = htonl(getpid());
usr.bin/talk/get_names.c
123
msg.id_num = htonl(0);
usr.bin/talk/invite.c
113
msg.id_num = htonl(local_id);
usr.bin/talk/invite.c
115
msg.id_num = htonl(remote_id);
usr.bin/talk/invite.c
147
msg.id_num = htonl(remote_id + 1);
usr.bin/talk/invite.c
195
msg.id_num = htonl(remote_id);
usr.bin/talk/invite.c
201
msg.id_num = htonl(local_id);
usr.bin/talk/invite.c
85
msg.id_num = htonl(-1); /* an impossible id_num */
usr.bin/talk/look_up.c
101
msg.id_num = htonl(rp->id_num);
usr.bin/ypwhich/ypwhich.c
177
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/amd/amd/nfs_start.c
372
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/amd/amq/amq.c
314
server_addr.sin_addr.s_addr = htonl(0x7f000001);
usr.sbin/bgpctl/bgpctl.c
1067
ip.s_addr = htonl(ext >> 16);
usr.sbin/bgpctl/bgpctl.c
1201
ina.s_addr = htonl(mp->bgp_id);
usr.sbin/bgpctl/bgpctl.c
1207
ina.s_addr = htonl(p->bgp_id);
usr.sbin/bgpctl/bgpctl.c
1559
ina.s_addr = htonl(bgpid);
usr.sbin/bgpctl/output.c
1031
id.s_addr = htonl(r->remote_id);
usr.sbin/bgpctl/output.c
315
ina.s_addr = htonl(p->remote_bgpid);
usr.sbin/bgpctl/output_json.c
345
ina.s_addr = htonl(p->remote_bgpid);
usr.sbin/bgpctl/output_json.c
846
id.s_addr = htonl(r->remote_id);
usr.sbin/bgpctl/parser.c
1531
u32 = htonl(val);
usr.sbin/bgpd/kroute.c
1270
if (kf->nexthop.v4.s_addr == htonl(INADDR_LOOPBACK))
usr.sbin/bgpd/kroute.c
1673
kr->mplslabel = htonl(mplslabel);
usr.sbin/bgpd/kroute.c
1710
kr6->mplslabel = htonl(mplslabel);
usr.sbin/bgpd/kroute.c
494
kf->nexthop.v4.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/bgpd/kroute.c
496
else if ((kf->nexthop.v4.s_addr & htonl(IN_CLASSA_NET)) ==
usr.sbin/bgpd/kroute.c
497
htonl(INADDR_LOOPBACK & IN_CLASSA_NET))
usr.sbin/bgpd/kroute.c
575
if ((kf->nexthop.v4.s_addr & htonl(IN_CLASSA_NET)) ==
usr.sbin/bgpd/kroute.c
576
htonl(INADDR_LOOPBACK & IN_CLASSA_NET))
usr.sbin/bgpd/kroute.c
588
mplslabel = htonl(mplslabel);
usr.sbin/bgpd/kroute.c
595
kf->nexthop.v4.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/bgpd/kroute.c
644
mplslabel = htonl(mplslabel);
usr.sbin/bgpd/mrt.c
258
tmp = htonl(a->med);
usr.sbin/bgpd/mrt.c
264
tmp = htonl(a->lpref);
usr.sbin/bgpd/parse.y
4207
htonl(INADDR_ANY);
usr.sbin/bgpd/parse.y
5870
u32 = htonl(val);
usr.sbin/bgpd/pfkey.c
152
sa.sadb_sa_spi = htonl(spi);
usr.sbin/bgpd/printconf.c
235
addr.s_addr = htonl(c->data1);
usr.sbin/bgpd/printconf.c
382
ina.s_addr = htonl(conf->bgpid);
usr.sbin/bgpd/printconf.c
830
ina.s_addr = htonl(conf->clusterid);
usr.sbin/bgpd/rde.c
1736
tmp = htonl(peer->conf.remote_as);
usr.sbin/bgpd/rde.c
1803
tmp = htonl(peer->conf.remote_as);
usr.sbin/bgpd/rde.c
2865
id = htonl(conf->bgpid);
usr.sbin/bgpd/rde.c
2873
id = htonl(conf->bgpid);
usr.sbin/bgpd/rde.c
2875
id = htonl(peer->remote_bgpid);
usr.sbin/bgpd/rde.c
2883
id = htonl(conf->clusterid);
usr.sbin/bgpd/rde.c
3902
peerself->conf.remote_addr.v4.s_addr = htonl(conf->bgpid);
usr.sbin/bgpd/rde_attr.c
834
as = htonl(as);
usr.sbin/bgpd/rde_attr.c
893
as = htonl(as);
usr.sbin/bgpd/rde_trie.c
123
return addr->s_addr & htonl(1U << (31 - bit));
usr.sbin/bgpd/rde_trie.c
136
addr->s_addr |= htonl(1U << (31 - bit));
usr.sbin/bgpd/rde_update.c
140
tmp = htonl(peer->conf.local_as);
usr.sbin/bgpd/rde_update.c
663
tmp32 = htonl(asp->med);
usr.sbin/bgpd/rde_update.c
672
tmp32 = htonl(asp->lpref);
usr.sbin/bgpd/session_bgp.c
1057
ina.s_addr = htonl(bgpid);
usr.sbin/bgpd/util.c
100
log_rd(addr->rd), log_esi(addr->evpn.esi), htonl(vni) >> 8,
usr.sbin/bgpd/util.c
1022
mask = htonl(prefixlen2mask(prefixlen));
usr.sbin/bgpd/util.c
1073
mask.s_addr = htonl(prefixlen2mask(prefixlen));
usr.sbin/bgpd/util.c
198
addr.s_addr = htonl(u32);
usr.sbin/bgplgd/slowcgi.c
1159
end_request->app_status = htonl(c->command_status);
usr.sbin/dhcpd/convert.c
82
u_int32_t tmp = htonl(val);
usr.sbin/dhcpd/convert.c
90
int32_t tmp = htonl(val);
usr.sbin/dhcpd/dhcp.c
1451
to.sin_addr.s_addr = htonl(INADDR_BROADCAST);
usr.sbin/dhcpd/dhcp.c
694
to.sin_addr.s_addr = htonl(INADDR_BROADCAST);
usr.sbin/dhcpd/dhcpd.c
121
udpaddr.s_addr = htonl(INADDR_BROADCAST);
usr.sbin/dhcpd/dispatch.c
158
if (foo.sin_addr.s_addr == htonl (INADDR_LOOPBACK))
usr.sbin/dhcpd/inet.c
95
swaddr = htonl(host_address);
usr.sbin/dhcpd/sync.c
133
ina.s_addr = htonl(INADDR_ANY);
usr.sbin/dhcpd/sync.c
259
if (addr.sin_addr.s_addr != htonl(INADDR_ANY) &&
usr.sbin/dhcpd/sync.c
431
lv.lv_timestamp = htonl(lease->timestamp);
usr.sbin/dhcpd/sync.c
432
lv.lv_starts = htonl(lease->starts);
usr.sbin/dhcpd/sync.c
433
lv.lv_ends = htonl(lease->ends);
usr.sbin/dhcrelay/dhcrelay.c
336
to.sin_addr.s_addr = htonl(INADDR_BROADCAST);
usr.sbin/dhcrelay/dispatch.c
160
if (sin->sin_addr.s_addr == htonl(INADDR_LOOPBACK) ||
usr.sbin/dhcrelay6/dhcrelay6.c
705
pc->pc_enterpriseno = htonl(enterpriseno);
usr.sbin/dhcrelay6/dispatch.c
184
if (sin->sin_addr.s_addr == htonl(INADDR_LOOPBACK) ||
usr.sbin/dvmrpctl/parser.c
290
addr->s_addr = ina.s_addr & htonl(0xffffffff << (32 - bits));
usr.sbin/dvmrpd/group.c
366
if (!IN_MULTICAST(htonl(group)))
usr.sbin/dvmrpd/group.c
418
if (!IN_MULTICAST(htonl(group)))
usr.sbin/dvmrpd/prune.c
66
prune.lifetime = htonl(MAX_PRUNE_LIFETIME);
usr.sbin/dvmrpd/rde.c
377
if (!IN_MULTICAST(htonl(group.s_addr))) {
usr.sbin/dvmrpd/rde.c
407
if (!IN_MULTICAST(htonl(group.s_addr))) {
usr.sbin/dvmrpd/rde_mfc.c
256
htonl(prefixlen2mask(rn->prefixlen)));
usr.sbin/dvmrpd/rde_mfc.c
257
p.netmask.s_addr = htonl(prefixlen2mask(rn->prefixlen));
usr.sbin/dvmrpd/rde_mfc.c
277
htonl(prefixlen2mask(rn->prefixlen)))) {
usr.sbin/dvmrpd/rde_srt.c
326
htonl(prefixlen2mask(r->prefixlen))))
usr.sbin/dvmrpd/report.c
103
netmask = htonl(netmask);
usr.sbin/dvmrpd/report.c
106
netmask |= htonl(0xff000000);
usr.sbin/dvmrpd/report.c
251
netmask = htonl(netmask);
usr.sbin/eigrpctl/eigrpctl.c
630
addr.s_addr = htonl(rt->emetric.routerid);
usr.sbin/eigrpd/kroute.c
411
if (kr->nexthop.v4.s_addr == htonl(INADDR_LOOPBACK) &&
usr.sbin/eigrpd/kroute.c
774
kr4.prefix.v4.s_addr = htonl(INADDR_LOOPBACK & IN_CLASSA_NET);
usr.sbin/eigrpd/packet.c
57
eigrp_hdr.flags = htonl(flags);
usr.sbin/eigrpd/packet.c
58
eigrp_hdr.seq_num = htonl(seq_num);
usr.sbin/eigrpd/parse.y
1241
localnet = htonl(INADDR_LOOPBACK & IN_CLASSA_NET);
usr.sbin/eigrpd/rde.c
509
kr.nexthop.v4.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/eigrpd/rde.c
554
kr.nexthop.v4.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/eigrpd/rde.c
685
ri.emetric.routerid = htonl(rdeconf->rtr_id.s_addr);
usr.sbin/eigrpd/tlv.c
127
tm.seq = htonl(seq);
usr.sbin/eigrpd/tlv.c
201
addr.s_addr = htonl(ri->nexthop.v4.s_addr);
usr.sbin/eigrpd/tlv.c
218
emetric.routerid = htonl(emetric.routerid);
usr.sbin/eigrpd/tlv.c
219
emetric.as = htonl(emetric.as);
usr.sbin/eigrpd/tlv.c
220
emetric.tag = htonl(emetric.tag);
usr.sbin/eigrpd/tlv.c
221
emetric.metric = htonl(emetric.metric);
usr.sbin/eigrpd/tlv.c
230
metric.delay = htonl(metric.delay);
usr.sbin/eigrpd/tlv.c
231
metric.bandwidth = htonl(metric.bandwidth);
usr.sbin/eigrpd/util.c
193
mask = htonl(prefixlen2mask(prefixlen));
usr.sbin/eigrpd/util.c
194
aa = htonl(a->v4.s_addr) & mask;
usr.sbin/eigrpd/util.c
195
ba = htonl(b->v4.s_addr) & mask;
usr.sbin/eigrpd/util.c
96
return (htonl(0xffffffff << (32 - prefixlen)));
usr.sbin/hostapd/hostapd.c
237
baddr.sin_addr.s_addr = htonl(INADDR_ANY);
usr.sbin/hostapd/roaming.c
164
addr->in_v4.s_addr | htonl(0xffffffffUL >> addr->in_netmask);
usr.sbin/hostapd/roaming.c
171
htonl(0xffffffff << (32 - addr->in_netmask));
usr.sbin/hostapd/roaming.c
241
htonl(0xffffffff << (32 - addr->in_netmask));
usr.sbin/httpd/httpd.c
890
return (htonl(0xffffffff << (32 - prefixlen)));
usr.sbin/inetd/inetd.c
1588
return (htonl((u_int32_t)tv.tv_sec + 2208988800UL));
usr.sbin/iscsid/initiator.c
407
lreq->isid_base = htonl(tl->c->session->isid_base);
usr.sbin/iscsid/initiator.c
411
lreq->expstatsn = htonl(tl->c->expstatsn);
usr.sbin/iscsid/initiator.c
428
n = htonl(n);
usr.sbin/iscsid/initiator.c
453
n = htonl(n);
usr.sbin/iscsid/vscsi.c
109
sreq->bytes = htonl(i2t.datalen);
usr.sbin/iscsid/vscsi.c
136
t32 = htonl(size);
usr.sbin/iscsid/vscsi.c
321
dout->datasn = htonl(dsn++);
usr.sbin/iscsid/vscsi.c
322
t32 = htonl(size);
usr.sbin/iscsid/vscsi.c
325
dout->buffer_offs = htonl(buffer_off + off);
usr.sbin/ldpd/hello.c
127
htonl(global.conf_seqnum));
usr.sbin/ldpd/hello.c
453
value = htonl(value);
usr.sbin/ldpd/hello.c
455
value = htonl(value << 28);
usr.sbin/ldpd/kroute.c
1215
htonl(kr->local_label << MPLS_LABEL_OFFSET);
usr.sbin/ldpd/kroute.c
1267
htonl(kr->remote_label << MPLS_LABEL_OFFSET);
usr.sbin/ldpd/kroute.c
1350
htonl(kr->local_label << MPLS_LABEL_OFFSET);
usr.sbin/ldpd/kroute.c
1413
htonl(kr->remote_label << MPLS_LABEL_OFFSET);
usr.sbin/ldpd/kroute.c
549
if (kr->nexthop.v4.s_addr == htonl(INADDR_LOOPBACK) &&
usr.sbin/ldpd/labelmapping.c
449
lt.label = htonl(label);
usr.sbin/ldpd/labelmapping.c
508
rt.reqid = htonl(reqid);
usr.sbin/ldpd/labelmapping.c
520
st.value = htonl(status);
usr.sbin/ldpd/labelmapping.c
623
group_id = htonl(map->fec.pwid.group_id);
usr.sbin/ldpd/labelmapping.c
626
pwid = htonl(map->fec.pwid.pwid);
usr.sbin/ldpd/notification.c
236
if (st.status_code & htonl(STATUS_FATAL)) {
usr.sbin/ldpd/notification.c
267
st.status_code = htonl(status_code);
usr.sbin/ldpd/packet.c
71
msg.id = htonl(++msgcnt);
usr.sbin/ldpd/parse.y
1639
localnet = htonl(INADDR_LOOPBACK & IN_CLASSA_NET);
usr.sbin/ldpd/util.c
192
mask = htonl(prefixlen2mask(prefixlen));
usr.sbin/ldpd/util.c
193
aa = htonl(a->v4.s_addr) & mask;
usr.sbin/ldpd/util.c
194
ba = htonl(b->v4.s_addr) & mask;
usr.sbin/ldpd/util.c
95
return (htonl(0xffffffff << (32 - prefixlen)));
usr.sbin/map-mbone/mapper.c
203
htonl(MROUTED_LEVEL), 0);
usr.sbin/map-mbone/mapper.c
209
htonl(MROUTED_LEVEL), 0);
usr.sbin/map-mbone/mapper.c
319
ifc_addr = htonl(ifc_addr);
usr.sbin/map-mbone/mapper.c
396
neighbor = htonl(neighbor);
usr.sbin/mrinfo/mrinfo.c
166
htonl(MROUTED_LEVEL), 0);
usr.sbin/mrinfo/mrinfo.c
173
htonl(MROUTED_LEVEL), 0);
usr.sbin/mrinfo/mrinfo.c
195
laddr = htonl(laddr);
usr.sbin/mrinfo/mrinfo.c
203
neighbor = htonl(neighbor);
usr.sbin/mrouted/igmp.c
62
allhosts_group = htonl(INADDR_ALLHOSTS_GROUP);
usr.sbin/mrouted/igmp.c
63
dvmrp_group = htonl(INADDR_DVMRP_GROUP);
usr.sbin/mrouted/igmp.c
64
allrtrs_group = htonl(INADDR_ALLRTRS_GROUP);
usr.sbin/mrouted/prune.c
1887
resp->tr_qarr = htonl((tp.tv_sec + JAN_1970) << 16) +
usr.sbin/mrouted/prune.c
1905
resp->tr_vifout = htonl(v_req.ocount);
usr.sbin/mrouted/prune.c
1922
resp->tr_pktcnt = htonl(sg_req.pktcnt);
usr.sbin/mrouted/prune.c
1954
resp->tr_vifin = htonl(v_req.icount);
usr.sbin/mrouted/prune.c
257
tmp = htonl(gt->gt_prsent_timer);
usr.sbin/mrouted/prune.c
263
htonl(MROUTED_LEVEL), datalen);
usr.sbin/mrouted/prune.c
306
htonl(MROUTED_LEVEL), datalen);
usr.sbin/mrouted/prune.c
334
htonl(MROUTED_LEVEL), datalen);
usr.sbin/mrouted/prune.h
139
x = htonl(~((1 << (32 - (i))) - 1)); \
usr.sbin/mrouted/route.c
1023
htonl(MROUTED_LEVEL | nflags), datalen);
usr.sbin/mrouted/route.c
853
htonl(MROUTED_LEVEL), datalen);
usr.sbin/mrouted/route.c
874
htonl(MROUTED_LEVEL | nflags), datalen);
usr.sbin/mrouted/route.c
904
htonl(MROUTED_LEVEL | nflags), datalen);
usr.sbin/mrouted/route.c
999
htonl(MROUTED_LEVEL | nflags), datalen);
usr.sbin/mrouted/vif.c
232
htonl(MROUTED_LEVEL |
usr.sbin/mrouted/vif.c
737
htonl(MROUTED_LEVEL), datalen);
usr.sbin/mrouted/vif.c
760
send_igmp(us, them, IGMP_DVMRP, DVMRP_NEIGHBORS, htonl(MROUTED_LEVEL),
usr.sbin/mrouted/vif.c
831
htonl(MROUTED_LEVEL), datalen);
usr.sbin/mrouted/vif.c
849
htonl(MROUTED_LEVEL), datalen);
usr.sbin/mrouted/vif.c
873
send_igmp(us, them, IGMP_DVMRP, DVMRP_NEIGHBORS2, htonl(MROUTED_LEVEL),
usr.sbin/mrouted/vif.c
914
htonl(MROUTED_LEVEL), outlen);
usr.sbin/mtrace/mtrace.c
1270
defgrp = htonl(0xE0020001); /* MBone Audio (224.2.0.1) */
usr.sbin/mtrace/mtrace.c
1271
query_cast = htonl(0xE0000002); /* All routers multicast addr */
usr.sbin/mtrace/mtrace.c
1272
resp_cast = htonl(0xE0000120); /* Mtrace response multicast addr */
usr.sbin/mtrace/mtrace.c
387
group = htonl(MROUTED_LEVEL);
usr.sbin/mtrace/mtrace.c
607
} else k_join(htonl(0xE0000120), INADDR_ANY);
usr.sbin/npppd/npppd/ipcp.c
241
ip_addr.s_addr = htonl(ip_addr.s_addr);
usr.sbin/npppd/npppd/ipcp.c
247
htonl(ip_addr.s_addr)) != 0 &&
usr.sbin/npppd/npppd/npppd.c
1610
ppp->ppp_framed_ip_address.s_addr = htonl(ip4);
usr.sbin/npppd/npppd/npppd.c
1611
ppp->ppp_framed_ip_netmask.s_addr = htonl(ip4mask);
usr.sbin/npppd/npppd/npppd.c
1624
ppp->ppp_framed_ip_address.s_addr = htonl(ip4);
usr.sbin/npppd/npppd/npppd.c
1625
ppp->ppp_framed_ip_netmask.s_addr = htonl(0xffffffffL);
usr.sbin/npppd/npppd/npppd.c
248
loop.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/npppd/npppd/npppd_iface.c
196
gw.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/npppd/npppd/npppd_iface.c
230
gw.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/npppd/npppd/npppd_iface.c
336
gw.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/npppd/npppd/npppd_iface.c
552
th = htonl(proto);
usr.sbin/npppd/npppd/npppd_pool.c
228
sin4a.sin_addr.s_addr = htonl(range->addr);
usr.sbin/npppd/npppd/npppd_pool.c
229
sin4b.sin_addr.s_addr = htonl(range->mask);
usr.sbin/npppd/npppd/npppd_pool.c
233
snp->snp_addr.s_addr = htonl(range->addr);
usr.sbin/npppd/npppd/npppd_pool.c
234
snp->snp_mask.s_addr = htonl(range->mask);
usr.sbin/npppd/npppd/npppd_pool.c
490
if (netmask2prefixlen(htonl(ip4mask)) == 32) {
usr.sbin/npppd/npppd/npppd_pool.c
499
sin4.sin_addr.s_addr = htonl(ip4addr);
usr.sbin/npppd/npppd/npppd_subr.c
381
dest.s_addr = htonl(range0->addr);
usr.sbin/npppd/npppd/npppd_subr.c
382
mask.s_addr = htonl(range0->mask);
usr.sbin/npppd/npppd/npppd_subr.c
383
loop.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/npppd/npppd/npppd_subr.c
397
dest.s_addr = htonl(range0->addr);
usr.sbin/npppd/npppd/npppd_subr.c
398
mask.s_addr = htonl(range0->mask);
usr.sbin/npppd/npppd/npppd_subr.c
399
loop.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/npppd/npppd/parse.y
1736
((struct sockaddr_in *)sa)->sin_addr.s_addr = htonl(INADDR_ANY);
usr.sbin/npppd/npppd/ppp.h
100
#define INADDR_USER_SELECT (htonl(0xFFFFFFFFL))
usr.sbin/npppd/npppd/ppp.h
101
#define INADDR_NAS_SELECT (htonl(0xFFFFFFFEL))
usr.sbin/npppd/pptp/pptp_call.c
309
sli->send_accm = htonl(sli->send_accm);
usr.sbin/npppd/pptp/pptp_call.c
310
sli->recv_accm = htonl(sli->recv_accm);
usr.sbin/npppd/pptp/pptp_call.c
419
ocrp->physical_channel_id = htonl(ocrp->physical_channel_id);
usr.sbin/npppd/pptp/pptp_call.c
600
*(uint32_t *)opkt = htonl(_this->snd_nxt++);
usr.sbin/npppd/pptp/pptp_call.c
606
*(uint32_t *)opkt = htonl(_this->rcv_nxt - 1);
usr.sbin/npppd/pptp/pptp_ctrl.c
595
scc->framing_caps = htonl(scc->framing_caps);
usr.sbin/npppd/pptp/pptp_ctrl.c
596
scc->bearer_caps = htonl(scc->bearer_caps);
usr.sbin/npppd/pptp/pptp_ctrl.c
763
scc->framing_caps = htonl(scc->framing_caps);
usr.sbin/npppd/pptp/pptp_ctrl.c
764
scc->bearer_caps = htonl(scc->bearer_caps);
usr.sbin/npppd/pptp/pptp_ctrl.c
859
echo_rq->identifier = htonl(_this->echo_seq);
usr.sbin/npppd/pptp/pptp_subr.c
86
header->magic_cookie = htonl(PPTP_MAGIC_COOKIE);
usr.sbin/nsd/difffile.c
1701
uint32_t ttl = htonl(z->soa_rrset->rrs[0]->ttl);
usr.sbin/nsd/difffile.c
39
val = htonl(val);
usr.sbin/nsd/query.c
500
uint32_t acl_send = htonl(acl_num);
usr.sbin/nsd/query.c
508
acl_xfr = htonl(acl_num_xfr);
usr.sbin/nsd/rrl.c
159
sin_addr.s_addr & htonl(0xffffffff << (32-rrl_ipv4_prefixlen));
usr.sbin/nsd/rrl.c
169
return query->client_addr.sin_addr.s_addr & htonl(0xffffffff << (32-rrl_ipv4_prefixlen));
usr.sbin/nsd/rrl.c
73
rrl_ipv6_mask = ((uint64_t) htonl(0xffffffff << (32-pls))) << 32;
usr.sbin/nsd/rrl.c
75
rrl_ipv6_mask = ((uint64_t) htonl(0xffffffff << (64-pls))) |
usr.sbin/nsd/tsig.c
100
uint32_t ttl = htonl(0);
usr.sbin/nsd/tsig.c
102
uint32_t signed_time_low = htonl(tsig->signed_time_low);
usr.sbin/nsd/util.h
213
* (uint32_t *) dst = htonl(data);
usr.sbin/nsd/xfrd-disk.c
115
soa->ttl = htonl(soa->ttl);
usr.sbin/nsd/xfrd-disk.c
134
soa->serial = htonl(soa->serial);
usr.sbin/nsd/xfrd-disk.c
135
soa->refresh = htonl(soa->refresh);
usr.sbin/nsd/xfrd-disk.c
136
soa->retry = htonl(soa->retry);
usr.sbin/nsd/xfrd-disk.c
137
soa->expire = htonl(soa->expire);
usr.sbin/nsd/xfrd-disk.c
138
soa->minimum = htonl(soa->minimum);
usr.sbin/nsd/xfrd.c
1399
soa->ttl = htonl(rr->ttl);
usr.sbin/nsd/xfrd.c
1975
soa->ttl = htonl(buffer_read_u32(packet));
usr.sbin/nsd/xfrd.c
1987
soa->serial = htonl(buffer_read_u32(packet));
usr.sbin/nsd/xfrd.c
1988
soa->refresh = htonl(buffer_read_u32(packet));
usr.sbin/nsd/xfrd.c
1989
soa->retry = htonl(buffer_read_u32(packet));
usr.sbin/nsd/xfrd.c
1990
soa->expire = htonl(buffer_read_u32(packet));
usr.sbin/nsd/xfrd.c
1991
soa->minimum = htonl(buffer_read_u32(packet));
usr.sbin/nsd/xfrd.c
2869
zone->soa_nsd.serial != htonl(xfr->msg_new_serial)))
usr.sbin/nsd/xfrd.c
2872
soa.serial = htonl(xfr->msg_new_serial);
usr.sbin/nsd/xfrd.c
2892
soa.serial = htonl(xfr->msg_new_serial);
usr.sbin/nsd/xfrd.c
784
else if(!soa_ptr || soa_ptr->serial != htonl(pxfr->serial))
usr.sbin/nsd/xfrd.c
867
(soa_ptr && soa_ptr->serial == htonl(xfr->msg_new_serial)))
usr.sbin/ntpd/util.c
119
lfp.int_partl = htonl((u_int32_t)d);
usr.sbin/ntpd/util.c
120
lfp.fractionl = htonl((u_int32_t)((d - (u_int32_t)d) * L_DENOMINATOR));
usr.sbin/ospf6ctl/parser.c
343
ina.s_addr = htonl(strtonum(word, 0, 0xffffffff, &errstr));
usr.sbin/ospf6d/database.c
133
dd_hdr.opts = htonl(area_ospf_options(nbr->iface->area));
usr.sbin/ospf6d/database.c
135
dd_hdr.dd_seq_num = htonl(nbr->dd_seq_num);
usr.sbin/ospf6d/hello.c
69
hello.iface_id = htonl(iface->ifindex);
usr.sbin/ospf6d/hello.c
72
hello.opts = htonl(hello.opts);
usr.sbin/ospf6d/ospfe.c
1030
lsa_hdr.ls_id = htonl(iface->ifindex);
usr.sbin/ospf6d/ospfe.c
1032
lsa_hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospf6d/ospfe.c
1038
lsa_net.opts &= lsa_net.opts & htonl(LSA_24_MASK);
usr.sbin/ospf6d/ospfe.c
1119
lsa_link.opts = htonl(lsa_link.opts);
usr.sbin/ospf6d/ospfe.c
1120
lsa_link.numprefix = htonl(num_prefix);
usr.sbin/ospf6d/ospfe.c
1128
lsa_hdr.ls_id = htonl(iface->ifindex);
usr.sbin/ospf6d/ospfe.c
1130
lsa_hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospf6d/ospfe.c
563
htonl(LSA_24_MASK);
usr.sbin/ospf6d/ospfe.c
823
rtr_link.iface_id = htonl(iface->ifindex);
usr.sbin/ospf6d/ospfe.c
824
rtr_link.nbr_iface_id = htonl(nbr->iface_id);
usr.sbin/ospf6d/ospfe.c
853
rtr_link.iface_id = htonl(iface->ifindex);
usr.sbin/ospf6d/ospfe.c
854
rtr_link.nbr_iface_id = htonl(iface->dr->iface_id);
usr.sbin/ospf6d/ospfe.c
958
lsa_rtr.opts = htonl(lsa_rtr.opts);
usr.sbin/ospf6d/ospfe.c
968
lsa_hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospf6d/parse.y
1248
localnet = htonl(INADDR_LOOPBACK & IN_CLASSA_NET);
usr.sbin/ospf6d/parse.y
489
$$.s_addr = htonl($1);
usr.sbin/ospf6d/rde.c
1423
htonl(nbr->iface_id), nbr->id.s_addr);
usr.sbin/ospf6d/rde.c
1438
htonl(iface->ifindex), rde_router_id());
usr.sbin/ospf6d/rde.c
1452
lsa->data.pref_intra.ref_ls_id = htonl(iface->ifindex);
usr.sbin/ospf6d/rde.c
1470
lsa->hdr.ls_id = htonl(iface->ifindex);
usr.sbin/ospf6d/rde.c
1472
lsa->hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospf6d/rde.c
1596
lsa->hdr.ls_id = htonl(LS_ID_INTRA_RTR);
usr.sbin/ospf6d/rde.c
1598
lsa->hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospf6d/rde.c
1616
htonl(iface->ifindex), rde_router_id());
usr.sbin/ospf6d/rde.c
1624
htonl(LS_ID_INTRA_RTR), rde_router_id());
usr.sbin/ospf6d/rde.c
1673
lsa->hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospf6d/rde.c
1702
lsa->data.asext.metric = htonl(kr->metric | LSA_ASEXT_T_FLAG);
usr.sbin/ospf6d/rde.c
1703
ext_tag = htonl(kr->ext_tag);
usr.sbin/ospf6d/rde.c
1706
lsa->data.asext.metric = htonl(kr->metric);
usr.sbin/ospf6d/rde.c
1730
lsa->hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospf6d/rde.c
1745
lsa->data.sum.metric = htonl(rte->cost & LSA_METRIC_MASK);
usr.sbin/ospf6d/rde_lsdb.c
680
return (htonl(min));
usr.sbin/ospf6d/rde_lsdb.c
684
return (htonl(v->ls_id));
usr.sbin/ospf6d/rde_lsdb.c
694
return (htonl(min));
usr.sbin/ospf6d/rde_lsdb.c
710
v = lsa_find_rtr_frag(v->area, htonl(v->adv_rtr), n++);
usr.sbin/ospf6d/rde_lsdb.c
868
v->lsa->hdr.seq_num = htonl(seqnum);
usr.sbin/ospf6d/rde_spf.c
1123
v = lsa_find_rtr_frag(v->area, htonl(v->adv_rtr), frag++);
usr.sbin/ospf6d/rde_spf.c
1169
rtr_link->nbr_rtr_id == htonl(v->adv_rtr))
usr.sbin/ospf6d/rde_spf.c
1174
rtr_link->nbr_rtr_id == htonl(v->adv_rtr) &&
usr.sbin/ospf6d/rde_spf.c
1175
rtr_link->nbr_iface_id == htonl(v->ls_id))
usr.sbin/ospf6d/rde_spf.c
1188
if (net_link->att_rtr == htonl(v->adv_rtr))
usr.sbin/ospf6d/rde_spf.c
125
log_rtr_id(htonl(w->adv_rtr)),
usr.sbin/ospf6d/rde_spf.c
126
log_rtr_id(htonl(w->ls_id)), w->type,
usr.sbin/ospf6d/rde_spf.c
128
log_rtr_id(htonl(v->adv_rtr)),
usr.sbin/ospf6d/rde_spf.c
129
log_rtr_id(htonl(v->ls_id)), v->type);
usr.sbin/ospf6d/rde_spf.c
192
v == spf_root ? "*" : " ", log_rtr_id(htonl(v->adv_rtr)),
usr.sbin/ospf6d/rde_spf.c
193
v->type, log_rtr_id(htonl(v->ls_id)), v->cost, hops);
usr.sbin/ospf6d/rde_spf.c
226
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospf6d/rde_spf.c
241
log_rtr_id(htonl(v->adv_rtr)),
usr.sbin/ospf6d/rde_spf.c
253
"%u)", log_rtr_id(htonl(v->adv_rtr)),
usr.sbin/ospf6d/rde_spf.c
280
adv_rtr.s_addr = htonl(w->adv_rtr);
usr.sbin/ospf6d/rde_spf.c
297
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospf6d/rde_spf.c
302
log_rtr_id(htonl(v->adv_rtr)),
usr.sbin/ospf6d/rde_spf.c
330
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospf6d/rde_spf.c
335
log_rtr_id(htonl(v->adv_rtr)),
usr.sbin/ospf6d/rde_spf.c
381
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospf6d/rde_spf.c
482
htonl(dst->adv_rtr));
usr.sbin/ospfctl/parser.c
337
ina.s_addr = htonl(strtonum(word, 0, 0xffffffff, &errstr));
usr.sbin/ospfctl/parser.c
362
addr->s_addr = ina.s_addr & htonl(prefixlen2mask(bits));
usr.sbin/ospfd/auth.c
176
crypt.seq_num = htonl(iface->crypt_seq_num);
usr.sbin/ospfd/database.c
141
dd_hdr.dd_seq_num = htonl(nbr->dd_seq_num);
usr.sbin/ospfd/hello.c
78
hello.rtr_dead_interval = htonl(iface->dead_interval);
usr.sbin/ospfd/kroute.c
1033
return (htonl(0xffffffff << (32 - prefixlen)));
usr.sbin/ospfd/kroute.c
242
if ((kroute[i].nexthop.s_addr & htonl(IN_CLASSA_NET)) ==
usr.sbin/ospfd/kroute.c
243
htonl(INADDR_LOOPBACK & IN_CLASSA_NET))
usr.sbin/ospfd/kroute.c
577
if (kr->nexthop.s_addr == htonl(INADDR_LOOPBACK) &&
usr.sbin/ospfd/kroute.c
991
kr->r.prefix.s_addr = htonl(INADDR_LOOPBACK & IN_CLASSA_NET);
usr.sbin/ospfd/lsreq.c
69
ls_req_hdr.type = htonl(le->le_lsa->type);
usr.sbin/ospfd/ospfe.c
1103
lsa_hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospfd/ospfe.c
1169
lsa_hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospfd/parse.y
1466
localnet = htonl(INADDR_LOOPBACK & IN_CLASSA_NET);
usr.sbin/ospfd/parse.y
311
r->addr.s_addr = htonl($3 << IN_CLASSA_NSHIFT);
usr.sbin/ospfd/parse.y
620
$$.s_addr = htonl($1);
usr.sbin/ospfd/rde.c
1247
oan->ls_id = htonl(tmp - 1);
usr.sbin/ospfd/rde.c
1344
lsa->hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospfd/rde.c
1370
lsa->data.asext.metric = htonl(kr->metric);
usr.sbin/ospfd/rde.c
1371
lsa->data.asext.ext_tag = htonl(kr->ext_tag);
usr.sbin/ospfd/rde.c
1462
lsa->hdr.seq_num = htonl(INIT_SEQ_NUM);
usr.sbin/ospfd/rde.c
1477
lsa->data.sum.metric = htonl(rte->cost & LSA_METRIC_MASK);
usr.sbin/ospfd/rde_lsdb.c
718
v->lsa->hdr.seq_num = htonl(seqnum);
usr.sbin/ospfd/rde_spf.c
1037
rtr_link->id == htonl(v->ls_id))
usr.sbin/ospfd/rde_spf.c
1041
if (rtr_link->id == htonl(v->ls_id))
usr.sbin/ospfd/rde_spf.c
1054
if (net_link->att_rtr == htonl(v->ls_id))
usr.sbin/ospfd/rde_spf.c
123
addr.s_addr = htonl(w->ls_id);
usr.sbin/ospfd/rde_spf.c
126
addr.s_addr = htonl(v->ls_id);
usr.sbin/ospfd/rde_spf.c
199
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospfd/rde_spf.c
212
addr.s_addr = htonl(v->ls_id);
usr.sbin/ospfd/rde_spf.c
213
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospfd/rde_spf.c
222
addr.s_addr = htonl(v->ls_id) & v->lsa->data.net.mask;
usr.sbin/ospfd/rde_spf.c
223
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospfd/rde_spf.c
241
htonl(v->adv_rtr),
usr.sbin/ospfd/rde_spf.c
242
htonl(v->adv_rtr))) == NULL)
usr.sbin/ospfd/rde_spf.c
256
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospfd/rde_spf.c
258
addr.s_addr = htonl(v->ls_id) & v->lsa->data.sum.mask;
usr.sbin/ospfd/rde_spf.c
263
addr.s_addr = htonl(v->ls_id);
usr.sbin/ospfd/rde_spf.c
300
if ((r = rt_lookup(DT_RTR, htonl(v->adv_rtr))) == NULL)
usr.sbin/ospfd/rde_spf.c
326
adv_rtr.s_addr = htonl(v->adv_rtr);
usr.sbin/ospfd/rde_spf.c
327
addr.s_addr = htonl(v->ls_id) & v->lsa->data.asext.mask;
usr.sbin/ospfd/rde_spf.c
404
if ((htonl(dst->ls_id) &
usr.sbin/ospfd/rde_spf.c
433
(htonl(parent->ls_id) &
usr.sbin/portmap/portmap.c
132
addr.sin_addr.s_addr = htonl(INADDR_ANY);
usr.sbin/portmap/portmap.c
138
laddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/pppd/auth.c
1064
if (((addr ^ ina.s_addr) & htonl(mask)) == 0)
usr.sbin/pppd/ipcp.c
1396
printer(arg, "addrs %I", htonl(cilong));
usr.sbin/pppd/ipcp.c
1398
printer(arg, " %I", htonl(cilong));
usr.sbin/pppd/ipcp.c
1422
printer(arg, "addr %I", htonl(cilong));
usr.sbin/pppd/ipcp.c
1429
printer(arg, "ms-dns %I", htonl(cilong));
usr.sbin/pppd/ipcp.c
1435
printer(arg, "ms-wins %I", htonl(cilong));
usr.sbin/pppd/ipcp.c
450
cilong = htonl(l); \
usr.sbin/pppd/ipcp.c
455
cilong = htonl(l); \
usr.sbin/pppd/ipcp.c
515
ciaddr1 = htonl(l); \
usr.sbin/pppd/ipcp.c
518
ciaddr2 = htonl(l); \
usr.sbin/pppd/ipcp.c
611
ciaddr1 = htonl(l);
usr.sbin/pppd/ipcp.c
615
ciaddr2 = htonl(l);
usr.sbin/pppd/ipcp.c
625
ciaddr1 = htonl(l);
usr.sbin/pppd/ipcp.c
681
cilong = htonl(l); \
usr.sbin/pppd/ipcp.c
687
cilong = htonl(l); \
usr.sbin/pppd/ipcp.c
811
ciaddr1 = htonl(tl);
usr.sbin/pppd/ipcp.c
835
ciaddr2 = htonl(tl);
usr.sbin/pppd/ipcp.c
872
ciaddr1 = htonl(tl);
usr.sbin/pppd/ipcp.c
908
if (htonl(tl) != ao->dnsaddr[d]) {
usr.sbin/pppd/ipcp.c
929
if (htonl(tl) != ao->winsaddr[d]) {
usr.sbin/pppd/sys-bsd.c
1369
mask = netmask | htonl(nmask);
usr.sbin/rad/frontend.c
1262
ra->nd_ra_reachable = htonl(ra_options_conf->reachable_time);
usr.sbin/rad/frontend.c
1263
ra->nd_ra_retransmit = htonl(ra_options_conf->retrans_timer);
usr.sbin/rad/frontend.c
1281
ndopt_mtu->nd_opt_mtu_mtu = htonl(ra_options_conf->mtu);
usr.sbin/rad/frontend.c
1308
ndopt_pi->nd_opt_pi_valid_time = htonl(vltime);
usr.sbin/rad/frontend.c
1309
ndopt_pi->nd_opt_pi_preferred_time = htonl(pltime);
usr.sbin/rad/frontend.c
1322
htonl(ra_iface_conf->ra_options.rdns_lifetime);
usr.sbin/rad/frontend.c
1339
htonl(ra_iface_conf->ra_options.rdns_lifetime);
usr.sbin/radiusctl/radiusctl.c
371
u32val = htonl(res->nas_port);
usr.sbin/radiusd/parse.y
263
$$.mask.addr.ipv4.s_addr = htonl((uint32_t)
usr.sbin/radiusd/parse.y
923
l->addr.ipv4.sin_addr.s_addr = htonl(0x7F000001L);
usr.sbin/radiusd/radiusd_ipcp.c
879
addr4.s_addr = htonl(addr4.s_addr);
usr.sbin/radiusd/radiusd_ipcp.c
900
addr4.s_addr = htonl(
usr.sbin/radiusd/radiusd_ipcp.c
963
addr4.s_addr = htonl(self->name_server[0].s_addr);
usr.sbin/radiusd/radiusd_ipcp.c
972
addr4.s_addr = htonl(self->name_server[1].s_addr);
usr.sbin/radiusd/radiusd_ipcp.c
981
addr4.s_addr = htonl(self->netbios_server[0].s_addr);
usr.sbin/radiusd/radiusd_ipcp.c
991
addr4.s_addr = htonl(self->netbios_server[1].s_addr);
usr.sbin/rarpd/rarpd.c
493
if (tflag == 0 || rarp_bootable(htonl(target_ipaddr)))
usr.sbin/rbootd/rmp_var.h
140
#define PUTWORD(i, w) (w) = htonl(i)
usr.sbin/relayd/check_icmp.c
208
id = htonl(host->conf.id);
usr.sbin/relayd/relayd.c
1845
return (htonl(0xffffffff << (32 - prefixlen)));
usr.sbin/ripctl/parser.c
297
addr->s_addr = ina.s_addr & htonl(prefixlen2mask(bits));
usr.sbin/ripd/auth.c
220
a.auth_seq = htonl(auth_get_seq_num(md));
usr.sbin/ripd/kroute.c
167
if ((kroute->nexthop.s_addr & htonl(IN_CLASSA_NET)) ==
usr.sbin/ripd/kroute.c
168
htonl(INADDR_LOOPBACK & IN_CLASSA_NET))
usr.sbin/ripd/kroute.c
369
if (kr->nexthop.s_addr == htonl(INADDR_LOOPBACK) &&
usr.sbin/ripd/kroute.c
589
kr->r.prefix.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/ripd/kroute.c
590
kr->r.netmask.s_addr = htonl(IN_CLASSA_NET);
usr.sbin/ripd/kroute.c
631
return (htonl(0xffffffff << (32 - prefixlen)));
usr.sbin/ripd/message.c
128
metric = htonl(rr->metric);
usr.sbin/ripd/message.c
196
metric = htonl(entry->rr->metric);
usr.sbin/ripd/message.c
198
if (metric == htonl(INFINITY) && single_entry)
usr.sbin/ripd/message.c
277
metric = htonl(entry->rr->metric);
usr.sbin/ripd/message.c
283
metric = htonl(INFINITY);
usr.sbin/ripd/rde.c
406
if ((e->nexthop.s_addr & htonl(IN_CLASSA_NET)) ==
usr.sbin/ripd/rde.c
407
htonl(INADDR_LOOPBACK & IN_CLASSA_NET) ||
usr.sbin/sasyncd/net.c
389
v = htonl(m->len - sizeof(u_int32_t));
usr.sbin/sasyncd/net.c
392
v = htonl(msgtype);
usr.sbin/sasyncd/net.c
395
v = htonl(padlen);
usr.sbin/sasyncd/net_ctl.c
166
m->type = htonl(type);
usr.sbin/sasyncd/net_ctl.c
167
m->data = htonl(d);
usr.sbin/sasyncd/net_ctl.c
168
m->data2 = htonl(d2);
usr.sbin/slowcgi/slowcgi.c
1009
end_request->app_status = htonl(c->script_status);
usr.sbin/smtpd/parse.y
3427
if (sain->sin_addr.s_addr == htonl(INADDR_LOOPBACK))
usr.sbin/smtpd/parse.y
3497
if (sain->sin_addr.s_addr == htonl(INADDR_LOOPBACK))
usr.sbin/smtpd/parse.y
3547
if (sain->sin_addr.s_addr == htonl(INADDR_LOOPBACK))
usr.sbin/smtpd/table.c
450
mask = htonl(mask);
usr.sbin/snmpd/parse.y
1811
uint32_t npen = htonl(PEN_OPENBSD);
usr.sbin/snmpd/parse.y
809
uint32_t npen = htonl(enginepen);
usr.sbin/syslogc/syslogc.c
151
cc.version = htonl(CTL_VERSION);
usr.sbin/syslogc/syslogc.c
152
cc.cmd = htonl(cc.cmd);
usr.sbin/syslogd/syslogd.c
3429
reply_hdr->version = htonl(CTL_VERSION);
usr.sbin/syslogd/syslogd.c
3430
reply_hdr->flags = htonl(flags);
usr.sbin/tcpdump/interface.h
121
#define HTONL(x) (x) = htonl(x)
usr.sbin/tcpdump/print-cnfp.c
91
printf("#%u, ", htonl(nh->sequence));
usr.sbin/tcpdump/print-dvmrp.c
177
printf("\n\tMask %s", intoa(htonl(mask)));
usr.sbin/tcpdump/print-dvmrp.c
198
printf("\n\t %s metric %d", intoa(htonl(origin)),
usr.sbin/tcpdump/print-gre.c
740
uint32_t vni = (htonl(vh->vni) & VXLAN_VNI_MASK) >>
usr.sbin/tcpdump/print-gre.c
892
vni = (htonl(gh->vni) & GENEVE_VNI_MASK) >> GENEVE_VNI_SHIFT;
usr.sbin/tcpdump/print-icmp6.c
115
phu.ph.ph_len = htonl(len);
usr.sbin/tcpdump/print-pfsync.c
219
printf("\n\tcreatorid: %08x", htonl(clr->creatorid));
usr.sbin/tcpdump/print-pfsync.c
310
htonl(b->creatorid), endtime, min, sec, status);
usr.sbin/tcpdump/print-tcp.c
170
phu.ph.ph_len = htonl(len);
usr.sbin/traceroute/worker.c
200
label = htonl(label);
usr.sbin/traceroute/worker.c
357
op->sec = htonl(tv.tv_sec + sec_perturb);
usr.sbin/traceroute/worker.c
358
op->usec = htonl((tv.tv_usec + usec_perturb) % 1000000);
usr.sbin/traceroute/worker.c
401
op->sec = htonl(tv.tv_sec);
usr.sbin/traceroute/worker.c
402
op->usec = htonl(tv.tv_usec);
usr.sbin/unbound/cachedb/cachedb.c
85
# define be64toh(n) (((uint64_t)htonl((n) & 0xFFFFFFFF) << 32) | htonl((n) >> 32))
usr.sbin/unbound/cachedb/cachedb.c
86
# define htobe64(n) (((uint64_t)htonl((n) & 0xFFFFFFFF) << 32) | htonl((n) >> 32))
usr.sbin/unbound/daemon/worker.c
237
uint32_t c = (uint32_t)htonl(cmd);
usr.sbin/unbound/dnscrypt/dnscrypt.c
712
serial = htonl(serial);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
114
control[1] = htonl(4+4+4+strlen(contenttype));
usr.sbin/unbound/dnstap/dnstap_fstrm.c
115
control[2] = htonl(FSTRM_CONTROL_FRAME_READY);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
116
control[3] = htonl(FSTRM_CONTROL_FIELD_TYPE_CONTENT_TYPE);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
117
control[4] = htonl(strlen(contenttype));
usr.sbin/unbound/dnstap/dnstap_fstrm.c
142
control[1] = htonl(4+4+4+strlen(contenttype));
usr.sbin/unbound/dnstap/dnstap_fstrm.c
143
control[2] = htonl(FSTRM_CONTROL_FRAME_ACCEPT);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
144
control[3] = htonl(FSTRM_CONTROL_FIELD_TYPE_CONTENT_TYPE);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
145
control[4] = htonl(strlen(contenttype));
usr.sbin/unbound/dnstap/dnstap_fstrm.c
167
control[1] = htonl(4);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
168
control[2] = htonl(FSTRM_CONTROL_FRAME_FINISH);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
66
control[1] = htonl(4+4+4+strlen(contenttype));
usr.sbin/unbound/dnstap/dnstap_fstrm.c
67
control[2] = htonl(FSTRM_CONTROL_FRAME_START);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
68
control[3] = htonl(FSTRM_CONTROL_FIELD_TYPE_CONTENT_TYPE);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
69
control[4] = htonl(strlen(contenttype));
usr.sbin/unbound/dnstap/dnstap_fstrm.c
89
control[1] = htonl(4);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
90
control[2] = htonl(FSTRM_CONTROL_FRAME_STOP);
usr.sbin/unbound/dnstap/dtstream.c
843
uint32_t sendlen = htonl(dtio->cur_msg_len);
usr.sbin/unbound/dnstap/dtstream.c
900
sendlen = htonl(dtio->cur_msg_len);
usr.sbin/unbound/sldns/sbuffer.h
79
* (uint32_t *) dst = htonl(data);
usr.sbin/unbound/validator/autotrust.c
1449
ttl = htonl(ttl);
usr.sbin/vmd/dhcp.c
221
mask.s_addr = htonl(0xfffffffe);
usr.sbin/vmd/priv.c
444
sin4->sin_addr.s_addr = htonl(0xfffffffe);
usr.sbin/vmd/priv.c
568
addr = htonl(addr) | p->lp_in.s_addr;
usr.sbin/vmd/vmd.c
1738
return (htonl(0xffffffff << (32 - prefixlen)));
usr.sbin/ypbind/ypbind.c
226
if (fromsin->sin_addr.s_addr != htonl(INADDR_LOOPBACK)) {
usr.sbin/ypbind/ypbind.c
414
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/ypbind/ypbind.c
438
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/ypbind/ypbind.c
456
sin.sin_addr.s_addr = htonl(INADDR_ANY);
usr.sbin/ypbind/ypbind.c
466
sin.sin_addr.s_addr = htonl(INADDR_ANY);
usr.sbin/ypbind/ypbind.c
980
if (raddrp->sin_addr.s_addr == htonl(INADDR_LOOPBACK)) {
usr.sbin/ypldap/yp.c
128
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/ypldap/yp.c
220
bindaddr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/ypserv/common/yplib_host.c
107
rsrv_sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
usr.sbin/ypserv/ypserv/acl.c
129
mask.s_addr = htonl(0xffffffff);
usr.sbin/ypserv/ypserv/acl.c
282
mask.s_addr = htonl(0xffffff00);
usr.sbin/ypserv/ypserv/acl.c
284
mask.s_addr = htonl(0xffff0000);
usr.sbin/ypserv/ypserv/acl.c
286
mask.s_addr = htonl(0xff000000);
usr.sbin/ypserv/ypserv/acl.c
418
addr.s_addr = htonl(0x7f000001);
usr.sbin/ypserv/ypserv/acl.c
419
mask.s_addr = htonl(0xffffffff);
usr.sbin/ypset/ypset.c
120
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);