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

1234567891011>>

/freebsd-10.0-release/sys/netinet6/
H A Dfrag6.c211 (((ntohs(ip6->ip6_plen) - offset) & 0x7) != 0)) {
310 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK);
322 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset;
/freebsd-10.0-release/contrib/ipfilter/lib/
H A Dprintfr.c191 type = ntohs(fp->fr_icmp);
199 if (ntohs(fp->fr_icmpm) & 0xff)
/freebsd-10.0-release/contrib/ldns/ldns/
H A Dutil.h.in73 return ntohs(*(uint16_t *) src);
/freebsd-10.0-release/contrib/ntp/ntpq/
H A Dntpq.c962 if (ntohs(rpkt.sequence) != sequence) {
966 ntohs(rpkt.sequence), sequence);
983 errcode = (ntohs(rpkt.status) >> 8) & 0xff;
997 if (ntohs(rpkt.associd) != associd) {
1000 ntohs(rpkt.associd), associd);
1013 offset = ntohs(rpkt.offset);
1014 count = ntohs(rpkt.count);
1130 *rstatus = ntohs(rpkt.status);
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/src/
H A Dibroute.c108 mask = ntohs(mft[i][mlid%IB_MLIDS_IN_BLOCK]);
127 mask = ntohs(mft[chunk][mlid%IB_MLIDS_IN_BLOCK]);
/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/
H A Dpjdlog.c116 port = ntohs(sin->sin_port);
132 port = ntohs(sin->sin6_port);
/freebsd-10.0-release/contrib/unbound/services/cache/
H A Drrset.c189 uint16_t rrset_type = ntohs(k->rk.type);
355 if(ntohs(rrset->rk.type) != LDNS_RR_TYPE_NS ||
/freebsd-10.0-release/contrib/unbound/validator/
H A Dval_kentry.c308 d->rrset_type = ntohs(rrset->rk.type);
391 f = ntohs(f);
H A Dval_nsec.c154 log_assert(ntohs(nsec->rk.type) == LDNS_RR_TYPE_NSEC);
594 ntohs(rep->rrsets[i]->rk.type), 0);
/freebsd-10.0-release/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.c396 ancount = ntohs(hp->ancount);
397 qdcount = ntohs(hp->qdcount);
/freebsd-10.0-release/sbin/hastd/
H A Dpjdlog.c113 port = ntohs(sin->sin_port);
129 port = ntohs(sin->sin6_port);
/freebsd-10.0-release/sbin/pfctl/
H A Dpf_print_state.c190 printf(":%u", ntohs(port));
192 printf("[%u]", ntohs(port));
/freebsd-10.0-release/sys/net/
H A Dbridgestp.c270 (((uint64_t)ntohs(cpdu->cbu_rootpri)) << 48) |
279 (((uint64_t)ntohs(cpdu->cbu_bridgepri)) << 48) |
288 cu->cu_message_age = ntohs(cpdu->cbu_messageage);
289 cu->cu_max_age = ntohs(cpdu->cbu_maxage);
290 cu->cu_hello_time = ntohs(cpdu->cbu_hellotime);
291 cu->cu_forward_delay = ntohs(cpdu->cbu_forwarddelay);
292 cu->cu_pv.pv_dport_id = ntohs(cpdu->cbu_portid);
466 len = ntohs(eh->ether_type);
H A Dif_ef.c313 ether_type = ntohs(eh->ether_type);
327 ether_type = ntohs(l->llc_un.type_snap.ether_type);
/freebsd-10.0-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c172 ssk->max_bufs = ntohs(h->bsdh.bufs);
204 ssk->max_bufs = ntohs(h->bsdh.bufs);
H A Dsdp_proc.c141 destp = ntohs(inet_sk(sk)->dport);
142 srcp = ntohs(inet_sk(sk)->sport);
/freebsd-10.0-release/tools/regression/lib/libc/nss/
H A Dtest-getserv.c182 serv->s_name, ntohs(serv->s_port), serv->s_proto);
324 if (ntohs(serv->s_port < 0))
/freebsd-10.0-release/usr.sbin/ppp/
H A Dauth.c445 if (len >= ntohs(authp->in.hdr.length))
449 ntohs(authp->in.hdr.length), len);
/freebsd-10.0-release/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-10.0-release/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c213 peer_ip, ntohs(local_port), ntohs(peer_port));
1507 plen = ntohs(mpa->private_data_size);
1571 resp_ird = ntohs(mpa_v2_params->ird) &
1573 resp_ord = ntohs(mpa_v2_params->ord) &
1590 if (ntohs(mpa_v2_params->ird) &
1594 if (ntohs(mpa_v2_params->ord) &
1601 else if (ntohs(mpa_v2_params->ord) &
1786 plen = ntohs(mpa->private_data_size);
1825 ird = ntohs(mpa_v2_param
[all...]
/freebsd-10.0-release/contrib/amd/amd/
H A Drpc_fwd.c308 ntohs(fwdto->sin_port));
/freebsd-10.0-release/contrib/bsnmp/snmp_mibII/
H A DmibII_udp.c141 oid->index.subs[4] = ntohs(inp->xi_inp.inp_lport);
/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Dlsock.c228 printf("sport %d\n", ntohs(lsin.sin_port));
/freebsd-10.0-release/contrib/ipfilter/samples/
H A Drelay.c187 ntohs(sin.sin_port));

Completed in 264 milliseconds

1234567891011>>