Searched refs:ntohs (Results 251 - 275 of 577) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/ldns/
H A Drr_functions.c301 exp = ntohs(int16);
/freebsd-11-stable/contrib/smbfs/include/netsmb/
H A Dsmb_lib.h74 #define getwbe(buf,ofs) (ntohs(getwle(buf,ofs)))
/freebsd-11-stable/crypto/heimdal/appl/kf/
H A Dkf.c296 snprintf (portstr, sizeof(portstr), "%u", ntohs(port));
/freebsd-11-stable/lib/libc/resolv/
H A Dres_mkquery.c253 hp->arcount = htons(ntohs(hp->arcount) + 1);
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_priv.c240 ntohs(rrset->rrset_class))) {
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_bcopy.c52 ntohs(h->bufs), ntohl(h->len), ntohl(h->mseq),
/freebsd-11-stable/tools/regression/netinet/tcpdrop/
H A Dtcpdrop.c240 printf("Using port %d\n", ntohs(port));
/freebsd-11-stable/usr.sbin/nfscbd/
H A Dnfscbd.c237 nfscbdargs.port = ntohs(inetaddr.sin_port);
/freebsd-11-stable/contrib/amd/amd/
H A Drpc_fwd.c304 ntohs(fwdto->sin_port));
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_udp.c141 oid->index.subs[4] = ntohs(inp->xi_inp.inp_lport);
/freebsd-11-stable/contrib/ofed/libibmad/
H A Dserv.c108 rport.lid = ntohs(mad_addr->lid);
/freebsd-11-stable/sys/netinet6/
H A Dip6_fastfwd.c115 plen = ntohs(ip6->ip6_plen);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_osdep.h135 #define IXGBE_NTOHS(_i) ntohs(_i)
/freebsd-11-stable/usr.sbin/rarpd/
H A Drarpd.c489 if (ntohs(ep->ether_type) != ETHERTYPE_REVARP ||
490 ntohs(ap->arp_hrd) != ARPHRD_ETHER ||
491 ntohs(ap->arp_op) != REVARP_REQUEST ||
492 ntohs(ap->arp_pro) != ETHERTYPE_IP ||
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_osdep.h107 #define I40E_NTOHS(a) ntohs(a)
/freebsd-11-stable/sys/dev/qlxgbe/
H A Dql_isr.c144 mpf->m_pkthdr.ether_vtag = ntohs(eh->evl_tag);
310 mpf->m_pkthdr.ether_vtag = ntohs(eh->evl_tag);
319 etype = ntohs(eh->evl_proto);
321 etype = ntohs(eh->evl_encap_proto);
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1723 first_vid, ntohs(ib_spec->eth.mask.vlan_tag));
1725 first_vid, ntohs(ib_spec->eth.val.vlan_tag));
1729 ntohs(ib_spec->eth.mask.vlan_tag) >> 12);
1732 ntohs(ib_spec->eth.val.vlan_tag) >> 12);
1736 ntohs(ib_spec->eth.mask.vlan_tag) >> 13);
1739 ntohs(ib_spec->eth.val.vlan_tag) >> 13);
1742 ethertype, ntohs(ib_spec->eth.mask.ether_type));
1744 ethertype, ntohs(ib_spec->eth.val.ether_type));
1830 ntohs(ib_spec->tcp_udp.mask.src_port));
1832 ntohs(ib_spe
[all...]
/freebsd-11-stable/sys/netgraph/
H A Dng_nat.c794 switch (ntohs(eh->ether_type)) {
815 if (m->m_pkthdr.len < ipofs + ntohs(ip->ip_len))
849 m->m_pkthdr.len = m->m_len = ntohs(ip->ip_len) + ipofs;
879 uint16_t ip_len = ntohs(ip->ip_len);
/freebsd-11-stable/sys/netinet/
H A Dip_input.c466 ip_len = ntohs(ip->ip_len);
532 ip_len = ntohs(ip->ip_len);
1019 mcopy->m_len = min(ntohs(ip->ip_len), M_TRAILINGSPACE(mcopy));
1132 mtu = ip_next_mtu(ntohs(ip->ip_len), 0);
H A Dtcp_subr.c1997 mtu = ntohs(icp->icmp_nextmtu);
2005 ntohs(ip->ip_len), 1);
2717 sprintf(sp, "]:%i to [", ntohs(inc->inc_fport));
2721 sprintf(sp, "]:%i", ntohs(inc->inc_lport));
2726 sprintf(sp, "]:%i to [", ntohs(inc->inc_fport));
2730 sprintf(sp, "]:%i", ntohs(inc->inc_lport));
2734 sprintf(sp, "]:%i to [", ntohs(th->th_sport));
2738 sprintf(sp, "]:%i", ntohs(th->th_dport));
2744 sprintf(sp, "]:%i to [", ntohs(th->th_sport));
2748 sprintf(sp, "]:%i", ntohs(t
[all...]
/freebsd-11-stable/contrib/libpcap/rpcapd/
H A Ddaemon.c984 switch (ntohs(auth.type))
1010 usernamelen = ntohs(auth.slen1);
1031 passwdlen = ntohs(auth.slen2);
1668 startcapreq.flags = ntohs(startcapreq.flags);
1740 pcap_snprintf(portdata, sizeof portdata, "%d", ntohs(startcapreq.portdata));
1995 if (ntohs(filter.filtertype) != RPCAP_UPDATEFILTER_BPF)
2031 bf_insn->code = ntohs(insn.code);
/freebsd-11-stable/usr.sbin/ancontrol/
H A Dancontrol.c417 tmp = ntohs(caps->an_hwrev);
420 tmp = ntohs(caps->an_fwrev);
423 tmp = ntohs(caps->an_fwsubrev);
426 tmp = ntohs(caps->an_ifacerev);
429 tmp = ntohs(caps->an_bootblockrev);
/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_rx.c513 iph->ip_len = ntohs(iph->ip_len);
516 iph->ip6_plen = ntohs(iph->ip6_plen);
537 pkt_length = ntohs(iph->ip_len) + (char *) iph - eh;
541 pkt_length = ntohs(iph->ip6_plen) + (char *) th - eh;
691 l2_id = EVL_VLANOFTAG(ntohs(veh->evl_tag)) |
/freebsd-11-stable/sbin/ping/
H A Dping.c1170 seq = ntohs(icp->icmp_seq);
1545 ntohs(icp->icmp_nextmtu));
1679 ip->ip_v, ip->ip_hl, ip->ip_tos, ntohs(ip->ip_len),
1680 ntohs(ip->ip_id));
1685 ntohs(ip->ip_sum));
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_nsec3.c182 i = ntohs(i);
337 if(ntohs(filter->list[i]->rk.type) != LDNS_RR_TYPE_NSEC3 ||
338 ntohs(filter->list[i]->rk.rrset_class) !=
419 if(ntohs(list[i]->rk.type) != LDNS_RR_TYPE_NSEC3 ||
420 ntohs(list[i]->rk.rrset_class) != qinfo->qclass)

Completed in 296 milliseconds

<<11121314151617181920>>