/freebsd-11-stable/sys/net/ |
H A D | ieee8023ad_lacp.c | 443 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 D | iso88025.h | 72 #define TR_RCF_RIFLEN(x) ((ntohs(x) & TR_RCF_LEN_MASK) >> 8)
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_testutils.c | 85 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 D | printstatefields.c | 232 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 D | tst.subr.d | 95 INTFUNC(ntohs(0x1234))
|
/freebsd-11-stable/libexec/rbootd/ |
H A D | rmp_var.h | 157 (i) = (((u_int32_t)ntohs((w).val[_WORD_HIGHPART])) << 16) | ntohs((w).val[_WORD_LOWPART])
|
/freebsd-11-stable/sys/netinet/ |
H A D | tcp_debug.c | 176 isipv6 ? ntohs(((struct ip6_hdr *)ipgen)->ip6_plen) : 178 ntohs(((struct ip *)ipgen)->ip_len);
|
H A D | sctp_asconf.c | 174 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 D | tcpsocktimewait.c | 156 printf("Using port %d\n", ntohs(port)); 204 printf("Using port %d\n", ntohs(port));
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | extract.h | 54 * 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 D | netdissect-stdinc.h | 284 #undef ntohs macro 292 #define ntohs(x) __ntohs(x) macro
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface_udp.c | 101 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 D | uipc_mbufhash.c | 98 etype = ntohs(eh->ether_type); 114 etype = ntohs(vlan->evl_proto);
|
/freebsd-11-stable/sys/sys/ |
H A D | param.h | 317 __uint16_t ntohs(__uint16_t); 328 #define ntohs(x) __ntohs(x) macro
|
/freebsd-11-stable/lib/libc/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));
|
/freebsd-11-stable/lib/libsdp/ |
H A D | util.c | 343 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 D | bootpgw.c | 212 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 D | talkd.c | 116 ctl_addr.sa_family = ntohs(mp->ctl_addr.sa_family);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo-test.c | 103 ntohs(socket_get_port (r->ai_addr)));
|
/freebsd-11-stable/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 156 *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 D | sockaddr_snprintf.c | 198 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 D | ether.c | 123 *etype = ntohs(eh->ether_type);
|
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_utils.c | 878 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 D | sdp_dbg.h | 13 (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 D | rlogind.c | 216 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);
|