Searched refs:ntohs (Results 226 - 250 of 577) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dpjdlog.c114 port = ntohs(sin->sin_port);
130 port = ntohs(sin->sin6_port);
/freebsd-11-stable/lib/libc/net/
H A Dgetnetbydns.c185 ancount = ntohs(hp->ancount); /* #/records in the answer section */
186 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */
H A Dhesiod.c395 ancount = ntohs(hp->ancount);
396 qdcount = ntohs(hp->qdcount);
H A DMakefile.inc54 byteorder.3 ntohs.3
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_kentry.c309 d->rrset_type = ntohs(rrset->rk.type);
392 f = ntohs(f);
/freebsd-11-stable/usr.sbin/ypserv/
H A Dyp_dnslookup.c185 id = ntohs(hptr->id);
379 (q = yp_find_dnsqent(ntohs(hptr->id), BY_DNS_ID)) == NULL) {
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibroute.c103 mask = ntohs(mft[i][mlid % IB_MLIDS_IN_BLOCK]);
122 mask = ntohs(mft[chunk][mlid % IB_MLIDS_IN_BLOCK]);
H A Ddump_fts.c78 mask = ntohs(mft[i][mlid % IB_MLIDS_IN_BLOCK]);
97 mask = ntohs(mft[chunk][mlid % IB_MLIDS_IN_BLOCK]);
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c140 destp = ntohs(inet_sk(sk)->dport);
141 srcp = ntohs(inet_sk(sk)->sport);
H A Dsdp_cma.c171 ssk->max_bufs = ntohs(h->bsdh.bufs);
203 ssk->max_bufs = ntohs(h->bsdh.bufs);
/freebsd-11-stable/lib/libipsec/
H A Dpfkey_dump.c273 printf("[%u]", ntohs(natt_sport->sadb_x_nat_t_port_port));
282 printf("[%u]", ntohs(natt_dport->sadb_x_nat_t_port_port));
/freebsd-11-stable/sbin/hastd/
H A Dpjdlog.c115 port = ntohs(sin->sin_port);
131 port = ntohs(sin->sin6_port);
/freebsd-11-stable/sbin/pfctl/
H A Dpf_print_state.c192 printf(":%u", ntohs(port));
194 printf("[%u]", ntohs(port));
/freebsd-11-stable/sys/netipsec/
H A Dipsec_pcb.c82 sin6->sin6_scope_id = ntohs(
95 sin6->sin6_scope_id = ntohs(
/freebsd-11-stable/usr.sbin/ppp/
H A Dauth.c447 if (len >= ntohs(authp->in.hdr.length))
451 ntohs(authp->in.hdr.length), len);
/freebsd-11-stable/sys/net/
H A Dbridgestp.c272 (((uint64_t)ntohs(cpdu->cbu_rootpri)) << 48) |
281 (((uint64_t)ntohs(cpdu->cbu_bridgepri)) << 48) |
290 cu->cu_message_age = ntohs(cpdu->cbu_messageage);
291 cu->cu_max_age = ntohs(cpdu->cbu_maxage);
292 cu->cu_hello_time = ntohs(cpdu->cbu_hellotime);
293 cu->cu_forward_delay = ntohs(cpdu->cbu_forwarddelay);
294 cu->cu_pv.pv_dport_id = ntohs(cpdu->cbu_portid);
468 len = ntohs(eh->ether_type);
/freebsd-11-stable/stand/libsa/
H A Dstand.h420 extern uint16_t ntohs(uint16_t);
428 #define ntohs(x) __ntohs(x) macro
/freebsd-11-stable/lib/libc/tests/nss/
H A Dgetserv_test.c178 serv->s_name, ntohs(serv->s_port), serv->s_proto);
317 if (ntohs(serv->s_port < 0))
/freebsd-11-stable/contrib/unbound/services/cache/
H A Drrset.c192 uint16_t rrset_type = ntohs(k->rk.type);
393 if(ntohs(rrset->rk.type) != LDNS_RR_TYPE_NS ||
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw2.c918 ntohs(chunk->chunk_length) + 3) {
1037 ntohs(chunk->chunk_length) + 3) {
1472 etype = ntohs(args->eh->ether_type);
1660 iplen = ntohs(ip6->ip6_plen) + sizeof(*ip6);
1672 offset = ntohs(ip->ip_off) & IP_OFFMASK;
1673 iplen = ntohs(ip->ip_len);
1739 args->f_id.src_port = src_port = ntohs(src_port);
1740 args->f_id.dst_port = dst_port = ntohs(dst_port);
2207 x = ntohs(ip->ip_id);
2349 x = ntohs(TC
[all...]
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_net.h71 #define SRCPORT(psau) (ntohs(NSRCPORT(psau)))
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dinterfaceiter.c114 zone16 = ntohs(zone16);
/freebsd-11-stable/contrib/blacklist/bin/
H A Dconf.c202 *(int *)r = ntohs(sv->s_port);
206 *(int *)r = ntohs(sv->s_port);
1044 cr->c_port = ntohs(((struct sockaddr_in *)&lss)->sin_port);
1047 cr->c_port = ntohs(((struct sockaddr_in6 *)&lss)->sin6_port);
/freebsd-11-stable/contrib/ipfilter/samples/
H A Drelay.c187 ntohs(sin.sin_port));
/freebsd-11-stable/contrib/ldns/ldns/
H A Dutil.h73 return ntohs(*(const uint16_t *) src);

Completed in 319 milliseconds

1234567891011>>