Searched refs:htonl (Results 26 - 50 of 368) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dlittle_bswap.h5 #define htonl(x) __bswap_32(x) macro
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dgenmask.c51 *mskp = htonl(0xffffffff << (32 - bits));
H A Dhostname.c25 if (ipa.s_addr == htonl(0xfedcba98))
H A Dprinthashnode.c26 ipe.ipe_addr.in4_addr = htonl(ipe.ipe_addr.in4_addr);
27 ipe.ipe_mask.in4_addr = htonl(ipe.ipe_mask.in4_addr);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddump.c1291 tlv->attr_id = htonl(ISNS_ISCSI_NAME_ATTR_ID);
1292 tlv->attr_len = htonl(32);
1301 tlv->attr_id = htonl(ISNS_DELIMITER_ATTR_ID);
1302 tlv->attr_len = htonl(0);
1316 tlv->attr_id = htonl(ISNS_DD_NAME_ATTR_ID);
1317 tlv->attr_len = htonl(len);
1331 tlv->attr_id = htonl(ISNS_DD_SET_NAME_ATTR_ID);
1332 tlv->attr_len = htonl(len);
1349 tlv->attr_id = htonl(ISNS_DD_NAME_ATTR_ID);
1350 tlv->attr_len = htonl(le
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dfull_ipadr.c65 templength = htonl(sizeof(smushaddr));
76 templength = htonl(sizeof(smushport));
H A Dport2ip.c61 if (templength != htonl(sizeof(smushaddr)))
75 if (templength != htonl(sizeof(smushport)))
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.hton.d47 trace(htonl(0x11223344));
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dselect.c166 d6in.d6in_iaid = htonl(dsmp->dsm_lif->lif_iaid);
167 d6in.d6in_t1 = htonl(0);
168 d6in.d6in_t2 = htonl(0);
196 (void) add_pkt_opt32(dpkt, CD_LEASE_TIME, htonl(DHCP_PERM));
227 (void) send_pkt(dsmp, dpkt, htonl(INADDR_BROADCAST),
/illumos-gate/usr/src/lib/libbc/inc/include/netinet/
H A Din.h174 #define IN_SET_LOOPBACK_ADDR(a) {(a)->sin_addr.s_addr = htonl(INADDR_LOOPBACK); \
198 #define htonl(x) (x) macro
204 u_long ntohl(), htonl();
/illumos-gate/usr/src/lib/libilb/common/
H A Dlibilb_impl.h68 * moral equiv. of htonl of MSB and LSB 64-bit portions to an IPv6 address
71 (addr)->_S6_un._S6_u32[0] = htonl((msb) >> 32); \
72 (addr)->_S6_un._S6_u32[1] = htonl((msb) & 0xffffffff)
75 (addr)->_S6_un._S6_u32[2] = htonl((lsb) >> 32); \
76 (addr)->_S6_un._S6_u32[3] = htonl((lsb) & 0xffffffff)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.timed/
H A Din.timed.c59 return ((uint32_t)htonl(tv.tv_sec + 2208988800U));
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deftwrite.c48 /* for uintX_t, htonl(), etc */
153 hdr.magic = htonl(hdr.magic);
158 hdr.identlen = htonl(hdr.identlen);
159 hdr.dictlen = htonl(hdr.dictlen);
160 hdr.csum = htonl(hdr.csum);
/illumos-gate/usr/src/man/man3xnet/
H A DMakefile35 htonl.3xnet \
100 htons.3xnet := LINKSRC = htonl.3xnet
114 ntohl.3xnet := LINKSRC = htonl.3xnet
115 ntohs.3xnet := LINKSRC = htonl.3xnet
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_scsi.c46 *(ulong *)ap = htonl(niv);
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dbyteorder.s32 * NOTE: htonl/ntohl are identical routines, as are htons/ntohs.
41 / unsigned long htonl( hl )
46 ENTRY(htonl) function
50 SET_SIZE(htonl)
90 / Convert in to big endian, eg. htonl()
/illumos-gate/usr/src/cmd/isns/isnsadm/
H A Disnsadm.h47 #define htonll(x) ((((unsigned long long)htonl(x)) << 32) + htonl(x >> 32))
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dbyteorder.s32 * NOTE: htonll/ntohll, htonl/ntohl, and htons/ntohs are identical
59 * unsigned long htonl( hl )
64 ENTRY(htonl) function
68 SET_SIZE(htonl)
101 * eg. htons(), htonl(), and htonll().
/illumos-gate/usr/src/boot/include/arpa/
H A Dinet.h139 uint32_t htonl(uint32_t);
170 #define htonl(x) __htonl(x) macro
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnfs.c252 args->len = htonl(len);
312 args->len = htonl(len);
403 args->off = htonl((n_long)off);
406 args->len = htonl((n_long)len);
407 args->xxx = htonl((n_long)0);
490 nfs_root_node.fa.fa_type = htonl(NFDIR);
491 nfs_root_node.fa.fa_mode = htonl(0755);
492 nfs_root_node.fa.fa_nlink = htonl(2);
533 if (currfd->fa.fa_type != htonl(NFDIR)) {
568 if (newfd->fa.fa_type == htonl(NFLN
[all...]
/illumos-gate/usr/src/cmd/lms/
H A DLMEConnection.cpp153 disconnectMessage->ReasonCode = htonl(reasonCode);
180 *((UINT32 *)pCurrent) = htonl(serviceName.size());
221 protVersion.MajorVersion = htonl(versionMessage.MajorVersion);
222 protVersion.MinorVersion = htonl(versionMessage.MinorVersion);
223 protVersion.TriggerReason = htonl(versionMessage.TriggerReason);
241 message.PortBound = htonl(port);
315 *((UINT32 *)pCurrent) = htonl(APF_STR_SIZE_OF(APF_OPEN_CHANNEL_REQUEST_FORWARDED));
321 *((UINT32 *)pCurrent) = htonl(senderChannel);
324 *((UINT32 *)pCurrent) = htonl(RX_WINDOW_SIZE);
330 *((UINT32 *)pCurrent) = htonl(APF_STR_SIZE_O
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_xdr.c336 na->na_type = htonl(na->na_type);
337 na->na_mode = htonl(na->na_mode);
338 na->na_nlink = htonl(na->na_nlink);
339 na->na_uid = htonl(na->na_uid);
340 na->na_gid = htonl(na->na_gid);
341 na->na_size = htonl(na->na_size);
342 na->na_blocksize = htonl(na->na_blocksize);
343 na->na_rdev = htonl(na->na_rdev);
344 na->na_blocks = htonl(na->na_blocks);
345 na->na_fsid = htonl(n
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c289 *data++ = htonl(t4_read_reg(adap, MC_DATA(i)));
328 *data++ = htonl(t4_read_reg(adap, EDC_DATA(i)));
825 *data = htonl(*data);
1123 ((struct fw_hdr *)first_page)->fw_ver = htonl(0xffffffff);
1554 c.op_to_portid = htonl(V_FW_CMD_OP(FW_PORT_CMD) | F_FW_CMD_REQUEST |
1556 c.action_to_len16 = htonl(V_FW_PORT_CMD_ACTION(FW_PORT_ACTION_L1_CFG) |
1560 c.u.l1cfg.rcap = htonl((lc->supported & ADVERT_MASK) | fc);
1563 c.u.l1cfg.rcap = htonl(lc->requested_speed | fc | mdi);
1566 c.u.l1cfg.rcap = htonl(lc->advertising | fc | mdi);
1585 c.op_to_portid = htonl(V_FW_CMD_O
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dbyteorder.h63 #define htonl(x) (x) macro
83 extern uint32_t htonl(uint32_t);
88 extern in_addr_t htonl(in_addr_t);
116 #define BSWAP_32(x) htonl(x)
181 #define BE_IN32(xa) htonl(*((uint32_t *)(void *)(xa)))
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dlber-int.h229 #define LBER_HTONL( l ) htonl( l )
234 * htonl and ntohl on the DEC Alpha under OSF 1 seem to only swap the
238 #define LBER_HTONL( l ) (((long)htonl( (l) & 0x00000000FFFFFFFF )) << 32 \
239 | htonl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 ))

Completed in 79 milliseconds

1234567891011>>