/freebsd-11-stable/sys/netgraph/netflow/ |
H A D | netflow_v9.c | 428 m_append(m, ntohs(fl->length), (void *)fl);
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | iapp.c | 280 inet_ntoa(from->sin_addr), ntohs(from->sin_port),
|
/freebsd-11-stable/sys/net/ |
H A D | bpf_filter.c | 54 #define EXTRACT_SHORT(p) ((u_int16_t)ntohs(*(u_int16_t *)p))
|
H A D | pfvar.h | 117 #define NTOHS(x) (x) = ntohs((__uint16_t)(x)) 878 (d)->max_win = ntohs((s)->max_win); \ 879 (d)->mss = ntohs((s)->mss); \ 885 ntohs((s)->scrub.pfss_flags) & PFSS_TIMESTAMP; \
|
/freebsd-11-stable/sbin/iscontrol/ |
H A D | login.c | 228 uint st_class, status = ntohs(lp->status);
|
/freebsd-11-stable/usr.sbin/fwcontrol/ |
H A D | fwdv.c | 181 fprintf(stderr, "0x%04x\n", ntohs(ciph->fdf.dv.cyc));
|
/freebsd-11-stable/contrib/wpa/src/radius/ |
H A D | radius_das.c | 412 from_port = ntohs(from.sin.sin_port);
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | ix_txrx.c | 753 etype = ntohs(eh->evl_proto); 756 etype = ntohs(eh->evl_encap_proto); 894 switch (ntohs(eh_type)) { 924 __func__, ntohs(eh_type));
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_rx.c | 141 eh_type = ntohs(eh->ether_type);
|
/freebsd-11-stable/sys/netinet/ |
H A D | udp_usrreq.c | 442 len = ntohs((u_short)uh->uh_ulen); 443 ip_len = ntohs(ip->ip_len) - iphlen; 667 inet_ntoa_r(ip->ip_dst, dst), ntohs(uh->uh_dport), 668 inet_ntoa_r(ip->ip_src, src), ntohs(uh->uh_sport));
|
H A D | sctputil.c | 2778 abort_len = ntohs(abort->ch.chunk_length); 3054 chk_len = ntohs(chkhdr->chunk_length); 3652 strreset->strreset_stream_list[i] = ntohs(list[i]); 3695 chunk_len = ntohs(chunk->ch.chunk_length); 4256 chk_length = ntohs(ch->chunk_length); 4314 chk_length = ntohs(ch->chunk_length); 4457 ntohs(sin6->sin6_port), 4471 p[0], p[1], p[2], p[3], ntohs(sin->sin_port)); 6971 iph->ip_len = htons(ntohs(iph->ip_len) - sizeof(struct udphdr)); 6978 ip6->ip6_plen = htons(ntohs(ip [all...] |
H A D | sctp_indata.c | 1732 sid = ntohs(chunk->dp.sid); 1749 sid = ntohs(chunk->dp.sid); 1750 mid = (uint32_t)(ntohs(chunk->dp.ssn)); 2759 chk_length = ntohs(ch->chunk_length); 3245 frag_strt = ntohs(frag->start); 3246 frag_end = ntohs(frag->end); 5603 if ((fwd_sz = ntohs(fwd->ch.chunk_length)) < sizeof(struct sctp_forward_tsn_chunk)) { 5712 sid = ntohs(stseq_m->sid); 5714 flags = ntohs(stseq_m->flags); 5728 sid = ntohs(stse [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_pfil.c | 478 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) {
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_txrx.c | 724 etype = ntohs(eh->evl_proto); 727 etype = ntohs(eh->evl_encap_proto); 831 switch (ntohs(etype)) { 864 __func__, ntohs(etype));
|
/freebsd-11-stable/contrib/unbound/ipsecmod/ |
H A D | ipsecmod.c | 290 qtype = ntohs(rrset_key->rk.type);
|
/freebsd-11-stable/contrib/unbound/sldns/ |
H A D | sbuffer.h | 38 return ntohs(*(const uint16_t *) src);
|
/freebsd-11-stable/sbin/pfctl/ |
H A D | pfctl_parser.c | 325 p1 = ntohs(p1); 326 p2 = ntohs(p2); 1027 printf(" divert-to %u", ntohs(r->divert.port)); 1041 printf(" port %u", ntohs(r->divert.port));
|
/freebsd-11-stable/libexec/rshd/ |
H A D | rshd.c | 213 srcport = ntohs(*((in_port_t *)&fromp->sa_data));
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | wps_er.c | 256 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), sid); 460 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), 925 path, inet_ntoa(dst->sin_addr), ntohs(dst->sin_port)); 1223 inet_ntoa(cli->sin_addr), ntohs(cli->sin_port));
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | util.c | 1861 "%s/%d", hp, ntohs(sa.sin.sin_port)); 1866 "%s/%d", hp, ntohs(sa.sin6.sin6_port)); 1890 "%s/%d", hp, ntohs(sa.sin.sin_port)); 1895 "%s/%d", hp, ntohs(sa.sin6.sin6_port));
|
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_nsec.c | 153 log_assert(ntohs(nsec->rk.type) == LDNS_RR_TYPE_NSEC);
|
/freebsd-11-stable/contrib/ipfilter/ |
H A D | bpf_filter.c | 93 #define EXTRACT_SHORT(p) ((u_short)ntohs(*(u_short *)p))
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_vlan_rotate.c | 415 switch (ntohs(evsh->vlan_stack[vlans].proto)) {
|
/freebsd-11-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdkrpc.c | 173 port = ntohs(sin->sin_port);
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | fil.c | 829 fin->fin_off = ntohs(frag->ip6f_offlg & IP6F_OFF_MASK); 1281 if ((ntohs(oip->ip_off) & IP_OFFMASK) != 0) { 1283 DT2(ipf_fi_bad_icmp_err, fr_info_t, fin, u_int, (ntohs(oip->ip_off) & IP_OFFMASK)); 1337 fin->fin_sport = ntohs(tcp->th_sport); 1338 fin->fin_dport = ntohs(tcp->th_dport); 1512 fin->fin_sport = ntohs(udp->uh_sport); 1513 fin->fin_dport = ntohs(udp->uh_dport); 1699 fin->fin_id = ntohs(ip->ip_id); 1700 off = ntohs(ip->ip_off); 2052 fin->fin_plen = ntohs(i [all...] |