/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | udp.d.in | 55 udp_sport = ntohs(U->uha_src_port); 56 udp_dport = ntohs(U->uha_dst_port); 57 udp_length = ntohs(U->uha_length); 58 udp_checksum = ntohs(U->uha_checksum); 66 ntohs(U->udp_connp->u_port.connu_ports.connu_lport) : 0; 68 ntohs(U->udp_connp->u_port.connu_ports.connu_fport) : 0;
|
H A D | tcp.d.in | 158 tcp_sport = ntohs(*(uint16_t *)T->th_lport); 159 tcp_dport = ntohs(*(uint16_t *)T->th_fport); 164 tcp_window = ntohs(*(uint16_t *)T->th_win); 165 tcp_checksum = ntohs(*(uint16_t *)T->th_sum); 166 tcp_urgent = ntohs(*(uint16_t *)T->th_urp); 173 T != NULL ? ntohs(*(uint16_t *)((tcph_t *)T)->th_lport) : 175 ntohs(((tcp_t *)arg3)->tcp_connp->u_port.connu_ports.connu_lport) : 177 ntohs(((tcp_t *)arg3)->tcp_connp->u_port.connu_ports.connu_fport) : 180 T != NULL ? ntohs(*(uint16_t *)((tcph_t *)T)->th_fport) : 182 ntohs(((tcp_ [all...] |
H A D | ip.d.in | 223 ip_plength = ntohs(I->ipha_length) - 232 ip_plength = ntohs(I->ip6_ctlun.ip6_un1.ip6_un1_plen); 241 ntohs(((ipha_t *)I)->ipha_length) - 244 ntohs(((ip6_t *)I)->ip6_ctlun.ip6_un1.ip6_un1_plen) : 0) : 0; 272 ntohs(((ipha_t *)I)->ipha_length) - 275 ntohs(((ip6_t *)I)->ip6_ctlun.ip6_un1.ip6_un1_plen) : 311 ipv4_length = I != NULL ? ntohs(I->ipha_length) : 0; 312 ipv4_ident = I != NULL ? ntohs(I->ipha_ident) : 0; 313 ipv4_flags = I != NULL ? ntohs(I->ipha_fragment_offset_and_flags) >> 315 ipv4_offset = I != NULL ? ntohs( [all...] |
/osnet-11/usr/src/lib/librstp/common/ |
H A D | times.c | 49 v->MessageAge = ntohs (*((unsigned short*) b->message_age)) >> 8; 51 v->MaxAge = ntohs (*((unsigned short*) b->max_age)) >> 8; 53 v->ForwardDelay = ntohs (*((unsigned short*) b->forward_delay)) >> 8; 55 v->HelloTime = ntohs (*((unsigned short*) b->hello_time)) >> 8;
|
/osnet-11/usr/src/lib/libc/amd64/gen/ |
H A D | byteorder.s | 31 * NOTE: htonll/ntohll, htonl/ntohl, and htons/ntohs are identical 87 ENTRY(ntohs) function 92 SET_SIZE(ntohs)
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | big_bswap.h | 6 #define ntohs(x) (x) macro
|
H A D | little_bswap.h | 6 #define ntohs(x) __bswap_16(x) macro
|
H A D | fsys_tftp.c | 76 if (ntohs(udp->dest) != ival) 142 if (tr->opcode == ntohs(TFTP_ERROR)) 145 ntohs(tr->u.err.errcode), 150 if (tr->opcode == ntohs(TFTP_OACK)) { 155 len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 2; 187 iport, ntohs(tr->udp.src), 199 len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 4; 202 block = ntohs(tp.u.ack.block = tr->u.data.block); } 212 oport = ntohs(tr->udp.src); 291 if (tr->opcode == ntohs (TFTP_ERRO [all...] |
/osnet-11/usr/src/lib/libc/sparc/gen/ |
H A D | byteorder.c | 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs() 75 ntohs(uint16_t in) function
|
/osnet-11/usr/src/lib/libc/sparcv9/gen/ |
H A D | byteorder.c | 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs() 75 ntohs(uint16_t in) function
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | rfc931.c | 158 ntohs(SGPORT(rmt_sin)), 159 ntohs(SGPORT(our_sin))); 173 && ntohs(SGPORT(rmt_sin)) == rmt_port 174 && ntohs(SGPORT(our_sin)) == our_port) {
|
/osnet-11/usr/src/lib/libc/i386/gen/ |
H A D | byteorder.s | 31 * NOTE: htonl/ntohl are identical routines, as are htons/ntohs. 67 ENTRY(ntohs) function 72 SET_SIZE(ntohs)
|
/osnet-11/usr/src/lib/libecp/common/ |
H A D | ecp_impl.c | 68 ecp_ver_op_stype = ntohs(ecp_hdrp->ecp_ver_op_stype); 77 ntohs(ecp_hdrp->ecp_seq)); 133 assert(ntohs(ecpp->ecp_ether_header.ether_type) == ETHERTYPE_ECP); 139 ecp_ver_op_stype = ntohs(ecpp->ecp_ver_op_stype); 151 if (ntohs(ecpp->ecp_seq) == ecp_instp->ecp_ack_seq) { 152 ecp_instp->ecp_last_ack_seq = ntohs(ecpp->ecp_seq); 157 ntohs(ecpp->ecp_seq), ecp_instp->ecp_ack_seq); 163 ecp_instp->ecp_req_seq = ntohs(ecpp->ecp_seq); 164 } else if (ntohs(ecpp->ecp_seq) == ecp_instp->ecp_req_seq) { 171 ecp_instp->ecp_req_seq = ntohs(ecp [all...] |
/osnet-11/usr/src/lib/libresolv/ |
H A D | res_debug.c | 116 fprintf(file, ", id = %d", ntohs(hp->id)); 131 fprintf(file, "\n\tqdcount = %d", ntohs(hp->qdcount)); 132 fprintf(file, ", ancount = %d", ntohs(hp->ancount)); 133 fprintf(file, ", nscount = %d", ntohs(hp->nscount)); 134 fprintf(file, ", arcount = %d\n\n", ntohs(hp->arcount)); 138 if (n = ntohs(hp->qdcount)) { 155 if (n = ntohs(hp->ancount)) { 167 if (n = ntohs(hp->nscount)) { 179 if (n = ntohs(hp->arcount)) {
|
H A D | res_query.c | 110 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 114 ntohs(hp->ancount)); 135 if (hp->rcode == NOERROR && ntohs(hp->ancount) > 0)
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | rexec.c | 81 (void) snprintf(aport, MAX_SHORTSTRLEN, "%u", ntohs(rport)); 137 port = ntohs(((struct sockaddr_in6 *)&sin2)->sin6_port); 139 port = ntohs(((struct sockaddr_in *)&sin2)->sin_port);
|
/osnet-11/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_misc_proc.c | 279 size_t binlen = (ntohs(keyent->keylen) + 7) / 8; 283 if (keylen == ntohs(keyent->keylen) && 284 algtype == ntohs(keyent->algtype)) {
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_verify.c | 75 n = ns_skiprr(cp, eom, ns_s_qd, ntohs(hp->qdcount)); 80 n = ns_skiprr(cp, eom, ns_s_an, ntohs(hp->ancount)); 85 n = ns_skiprr(cp, eom, ns_s_ns, ntohs(hp->nscount)); 90 n = ns_skiprr(cp, eom, ns_s_ar, ntohs(hp->arcount) - 1); 227 hp->arcount = htons(ntohs(hp->arcount) - 1); 305 hp->arcount = htons(ntohs(hp->arcount) + 1); 313 hp->arcount = htons(ntohs(hp->arcount) - 1); 386 hp->arcount = htons(ntohs(hp->arcount) - 1);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_kadmind.c | 148 ntohs(l_port), ntohs(r_port)));
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_p.c | 125 (void) sprintf(buf, "[%s].%u", tmp, ntohs(in6->sin6_port)); 144 (void) sprintf(buf, "[%s].%u", tmp, ntohs(in->sin_port));
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | getdxbyname.c | 112 if ( ntohs( hp->qdcount ) != 1 ) { 117 ancount = ntohs( hp->ancount );
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdxbyname.c | 136 if ( ntohs( hp->qdcount ) != 1 ) { 141 ancount = ntohs( hp->ancount );
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 162 ntohs(SendmailAddress.sin.sin_port)); 168 ntohs(SendmailAddress.sin6.sin6_port));
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_query.c | 174 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 179 ntohs(hp->ancount), 180 ntohs(hp->nscount), 181 ntohs(hp->arcount));
|
/osnet-11/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 203 d6o.d6o_code = ntohs(d6o.d6o_code); 204 d6o.d6o_len = ntohs(d6o.d6o_len); 252 d6o.d6o_code = ntohs(d6o.d6o_code); 253 d6o.d6o_len = ntohs(d6o.d6o_len);
|