/freebsd-11-stable/contrib/ldns/ |
H A D | rr_functions.c | 301 exp = ntohs(int16);
|
/freebsd-11-stable/contrib/smbfs/include/netsmb/ |
H A D | smb_lib.h | 74 #define getwbe(buf,ofs) (ntohs(getwle(buf,ofs)))
|
/freebsd-11-stable/crypto/heimdal/appl/kf/ |
H A D | kf.c | 296 snprintf (portstr, sizeof(portstr), "%u", ntohs(port));
|
/freebsd-11-stable/lib/libc/resolv/ |
H A D | res_mkquery.c | 253 hp->arcount = htons(ntohs(hp->arcount) + 1);
|
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_priv.c | 240 ntohs(rrset->rrset_class))) {
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_bcopy.c | 52 ntohs(h->bufs), ntohl(h->len), ntohl(h->mseq),
|
/freebsd-11-stable/tools/regression/netinet/tcpdrop/ |
H A D | tcpdrop.c | 240 printf("Using port %d\n", ntohs(port));
|
/freebsd-11-stable/usr.sbin/nfscbd/ |
H A D | nfscbd.c | 237 nfscbdargs.port = ntohs(inetaddr.sin_port);
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | rpc_fwd.c | 304 ntohs(fwdto->sin_port));
|
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_udp.c | 141 oid->index.subs[4] = ntohs(inp->xi_inp.inp_lport);
|
/freebsd-11-stable/contrib/ofed/libibmad/ |
H A D | serv.c | 108 rport.lid = ntohs(mad_addr->lid);
|
/freebsd-11-stable/sys/netinet6/ |
H A D | ip6_fastfwd.c | 115 plen = ntohs(ip6->ip6_plen);
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | ixgbe_osdep.h | 135 #define IXGBE_NTOHS(_i) ntohs(_i)
|
/freebsd-11-stable/usr.sbin/rarpd/ |
H A D | rarpd.c | 489 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 D | i40e_osdep.h | 107 #define I40E_NTOHS(a) ntohs(a)
|
/freebsd-11-stable/sys/dev/qlxgbe/ |
H A D | ql_isr.c | 144 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 D | mlx5_ib_main.c | 1723 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 D | ng_nat.c | 794 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 D | ip_input.c | 466 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 D | tcp_subr.c | 1997 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 D | daemon.c | 984 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 D | ancontrol.c | 417 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 D | sfxge_rx.c | 513 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 D | ping.c | 1170 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 D | val_nsec3.c | 182 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)
|