/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_util.c | 115 ntcp = ntohs(pip->ip_len) - nhdr;
|
/freebsd-11-stable/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 76 printf("Got %d bytes [%d]\n", len, ntohs(id));
|
/freebsd-11-stable/usr.sbin/trpt/ |
H A D | trpt.c | 355 ntohs(th->th_sport)); 363 ntohs(th->th_dport)); 377 len = ntohs(len); 378 win = ntohs(win);
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | nfs_prot_svc.c | 124 ntohs(sinp->sin_port) >= IPPORT_RESERVED && 128 ntohs(sinp->sin_port)); 138 ntohs(sinp->sin_port)); 143 ntohs(sinp->sin_port),
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | in_cksum.c | 196 shouldbe += ntohs(computed_sum);
|
H A D | print-nflog.c | 52 ND_PRINT((ndo, "version %d, resource ID %d", hdr->nflog_version, ntohs(hdr->nflog_rid)));
|
H A D | extract.h | 86 * instructions to do an unaligned load and pass stuff to "ntohs()" or 90 * Alpha machines, where "ntohs()" and "ntohl()" might not be done 134 return ((uint16_t)ntohs(((const unaligned_uint16_t *)(p))->val)); 184 return ((uint16_t)ntohs(*(const uint16_t *)(p)));
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_connect.c | 92 ATF_REQUIRE(ntohs(sin.sin_port) <= IPPORT_RESERVEDMAX);
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | dhcp_snoop.c | 49 tot_len = ntohs(b->iph.tot_len);
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_norm.c | 560 frent->fe_len = ntohs(ip->ip_len) - (ip->ip_hl << 2); 561 frent->fe_off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; 562 frent->fe_mff = ntohs(ip->ip_off) & IP_MF; 605 DPFPRINTF(("complete: %p(%d)\n", m, ntohs(ip->ip_len))); 637 frent->fe_len = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - hdrlen; 638 frent->fe_off = ntohs(fraghdr->ip6f_offlg & IP6F_OFF_MASK); 724 DPFPRINTF(("complete: %p(%d)", m, ntohs(ip6->ip6_plen))); 820 int mff = (ntohs(h->ip_off) & IP_MF); 822 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; 870 if (hlen > ntohs( [all...] |
/freebsd-11-stable/libexec/tftpd/ |
H A D | tftp-io.c | 116 packettype(ntohs(((struct tftphdr *) 122 packettype(ntohs(((struct tftphdr *)(pkt))->th_opcode)), 440 pkt->th_opcode = ntohs((u_short)pkt->th_opcode); 443 pkt->th_block = ntohs((u_short)pkt->th_block);
|
/freebsd-11-stable/sbin/ping6/ |
H A D | ping6.c | 966 src.sin6_port = ntohs(DUMMY_PORT); 1288 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq); 1303 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq); 1315 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq); 1330 *(u_int16_t *)nip->icmp6_ni_nonce = ntohs(seq); 1337 icp->icmp6_seq = ntohs(seq); 1379 if (ntohs(icp->icmp6_id) == ident) 1518 seq = ntohs(icp->icmp6_seq); 1587 seq = ntohs(*(u_int16_t *)ni->icmp6_ni_nonce); 1603 switch (ntohs(n [all...] |
/freebsd-11-stable/contrib/traceroute/ |
H A D | traceroute.c | 1315 Printf(" %04x", ntohs(*sp++)); 1427 pmtu = ntohs(icp->icmp_nextmtu); 1429 pmtu = ntohs(((struct my_pmtu *)&icp->icmp_void)->ipm_nextmtu); 1509 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) && 1510 ntohs(udp->uh_dport) == port + (fixedPort ? 0 : seq)); 1535 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) && 1536 ntohs(udp->uh_dport) == port + (fixedPort ? 0 : seq)); 1561 return (ntohs(tcp->th_sport) == ident 1562 && ntohs(tcp->th_dport) == port + (fixedPort ? 0 : seq) 1646 if (ntohs(sct [all...] |
/freebsd-11-stable/contrib/sendmail/contrib/ |
H A D | bitdomain.c | 273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ) 281 for (ancount = ntohs(hp->ancount); --ancount >= 0 && ap < eom; ap += n)
|
/freebsd-11-stable/lib/libsdp/ |
H A D | service.c | 219 pdu->tid = ntohs(pdu->tid); 220 pdu->len = ntohs(pdu->len);
|
/freebsd-11-stable/libexec/bootpd/tools/bootptest/ |
H A D | print-bootp.c | 125 printf(" secs:%d", ntohs(bp->bp_secs)); 328 printf("%d", ntohs(us));
|
/freebsd-11-stable/libexec/talkd/ |
H A D | process.c | 77 mp->addr.sa_family = ntohs(mp->addr.sa_family); 84 mp->ctl_addr.sa_family = ntohs(mp->ctl_addr.sa_family);
|
/freebsd-11-stable/usr.sbin/rpcbind/ |
H A D | security.c | 142 (ntohs(sin->sin_port) < IPPORT_RESERVED)); 149 (ntohs(sin6->sin6_port) < IPV6PORT_RESERVED));
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | smpdump.c | 301 ntohs(smp->status)); 313 fprintf(stdout, "SMP status: 0x%x\n", ntohs(smp->status));
|
/freebsd-11-stable/sys/netpfil/ipfw/pmod/ |
H A D | tcpmod.c | 101 if (ntohs(oldmss) <= ntohs(mss))
|
/freebsd-11-stable/lib/libnetbsd/ |
H A D | sockaddr_snprintf.c | 148 p = ntohs(sin4->sin_port); 154 p = ntohs(sin6->sin6_port);
|
/freebsd-11-stable/stand/libsa/ |
H A D | bootparam.c | 181 inet_ntoa(bp_server_addr), ntohs(bp_server_port))); 187 (int)ntohs(bp_server_port));
|
/freebsd-11-stable/usr.sbin/ctld/ |
H A D | isns.c | 189 be32enc(&buf, ntohs(in4->sin_port)); 194 be32enc(&buf, ntohs(in6->sin6_port));
|
/freebsd-11-stable/usr.sbin/iscsid/ |
H A D | discovery.c | 109 if (ntohs(bhslr->bhslr_response) != BHSLR_RESPONSE_CLOSED_SUCCESSFULLY) 111 ntohs(bhslr->bhslr_response));
|
/freebsd-11-stable/usr.sbin/pkg/ |
H A D | dns_utils.c | 130 qdcount = ntohs(q.hdr.qdcount); 131 ancount = ntohs(q.hdr.ancount);
|