/illumos-gate/usr/src/lib/libbc/libc/net/sparc/ |
H A D | htons.c | 32 htons(u_short a) function
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | portname.c | 20 if ((sv = getservbyport(htons(port), "tcp"))) { 23 sv1 = getservbyport(htons(port), "udp"); 30 if ((sv = getservbyport(htons(port), p->p_name))) {
|
H A D | getportproto.c | 27 return htons(number);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.hton.d | 53 /after[0] != htons(before[0])/ 55 printf("%x rather than %x", htons(before[0]), after[0]);
|
/illumos-gate/usr/src/boot/lib/libc/net/ |
H A D | ntoh.c | 42 htons(uint16_t hs) function
|
/illumos-gate/usr/src/stand/lib/xdr/ |
H A D | byteorder.c | 30 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs() 76 htons(uint16_t in) function 89 return (htons(in)); 120 htons(uint16_t in) function
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_init.c | 60 sph->sph_type = htons(PARM_SUPP_ADDRS); 64 *addrtype++ = htons(PARM_ADDR4); 66 sph->sph_len = htons(sizeof (*sph) + sizeof (*addrtype)); 69 *addrtype++ = htons(PARM_ADDR6); 71 *addrtype = htons(PARM_ADDR4); 72 sph->sph_len = htons(sizeof (*sph) + 76 sph->sph_len = htons(sizeof (*sph) + 114 sph->sph_type = htons(PARM_FORWARD_TSN); 115 sph->sph_len = htons(sizeof (*sph)); 134 sph->sph_type = htons(PARM_ADAPT_LAYER_IN [all...] |
H A D | sctp_asconf.c | 161 wph->sph_type = htons(PARM_ERROR_IND); 162 wph->sph_len = htons(msgdsize(mp) + sizeof (*wph) + sizeof (cid)); 296 ch->sch_len = htons(msgdsize(mp)); 469 if (oph->sph_type == htons(PARM_ADD_IP)) 471 if (oph->sph_type == htons(PARM_DEL_IP)) 544 htons(PARM_ADD_IP)) { 551 htons(PARM_DEL_IP)) { 586 ach->sch_len = htons(msgdsize(hmp) - sctp->sctp_hdr_len); 588 ach->sch_len = htons(msgdsize(hmp) - sctp->sctp_hdr6_len); 702 if (oph->sph_type == htons(PARM_ADD_I [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | arp.c | 112 ah->arp_hrd = htons(ARPHRD_ETHER); 113 ah->arp_pro = htons(ETHERTYPE_IP); 116 ah->arp_op = htons(ARPOP_REQUEST); 205 if (ah->arp_hrd != htons(ARPHRD_ETHER) || 206 ah->arp_pro != htons(ETHERTYPE_IP) || 217 if (ah->arp_op == htons(ARPOP_REQUEST)) { 226 if (ah->arp_op != htons(ARPOP_REPLY)) { 265 if (arp->arp_hrd != htons(ARPHRD_ETHER) || 266 arp->arp_pro != htons(ETHERTYPE_IP) || 277 if (arp->arp_op != htons(ARPOP_REQUES [all...] |
H A D | rarp.c | 98 ap->arp_hrd = htons(ARPHRD_ETHER); 99 ap->arp_pro = htons(ETHERTYPE_IP); 102 ap->arp_op = htons(ARPOP_REVREQUEST); 190 if (ap->arp_hrd != htons(ARPHRD_ETHER) || 191 ap->arp_pro != htons(ETHERTYPE_IP) || 202 if (ap->arp_op != htons(ARPOP_REVREPLY)) {
|
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | write.c | 143 length = (uint16_t)htons(strlen(name)); 151 length = (uint16_t)htons(0); 168 length = (uint16_t)htons(strlen(name)); 176 length = (uint16_t)htons(0); 198 length = (uint16_t)htons(str_length); 211 length = (uint16_t)htons(1); 221 length = (uint16_t)htons(4); 233 length = (uint16_t)htons(8); 247 length = (uint16_t)htons(9); 266 length = (uint16_t)htons(1 [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_krb5lookup.c | 71 port = htons(KRB5_DEFAULT_PORT); 74 port = htons(DEFAULT_KADM5_PORT); 77 port = htons(DEFAULT_KPASSWD_PORT);
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | byteorder.c | 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs() 69 htons(uint16_t in) function
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | byteorder.c | 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs() 69 htons(uint16_t in) function
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | big_bswap.h | 7 #define htons(x) (x) macro
|
H A D | little_bswap.h | 7 #define htons(x) __bswap_16(x) macro
|
/illumos-gate/usr/src/head/protocols/ |
H A D | routed.h | 77 #define RIP_AF_INET htons(AF_INET) 94 #define RIP_AUTH_TRAILER htons(1) /* authentication data */ 95 #define RIP_AUTH_PW htons(2) /* password type */ 96 #define RIP_AUTH_MD5 htons(3) /* Keyed MD5 */
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | full_ipadr.c | 61 temptype = htons(ADDRTYPE_INET); 72 temptype = htons(ADDRTYPE_IPPORT);
|
H A D | port2ip.c | 56 if (temptype != htons(ADDRTYPE_INET)) 70 if (temptype != htons(ADDRTYPE_IPPORT))
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.hton.d | 41 trace(htons(0x1122));
|
/illumos-gate/usr/src/cmd/smbsrv/bind-helper/ |
H A D | bind-helper.c | 62 sin->sin_port = htons(atoi(argv[3])); 66 sin6->sin6_port = htons(atoi(argv[3]));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 114 * even when HDRINCL is set. It applies htons() on these 118 outip->ip_len = htons(plen - optlen); 119 outip->ip_off = htons(off); 129 outicmp->icmp_id = htons(ident); 135 outudp->uh_sport = htons(ident); 137 htons((ushort_t)(plen - (sizeof (struct ip) + optlen))); 231 outip->ip_id = htons(ident + seq); 265 outicmp->icmp_seq = htons(seq); 267 outudp->uh_dport = htons((port + seq) % (MAX_PORT + 1)); 372 icp->icmp_id == htons(iden [all...] |
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_mkquery.c | 100 ns_sin.sin_port = htons(NAMESERVER_PORT); 170 hp->id = htons(++_res.id); 197 hp->qdcount = htons(1); 217 hp->arcount = htons(1); 243 hp->ancount = htons(1); 283 hp->ancount = htons(0); 310 hp->ancount = htons(0);
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | krb5_lookup.c | 73 port = htons(KRB5_DEFAULT_PORT); 76 port = htons(DEFAULT_KADM5_PORT); 79 port = htons(DEFAULT_KPASSWD_PORT);
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | bindresvport.c | 63 sin->sin_port = htons(port++);
|