Searched refs:ntohs (Results 76 - 100 of 577) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/net/
H A Dieee8023ad_lacp.c443 ntohs(mdu->mdu_info.mi_rq_port), mdu->mdu_info.mi_rq_system, ":",
616 req->actor_prio = ntohs(la->la_actor.lip_systemid.lsi_prio);
619 req->actor_key = ntohs(la->la_actor.lip_key);
620 req->actor_portprio = ntohs(la->la_actor.lip_portid.lpi_prio);
621 req->actor_portno = ntohs(la->la_actor.lip_portid.lpi_portno);
624 req->partner_prio = ntohs(la->la_partner.lip_systemid.lsi_prio);
627 req->partner_key = ntohs(la->la_partner.lip_key);
628 req->partner_portprio = ntohs(la->la_partner.lip_portid.lpi_prio);
629 req->partner_portno = ntohs(la->la_partner.lip_portid.lpi_portno);
643 req->actor_prio = ntohs(l
[all...]
H A Diso88025.h72 #define TR_RCF_RIFLEN(x) ((ntohs(x) & TR_RCF_LEN_MASK) >> 8)
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_testutils.c85 return ntohs( ((struct sockaddr_in*)&ss)->sin_port);
87 return ntohs( ((struct sockaddr_in6*)&ss)->sin6_port);
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintstatefields.c232 PRINTF("%hu", ntohs(sp->is_sport));
236 PRINTF("%hu", ntohs(sp->is_dport));
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d95 INTFUNC(ntohs(0x1234))
/freebsd-11-stable/libexec/rbootd/
H A Drmp_var.h157 (i) = (((u_int32_t)ntohs((w).val[_WORD_HIGHPART])) << 16) | ntohs((w).val[_WORD_LOWPART])
/freebsd-11-stable/sys/netinet/
H A Dtcp_debug.c176 isipv6 ? ntohs(((struct ip6_hdr *)ipgen)->ip6_plen) :
178 ntohs(((struct ip *)ipgen)->ip_len);
H A Dsctp_asconf.c174 aparam_length = ntohs(aph->ph.param_length);
179 param_type = ntohs(ph->param_type);
181 param_length = ntohs(ph->param_length);
334 aparam_length = ntohs(aph->ph.param_length);
339 param_type = ntohs(ph->param_type);
341 param_length = ntohs(ph->param_length);
471 aparam_length = ntohs(aph->ph.param_length);
476 param_type = ntohs(ph->param_type);
478 param_length = ntohs(ph->param_length);
626 if (ntohs(c
[all...]
/freebsd-11-stable/tools/regression/netinet/tcpsocktimewait/
H A Dtcpsocktimewait.c156 printf("Using port %d\n", ntohs(port));
204 printf("Using port %d\n", ntohs(port));
/freebsd-11-stable/contrib/libpcap/
H A Dextract.h54 * instructions to do an unaligned load and pass stuff to "ntohs()" or
58 * Alpha machines, where "ntohs()" and "ntohl()" might not be done
102 return ((uint16_t)ntohs(((const unaligned_uint16_t *)(p))->val));
152 return ((uint16_t)ntohs(*(const uint16_t *)(p)));
/freebsd-11-stable/contrib/tcpdump/
H A Dnetdissect-stdinc.h284 #undef ntohs macro
292 #define ntohs(x) __ntohs(x) macro
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_udp.c101 ntohs(from->sin6_port));
104 inet_ntoa(from->sin_addr), ntohs(from->sin_port));
132 ntohs(from->sin6_port));
138 ntohs(from->sin_port));
179 ntohs(from->sin6_port));
185 ntohs(from->sin_port));
540 ntohs(dst->addr.sin6_port));
544 ntohs(dst->addr.sin_port));
/freebsd-11-stable/sys/kern/
H A Duipc_mbufhash.c98 etype = ntohs(eh->ether_type);
114 etype = ntohs(vlan->evl_proto);
/freebsd-11-stable/sys/sys/
H A Dparam.h317 __uint16_t ntohs(__uint16_t);
328 #define ntohs(x) __ntohs(x) macro
/freebsd-11-stable/lib/libc/resolv/
H A Dres_query.c174 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
179 ntohs(hp->ancount),
180 ntohs(hp->nscount),
181 ntohs(hp->arcount));
/freebsd-11-stable/lib/libsdp/
H A Dutil.c343 ntohs(*(uint16_t *)&value.int128.b[4]),
344 ntohs(*(uint16_t *)&value.int128.b[6]),
345 ntohs(*(uint16_t *)&value.int128.b[8]),
346 ntohs(*(uint16_t *)&value.int128.b[10]),
/freebsd-11-stable/libexec/bootpd/bootpgw/
H A Dbootpgw.c212 bootps_port = ntohs(bind_addr.sin_port);
401 bootps_port = ntohs((u_short) servp->s_port);
427 bootpc_port = ntohs(servp->s_port);
534 secs = ntohs(bp->bp_secs);
/freebsd-11-stable/libexec/talkd/
H A Dtalkd.c116 ctl_addr.sa_family = ntohs(mp->ctl_addr.sa_family);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo-test.c103 ntohs(socket_get_port (r->ai_addr)));
/freebsd-11-stable/tools/tools/net80211/wesside/dics/
H A Ddics.c156 *port = ntohs(s_in.sin_port);
181 *port = ntohs(uh->uh_sport);
272 iph->ip_len = ntohs(iph->ip_len);
278 ntohs(dst.sin_port));
/freebsd-11-stable/contrib/blacklist/port/
H A Dsockaddr_snprintf.c198 p = ntohs(sat->sat_port);
200 ntohs(sat->sat_addr.s_net), sat->sat_addr.s_node);
210 p = ntohs(sin4->sin_port);
215 p = ntohs(sin6->sin6_port);
/freebsd-11-stable/stand/libsa/
H A Dether.c123 *etype = ntohs(eh->ether_type);
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_utils.c878 if(ntohs(s->rk.type) == LDNS_RR_TYPE_NS &&
879 ntohs(s->rk.rrset_class) == dclass) {
954 if(ntohs(rrx->rk.type) > ntohs(rry->rk.type))
959 if(ntohs(rrx->rk.rrset_class) > ntohs(rry->rk.rrset_class))
1045 if(ntohs(s->rk.type) == LDNS_RR_TYPE_NS) {
1253 if(ntohs(s->rk.type) == LDNS_RR_TYPE_DS &&
1257 s->rk.dname, ntohs(s->rk.type),
1258 ntohs(
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_dbg.h13 (sk) && sdp_sk(sk) ? ntohs(sdp_sk(sk)->lport) : -1, \
14 (sk) && sdp_sk(sk) ? ntohs(sdp_sk(sk)->fport) : -1, ## arg); \
71 l->sk_dport = (sk) ? ntohs(inet_sk(sk)->dport) : -1; \
/freebsd-11-stable/libexec/rlogind/
H A Drlogind.c216 fromp->su_port = ntohs((u_short)fromp->su_port);
338 w.ws_row = ntohs(w.ws_row);
339 w.ws_col = ntohs(w.ws_col);
340 w.ws_xpixel = ntohs(w.ws_xpixel);
341 w.ws_ypixel = ntohs(w.ws_ypixel);

Completed in 204 milliseconds

1234567891011>>