Searched refs:ntohs (Results 351 - 375 of 577) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/netgraph/netflow/
H A Dnetflow_v9.c428 m_append(m, ntohs(fl->length), (void *)fl);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Diapp.c280 inet_ntoa(from->sin_addr), ntohs(from->sin_port),
/freebsd-11-stable/sys/net/
H A Dbpf_filter.c54 #define EXTRACT_SHORT(p) ((u_int16_t)ntohs(*(u_int16_t *)p))
H A Dpfvar.h117 #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 Dlogin.c228 uint st_class, status = ntohs(lp->status);
/freebsd-11-stable/usr.sbin/fwcontrol/
H A Dfwdv.c181 fprintf(stderr, "0x%04x\n", ntohs(ciph->fdf.dv.cyc));
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius_das.c412 from_port = ntohs(from.sin.sin_port);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dix_txrx.c753 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 Dmlx5_en_rx.c141 eh_type = ntohs(eh->ether_type);
/freebsd-11-stable/sys/netinet/
H A Dudp_usrreq.c442 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 Dsctputil.c2778 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 Dsctp_indata.c1732 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 Dip_fw_pfil.c478 if (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) {
/freebsd-11-stable/sys/dev/ixl/
H A Dixl_txrx.c724 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 Dipsecmod.c290 qtype = ntohs(rrset_key->rk.type);
/freebsd-11-stable/contrib/unbound/sldns/
H A Dsbuffer.h38 return ntohs(*(const uint16_t *) src);
/freebsd-11-stable/sbin/pfctl/
H A Dpfctl_parser.c325 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 Drshd.c213 srcport = ntohs(*((in_port_t *)&fromp->sa_data));
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_er.c256 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 Dutil.c1861 "%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 Dval_nsec.c153 log_assert(ntohs(nsec->rk.type) == LDNS_RR_TYPE_NSEC);
/freebsd-11-stable/contrib/ipfilter/
H A Dbpf_filter.c93 #define EXTRACT_SHORT(p) ((u_short)ntohs(*(u_short *)p))
/freebsd-11-stable/sys/netgraph/
H A Dng_vlan_rotate.c415 switch (ntohs(evsh->vlan_stack[vlans].proto)) {
/freebsd-11-stable/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c173 port = ntohs(sin->sin_port);
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dfil.c829 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...]

Completed in 607 milliseconds

<<11121314151617181920>>