/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | little_bswap.h | 5 #define htonl(x) __bswap_32(x) macro
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | genmask.c | 51 *mskp = htonl(0xffffffff << (32 - bits));
|
H A D | hostname.c | 25 if (ipa.s_addr == htonl(0xfedcba98))
|
H A D | printhashnode.c | 26 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 D | dump.c | 1291 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 D | full_ipadr.c | 65 templength = htonl(sizeof(smushaddr)); 76 templength = htonl(sizeof(smushport));
|
H A D | port2ip.c | 61 if (templength != htonl(sizeof(smushaddr))) 75 if (templength != htonl(sizeof(smushport)))
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.hton.d | 47 trace(htonl(0x11223344));
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | select.c | 166 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 D | in.h | 174 #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 D | libilb_impl.h | 68 * 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 D | in.timed.c | 59 return ((uint32_t)htonl(tv.tv_sec + 2208988800U));
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | eftwrite.c | 48 /* 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 D | Makefile | 35 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 D | ghd_scsi.c | 46 *(ulong *)ap = htonl(niv);
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | byteorder.s | 32 * 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 D | isnsadm.h | 47 #define htonll(x) ((((unsigned long long)htonl(x)) << 32) + htonl(x >> 32))
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | byteorder.s | 32 * 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 D | inet.h | 139 uint32_t htonl(uint32_t); 170 #define htonl(x) __htonl(x) macro
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | nfs.c | 252 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 D | LMEConnection.cpp | 153 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 D | nfs_xdr.c | 336 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 D | t4_hw.c | 289 *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 D | byteorder.h | 63 #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 D | lber-int.h | 229 #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 ))
|