/freebsd-10.0-release/contrib/tcpdump/ |
H A D | tcpdump-stdinc.h | 185 #undef ntohs macro 193 #define ntohs(x) __ntohs(x) macro
|
/freebsd-10.0-release/sys/netatalk/ |
H A D | ddp_pcb.c | 233 ntohs(net) >= ntohs(aa->aa_firstnet) && 234 ntohs(net) <= ntohs(aa->aa_lastnet)) 406 ntohs(ddp->ddp_lsat.sat_addr.s_net) >= 407 ntohs(aa->aa_firstnet) && 408 ntohs(ddp->ddp_lsat.sat_addr.s_net) <= 409 ntohs(aa->aa_lastnet)) {
|
H A D | aarp.c | 162 (ntohs(aa->aa_firstnet) <= ntohs(sat->sat_addr.s_net)) && 163 (ntohs(aa->aa_lastnet) >= ntohs(sat->sat_addr.s_net))) 260 ntohs(AA_SAT(aa)->sat_addr.s_net), AA_SAT(aa)->sat_addr.s_node); 341 if (ntohs(ar->ar_hrd) != AARPHRD_ETHER) 348 switch(ntohs(ar->ar_pro)) { 389 op = ntohs(ea->aarp_op); 699 ntohs(AA_SAT(aa)->sat_addr.s_net), AA_SAT(aa)->sat_addr.s_node);
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | server.c | 121 if (ntohs(sin->sin_port) < 1024) { 124 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 130 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 136 if (ntohs(sin6->sin6_port) < 1024) { 139 ncpaddr_ntoa(&addr), ntohs(sin6->sin6_port)); 145 ncpaddr_ntoa(&addr), ntohs(sin6->sin6_port)); 170 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 176 ncpaddr_ntoa(&addr), ntohs(sin6->sin6_port));
|
H A D | ua.h | 34 # define ua_ntohs(src, tgt) (*(u_int16_t *)(tgt) = ntohs(*(u_int16_t *)(src)))
|
/freebsd-10.0-release/contrib/amd/amd/ |
H A D | nfs_prot_svc.c | 127 ntohs(sinp->sin_port) >= IPPORT_RESERVED && 131 ntohs(sinp->sin_port)); 141 ntohs(sinp->sin_port)); 146 ntohs(sinp->sin_port),
|
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | printstate.c | 38 PRINTF(",%d", ntohs(sp->is_sport)); 46 PRINTF(",%d", ntohs(sp->is_dport)); 82 PRINTF("\tcall %hx/%hx\n", ntohs(sp->is_gre.gs_call[0]), 83 ntohs(sp->is_gre.gs_call[1]));
|
H A D | printstatefields.c | 232 PRINTF("%hu", ntohs(sp->is_sport)); 236 PRINTF("%hu", ntohs(sp->is_dport));
|
/freebsd-10.0-release/contrib/ofed/libsdp/src/ |
H A D | match.c | 116 port = ntohs( sin6->sin6_port ); 121 port = ntohs( sin->sin_port ); 135 port = ntohs( sin6->sin6_port ); 137 port = ntohs( sin->sin_port );
|
/freebsd-10.0-release/contrib/wpa/src/wps/ |
H A D | http_server.c | 50 ntohs(req->cli.sin_port)); 56 ntohs(req->cli.sin_port)); 139 ntohs(req->cli.sin_port)); 214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
|
H A D | http_client.c | 62 ntohs(c->dst.sin_port)); 68 ntohs(c->dst.sin_port)); 91 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port), 116 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port)); 276 ntohs(dst.sin_port));
|
/freebsd-10.0-release/crypto/openssh/openbsd-compat/ |
H A D | bindresvport.c | 90 port = ntohs(*portp);
|
H A D | rresvport.c | 104 *alport = ntohs(*portp);
|
/freebsd-10.0-release/usr.bin/netstat/ |
H A D | atalk.c | 84 sprintf(mybuf,"%hu",ntohs(sat->sat_addr.s_net)); 141 ntohs(sat->sat_range.r_netrange.nr_firstnet), 142 ntohs(sat->sat_range.r_netrange.nr_lastnet)); 145 ntohs(sat->sat_range.r_netrange.nr_firstnet));
|
/freebsd-10.0-release/usr.bin/talk/ |
H A D | ctl_transact.c | 110 rp->addr.sa_family = ntohs(rp->addr.sa_family);
|
/freebsd-10.0-release/sys/netinet/libalias/ |
H A D | alias_pptp.c | 87 if (ntohs(*ah->dport) == PPTP_CONTROL_PORT_NUMBER 88 || ntohs(*ah->sport) == PPTP_CONTROL_PORT_NUMBER) 447 tlen = ntohs(pip->ip_len); 458 *ptype = ntohs(hptr->type); 461 if ((ntohs(hptr->msgType) != PPTP_CTRL_MSG_TYPE) ||
|
/freebsd-10.0-release/contrib/unbound/validator/ |
H A D | validator.c | 448 if(dname_seen && ntohs(s->rk.type) == LDNS_RR_TYPE_CNAME) { 466 ntohs(s->rk.type), ntohs(s->rk.rrset_class)); 468 if(ntohs(s->rk.type) == LDNS_RR_TYPE_CNAME) 470 else if(ntohs(s->rk.type) == LDNS_RR_TYPE_DNAME) 480 ntohs(s->rk.type) == LDNS_RR_TYPE_DNAME) { 495 ntohs(s->rk.type), ntohs(s->rk.rrset_class)); 539 if(ntohs(rep->rrsets[ rep->an_numrrsets ]->rk.type) != LDNS_RR_TYPE_NS) 589 ntohs( [all...] |
/freebsd-10.0-release/sys/netpfil/ipfw/ |
H A D | ip_fw_log.c | 468 ntohs(tcp->th_sport), 470 ntohs(tcp->th_dport)); 479 ntohs(udp->uh_sport), 481 ntohs(udp->uh_dport)); 523 ntohs(ip6->ip6_plen) - hlen, 524 ntohs(offset) << 3, ip6f_mf ? "+" : ""); 529 ipoff = ntohs(ip->ip_off); 530 iplen = ntohs(ip->ip_len); 534 ntohs(ip->ip_id), iplen - (ip->ip_hl << 2),
|
/freebsd-10.0-release/contrib/ntp/libisc/ |
H A D | sockaddr.c | 140 snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sockaddr->type.sin.sin_port)); 143 snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sockaddr->type.sin6.sin6_port)); 211 p = ntohs(sockaddr->type.sin.sin_port); 224 p = ntohs(sockaddr->type.sin6.sin6_port); 425 port = ntohs(sockaddr->type.sin.sin_port); 428 port = ntohs(sockaddr->type.sin6.sin6_port);
|
/freebsd-10.0-release/contrib/unbound/util/data/ |
H A D | msgreply.c | 677 if(ntohs(s->rk.type) == LDNS_RR_TYPE_CNAME && 678 ntohs(s->rk.rrset_class) == qinfo->qclass && 698 if(ntohs(s->rk.type) == qinfo->qtype && 699 ntohs(s->rk.rrset_class) == qinfo->qclass && 705 if(ntohs(s->rk.type) == LDNS_RR_TYPE_CNAME && 706 ntohs(s->rk.rrset_class) == qinfo->qclass && 721 if(ntohs(s->rk.type) == type && 722 ntohs(s->rk.rrset_class) == dclass && 737 if(ntohs(s->rk.type) == type && 738 ntohs( [all...] |
/freebsd-10.0-release/sys/net/ |
H A D | ieee8023ad_lacp.c | 435 ntohs(mdu->mdu_info.mi_rq_port), mdu->mdu_info.mi_rq_system, ":", 599 req->actor_prio = ntohs(la->la_actor.lip_systemid.lsi_prio); 602 req->actor_key = ntohs(la->la_actor.lip_key); 603 req->actor_portprio = ntohs(la->la_actor.lip_portid.lpi_prio); 604 req->actor_portno = ntohs(la->la_actor.lip_portid.lpi_portno); 607 req->partner_prio = ntohs(la->la_partner.lip_systemid.lsi_prio); 610 req->partner_key = ntohs(la->la_partner.lip_key); 611 req->partner_portprio = ntohs(la->la_partner.lip_portid.lpi_prio); 612 req->partner_portno = ntohs(la->la_partner.lip_portid.lpi_portno); 626 req->actor_prio = ntohs(l [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.subr.d | 94 INTFUNC(ntohs(0x1234))
|
/freebsd-10.0-release/libexec/rbootd/ |
H A D | rmp_var.h | 159 (i) = (((u_int32_t)ntohs((w).val[_WORD_HIGHPART])) << 16) | ntohs((w).val[_WORD_LOWPART])
|
/freebsd-10.0-release/sys/netinet/ |
H A D | sctp_asconf.c | 174 aparam_length = ntohs(aph->ph.param_length); 176 param_type = ntohs(ph->param_type); 178 param_length = ntohs(ph->param_length); 328 aparam_length = ntohs(aph->ph.param_length); 330 param_type = ntohs(ph->param_type); 332 param_length = ntohs(ph->param_length); 462 aparam_length = ntohs(aph->ph.param_length); 464 param_type = ntohs(ph->param_type); 466 param_length = ntohs(ph->param_length); 609 if (ntohs(c [all...] |
H A D | tcp_debug.c | 176 isipv6 ? ntohs(((struct ip6_hdr *)ipgen)->ip6_plen) : 178 ntohs(((struct ip *)ipgen)->ip_len);
|