HomeSort by relevance Sort by last modified time
    Searched refs:htons (Results 1 - 25 of 428) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/lib/libbc/libc/net/sparc/
htons.c 32 htons(u_short a) function
  /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/
portname.c 20 if ((sv = getservbyport(htons(port), "tcp"))) {
23 sv1 = getservbyport(htons(port), "udp");
30 if ((sv = getservbyport(htons(port), p->p_name))) {
getportproto.c 27 return htons(number);
  /onnv/onnv-gate/usr/src/lib/libc/amd64/gen/
byteorder.s 31 * NOTE: htonll/ntohll, htonl/ntohl, and htons/ntohs are identical
76 * unsigned short htons( hs )
80 ENTRY(htons) function
85 SET_SIZE(htons)
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
tst.hton.d 53 /after[0] != htons(before[0])/
55 printf("%x rather than %x", htons(before[0]), after[0]);
  /onnv/onnv-gate/usr/src/lib/libc/i386/gen/
byteorder.s 31 * NOTE: htonl/ntohl are identical routines, as are htons/ntohs.
55 / unsigned short htons( hs )
60 ENTRY(htons) function
65 SET_SIZE(htons)
  /onnv/onnv-gate/usr/src/stand/lib/xdr/
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
  /onnv/onnv-gate/usr/src/uts/common/inet/sctp/
sctp_init.c 61 sph->sph_type = htons(PARM_SUPP_ADDRS);
65 *addrtype++ = htons(PARM_ADDR4);
67 sph->sph_len = htons(sizeof (*sph) + sizeof (*addrtype));
70 *addrtype++ = htons(PARM_ADDR6);
72 *addrtype = htons(PARM_ADDR4);
73 sph->sph_len = htons(sizeof (*sph) +
77 sph->sph_len = htons(sizeof (*sph) +
115 sph->sph_type = htons(PARM_FORWARD_TSN);
116 sph->sph_len = htons(sizeof (*sph));
135 sph->sph_type = htons(PARM_ADAPT_LAYER_IND)
    [all...]
sctp_asconf.c 162 wph->sph_type = htons(PARM_ERROR_IND);
163 wph->sph_len = htons(msgdsize(mp) + sizeof (*wph) + sizeof (cid));
297 ch->sch_len = htons(msgdsize(mp));
470 if (oph->sph_type == htons(PARM_ADD_IP))
472 if (oph->sph_type == htons(PARM_DEL_IP))
545 htons(PARM_ADD_IP)) {
552 htons(PARM_DEL_IP)) {
587 ach->sch_len = htons(msgdsize(hmp) - sctp->sctp_hdr_len);
589 ach->sch_len = htons(msgdsize(hmp) - sctp->sctp_hdr6_len);
703 if (oph->sph_type == htons(PARM_ADD_IP) |
    [all...]
  /onnv/onnv-gate/usr/src/lib/print/libipp-core/common/
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(11)
    [all...]
  /onnv/onnv-gate/usr/src/grub/grub-0.97/netboot/
big_bswap.h 7 #define htons(x) (x) macro
little_bswap.h 7 #define htons(x) __bswap_16(x) macro
  /onnv/onnv-gate/usr/src/head/protocols/
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 */
  /onnv/onnv-gate/usr/src/lib/libc/sparc/gen/
byteorder.c 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
69 htons(uint16_t in) function
  /onnv/onnv-gate/usr/src/lib/libc/sparcv9/gen/
byteorder.c 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
69 htons(uint16_t in) function
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/safety/
tst.hton.d 41 trace(htons(0x1122));
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
full_ipadr.c 61 temptype = htons(ADDRTYPE_INET);
72 temptype = htons(ADDRTYPE_IPPORT);
port2ip.c 56 if (temptype != htons(ADDRTYPE_INET))
70 if (temptype != htons(ADDRTYPE_IPPORT))
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
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(ident) &
    [all...]
  /onnv/onnv-gate/usr/src/lib/libresolv/
res_mkquery.c 97 ns_sin.sin_port = htons(NAMESERVER_PORT);
167 hp->id = htons(++_res.id);
193 hp->qdcount = htons(1);
212 hp->arcount = htons(1);
238 hp->ancount = htons(1);
277 hp->ancount = htons(0);
303 hp->ancount = htons(0);
  /onnv/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
rresvport.c 86 *portp = htons(*alport);
  /onnv/onnv-gate/usr/src/lib/libbc/libc/net/
bindresvport.c 63 sin->sin_port = htons(port++);
  /onnv/onnv-gate/usr/src/uts/intel/io/dktp/hba/ghd/
ghd_scsi.c 52 *(ushort *)ap = htons(nsv);
  /onnv/onnv-gate/usr/src/uts/sun4v/io/
vnet_common.c 86 evhp->ether_tpid = htons(ETHERTYPE_VLAN);
87 evhp->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, vid));
109 evhp->ether_tpid = htons(ETHERTYPE_VLAN);
110 evhp->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, vid));
  /onnv/onnv-gate/usr/src/cmd/fm/eversholt/common/
eftwrite.c 154 hdr.major = htons(hdr.major);
155 hdr.minor = htons(hdr.minor);
156 hdr.cmajor = htons(hdr.cmajor);
157 hdr.cminor = htons(hdr.cminor);

Completed in 4859 milliseconds

1 2 3 4 5 6 7 8 91011>>