ntohs             141 fs/afs/dir.c   	if (page->index == 0 && qty != ntohs(dbuf->blocks[0].pagehdr.npages)) {
ntohs             144 fs/afs/dir.c   		       ntohs(dbuf->blocks[0].pagehdr.npages));
ntohs             163 fs/afs/dir.c   			       ntohs(dbuf->blocks[tmp].pagehdr.magic));
ntohs             316 fs/afs/rxrpc.c 	_enter("%x,{%d},", addr->s_addr, ntohs(call->port));
ntohs             592 fs/ncpfs/sock.c 				type = ntohs(server->rcv.buf.type);
ntohs             633 fs/ncpfs/sock.c 				type = ntohs(server->rcv.buf.type2);
ntohs             322 fs/ocfs2/cluster/netdebug.c 			   NIPQUAD(saddr), inet ? ntohs(sport) : 0,
ntohs             323 fs/ocfs2/cluster/netdebug.c 			   NIPQUAD(daddr), inet ? ntohs(dport) : 0,
ntohs             228 fs/ocfs2/cluster/nodemanager.c 	return sprintf(page, "%u\n", ntohs(node->nd_ipv4_port));
ntohs              78 fs/ocfs2/cluster/tcp.c 			  ntohs(sc->sc_node->nd_ipv4_port)
ntohs            1795 fs/ocfs2/cluster/tcp.c 		     ntohs(sin.sin_port));
ntohs            1804 fs/ocfs2/cluster/tcp.c 		     ntohs(sin.sin_port), node->nd_num);
ntohs            1815 fs/ocfs2/cluster/tcp.c 		     ntohs(sin.sin_port));
ntohs            1832 fs/ocfs2/cluster/tcp.c 		     ntohs(sin.sin_port));
ntohs            1928 fs/ocfs2/cluster/tcp.c 		     "ret=%d\n", NIPQUAD(addr), ntohs(port), ret);
ntohs            1935 fs/ocfs2/cluster/tcp.c 		     NIPQUAD(addr), ntohs(port), ret);
ntohs              48 include/asm-mn10300/checksum.h 	tmp = (__wsum) ntohs(len) << 16;
ntohs             307 include/linux/dccp.h 	__u64 seq_nr =  ntohs(dh->dccph_seq);
ntohs             332 include/linux/dccp.h 	return ((u64)ntohs(dhack->dccph_ack_nr_high) << 32) + ntohl(dhack->dccph_ack_nr_low);
ntohs             247 include/linux/if_vlan.h 	*vlan_tci = ntohs(veth->h_vlan_TCI);
ntohs             327 include/linux/kernel.h 	ntohs((addr).s6_addr16[0]), \
ntohs             328 include/linux/kernel.h 	ntohs((addr).s6_addr16[1]), \
ntohs             329 include/linux/kernel.h 	ntohs((addr).s6_addr16[2]), \
ntohs             330 include/linux/kernel.h 	ntohs((addr).s6_addr16[3]), \
ntohs             331 include/linux/kernel.h 	ntohs((addr).s6_addr16[4]), \
ntohs             332 include/linux/kernel.h 	ntohs((addr).s6_addr16[5]), \
ntohs             333 include/linux/kernel.h 	ntohs((addr).s6_addr16[6]), \
ntohs             334 include/linux/kernel.h 	ntohs((addr).s6_addr16[7])
ntohs             284 include/linux/lockd/lockd.h 			(ntohs(sin->sin_port) < 1024);
ntohs             292 include/linux/lockd/lockd.h 			(ntohs(sin6->sin6_port) < 1024);
ntohs             107 include/linux/sunrpc/svc_xprt.h 		ret = ntohs(((struct sockaddr_in *)sa)->sin_port);
ntohs             110 include/linux/sunrpc/svc_xprt.h 		ret = ntohs(((struct sockaddr_in6 *)sa)->sin6_port);
ntohs             144 include/linux/sunrpc/svc_xprt.h 			ntohs(((struct sockaddr_in *) addr)->sin_port));
ntohs             150 include/linux/sunrpc/svc_xprt.h 			ntohs(((struct sockaddr_in6 *) addr)->sin6_port));
ntohs             296 include/linux/tipc_config.h 		(ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space);
ntohs             302 include/linux/tipc_config.h 		(ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type);
ntohs             353 include/linux/tipc_config.h 	__u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len));
ntohs              23 include/net/dsfield.h 	return ntohs(*(const __be16 *)ipv6h) >> 4;
ntohs              30 include/net/dsfield.h         __u32 check = ntohs((__force __be16)iph->check);
ntohs              48 include/net/dsfield.h 	tmp = ntohs(*(__be16 *) ipv6h);
ntohs             105 include/net/inet6_hashtables.h 				   &ipv6_hdr(skb)->daddr, ntohs(dport),
ntohs             267 include/net/inet_hashtables.h 	return __inet_lookup_listener(net, hashinfo, daddr, ntohs(dport), dif);
ntohs             345 include/net/inet_hashtables.h 					 ntohs(dport), dif);
ntohs             354 include/net/inet_hashtables.h 	u16 hnum = ntohs(dport);
ntohs             662 include/net/ip_vs.h 			      ntohs(cp->cport),
ntohs             664 include/net/ip_vs.h 			      ntohs(cp->vport));
ntohs             672 include/net/ip_vs.h 		      ntohs(cp->cport),
ntohs             674 include/net/ip_vs.h 		      ntohs(ctl_cp->cport));
ntohs             681 include/net/ip_vs.h 			      ntohs(cp->cport),
ntohs             683 include/net/ip_vs.h 			      ntohs(cp->vport));
ntohs             697 include/net/ip_vs.h 			      ntohs(cp->cport),
ntohs             699 include/net/ip_vs.h 			      ntohs(cp->vport));
ntohs             707 include/net/ip_vs.h 		      ntohs(cp->cport),
ntohs             709 include/net/ip_vs.h 		      ntohs(ctl_cp->cport));
ntohs             351 include/net/llc_pdu.h 		dsize = ntohs(eth_hdr(ev_skb)->h_proto) - 3;
ntohs             117 include/net/netfilter/nf_conntrack_tuple.h 	       NIPQUAD(t->src.u3.ip), ntohs(t->src.u.all),
ntohs             118 include/net/netfilter/nf_conntrack_tuple.h 	       NIPQUAD(t->dst.u3.ip), ntohs(t->dst.u.all));
ntohs             127 include/net/netfilter/nf_conntrack_tuple.h 	       NIP6(*(struct in6_addr *)t->src.u3.all), ntohs(t->src.u.all),
ntohs             128 include/net/netfilter/nf_conntrack_tuple.h 	       NIP6(*(struct in6_addr *)t->dst.u3.all), ntohs(t->dst.u.all));
ntohs             520 include/net/sctp/sctp.h _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length), member)
ntohs             525 include/net/sctp/sctp.h      pos.v <= (void *)chunk + end - ntohs(pos.p->length) &&\
ntohs             526 include/net/sctp/sctp.h      ntohs(pos.p->length) >= sizeof(sctp_paramhdr_t);\
ntohs             527 include/net/sctp/sctp.h      pos.v += WORD_ROUND(ntohs(pos.p->length)))
ntohs             530 include/net/sctp/sctp.h _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length))
ntohs             536 include/net/sctp/sctp.h      (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\
ntohs             537 include/net/sctp/sctp.h      ntohs(err->length) >= sizeof(sctp_errhdr_t); \
ntohs             538 include/net/sctp/sctp.h      err = (sctp_errhdr_t *)((void *)err + WORD_ROUND(ntohs(err->length))))
ntohs             541 include/net/sctp/sctp.h _sctp_walk_fwdtsn((pos), (chunk), ntohs((chunk)->chunk_hdr->length) - sizeof(struct sctp_fwdtsn_chunk))
ntohs             304 include/net/sctp/sm.h 	size = ntohs(chunk->chunk_hdr->length);
ntohs              47 include/net/udplite.h 	cscov = ntohs(uh->len);
ntohs              88 net/802/fc.c   		printk("fc_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(fcllc->ethertype));
ntohs             110 net/802/fddi.c 		       skb->dev->name, ntohs(fddi->hdr.llc_snap.ethertype));
ntohs             109 net/802/hippi.c 		printk(KERN_DEBUG "%s: unable to resolve type %X addresses.\n",skb->dev->name,ntohs(hip->snap.ethertype));
ntohs             169 net/802/tr.c   		printk("tr_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(trllc->ethertype));
ntohs             203 net/802/tr.c   		riflen = (ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8;
ntohs             293 net/802/tr.c   			if(!entry->local_ring && (ntohs(entry->rcf) & TR_RCF_LEN_MASK) >> 8)
ntohs             331 net/802/tr.c   		slack = 18 - ((ntohs(trh->rcf) & TR_RCF_LEN_MASK)>>8);
ntohs             361 net/802/tr.c   		if (((ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8) > 2)
ntohs             375 net/802/tr.c   		       print_mac(mac, trh->saddr), ntohs(trh->rcf));
ntohs             423 net/802/tr.c   		print_mac(mac, trh->saddr), ntohs(trh->rcf));
ntohs             554 net/802/tr.c   				seq_printf(seq, "%04X", ntohs(entry->rcf));
ntohs             555 net/802/tr.c   				rcf_len = ((ntohs(entry->rcf) & TR_RCF_LEN_MASK)>>8)-2;
ntohs             560 net/802/tr.c   						segment=ntohs(entry->rseg[j-1])>>4;
ntohs             564 net/802/tr.c   					segment=ntohs(entry->rseg[j])>>4;
ntohs             565 net/802/tr.c   					brdgnmb=ntohs(entry->rseg[j-1])&0x00f;
ntohs              58 net/8021q/vlan_dev.c 			 dev->name, ntohs(veth->h_vlan_encapsulated_proto));
ntohs              95 net/8021q/vlan_dev.c 	if (ntohs(proto) >= 1536) {
ntohs             155 net/8021q/vlan_dev.c 	vlan_tci = ntohs(vhdr->h_vlan_TCI);
ntohs             448 net/appletalk/aarp.c 	sa->sat_addr.s_net = ntohs(iface->address.s_net);
ntohs             730 net/appletalk/aarp.c 	function = ntohs(ea->function);
ntohs            1006 net/appletalk/aarp.c 			   ntohs(entry->target_addr.s_net),
ntohs              73 net/appletalk/atalk_proc.c 		   iface->dev->name, ntohs(iface->address.s_net),
ntohs              74 net/appletalk/atalk_proc.c 		   iface->address.s_node, ntohs(iface->nets.nr_firstnet),
ntohs              75 net/appletalk/atalk_proc.c 		   ntohs(iface->nets.nr_lastnet), iface->status);
ntohs             134 net/appletalk/atalk_proc.c 			       ntohs(rt->gateway.s_net), rt->gateway.s_node,
ntohs             140 net/appletalk/atalk_proc.c 		   ntohs(rt->target.s_net), rt->target.s_node,
ntohs             141 net/appletalk/atalk_proc.c 		   ntohs(rt->gateway.s_net), rt->gateway.s_node,
ntohs             205 net/appletalk/atalk_proc.c 		   s->sk_type, ntohs(at->src_net), at->src_node, at->src_port,
ntohs             206 net/appletalk/atalk_proc.c 		   ntohs(at->dest_net), at->dest_node, at->dest_port,
ntohs             252 net/appletalk/ddp.c 	int netrange = ntohs(atif->nets.nr_lastnet) -
ntohs             253 net/appletalk/ddp.c 			ntohs(atif->nets.nr_firstnet) + 1;
ntohs             254 net/appletalk/ddp.c 	int probe_net = ntohs(atif->address.s_net);
ntohs             260 net/appletalk/ddp.c 		probe_net = ntohs(atif->nets.nr_firstnet);
ntohs             287 net/appletalk/ddp.c 		if (probe_net > ntohs(atif->nets.nr_lastnet))
ntohs             288 net/appletalk/ddp.c 			probe_net = ntohs(atif->nets.nr_firstnet);
ntohs             300 net/appletalk/ddp.c 	int netrange = ntohs(atif->nets.nr_lastnet) -
ntohs             301 net/appletalk/ddp.c 			ntohs(atif->nets.nr_firstnet) + 1;
ntohs             303 net/appletalk/ddp.c 	int probe_net = ntohs(atif->address.s_net);
ntohs             309 net/appletalk/ddp.c 		probe_net = ntohs(atif->nets.nr_firstnet);
ntohs             334 net/appletalk/ddp.c 		if (probe_net > ntohs(atif->nets.nr_lastnet))
ntohs             335 net/appletalk/ddp.c 			probe_net = ntohs(atif->nets.nr_firstnet);
ntohs             417 net/appletalk/ddp.c 		    ntohs(iface->nets.nr_firstnet) <= ntohs(net) &&
ntohs             418 net/appletalk/ddp.c 		    ntohs(net) <= ntohs(iface->nets.nr_lastnet))
ntohs             541 net/appletalk/ddp.c 			    ntohs(ga->sat_addr.s_net) >=
ntohs             542 net/appletalk/ddp.c 					ntohs(iface->nets.nr_firstnet) &&
ntohs             543 net/appletalk/ddp.c 			    ntohs(ga->sat_addr.s_net) <=
ntohs             544 net/appletalk/ddp.c 					ntohs(iface->nets.nr_lastnet))
ntohs             771 net/appletalk/ddp.c 				limit = ntohs(nr->nr_lastnet);
ntohs             772 net/appletalk/ddp.c 				if (limit - ntohs(nr->nr_firstnet) > 4096) {
ntohs             778 net/appletalk/ddp.c 					for (ct = ntohs(nr->nr_firstnet);
ntohs            1421 net/appletalk/ddp.c 	len_hops = ntohs(ddp->deh_len_hops);
ntohs            1723 net/appletalk/ddp.c 	copied = ntohs(ddp->deh_len_hops) & 1023;
ntohs             174 net/atm/br2684.c 			unsigned short prot = ntohs(skb->protocol);
ntohs             428 net/atm/br2684.c 	pr_debug("received packet's protocol: %x\n", ntohs(skb->protocol));
ntohs             186 net/atm/lec.c  		riflen = (ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8;
ntohs             187 net/atm/lec.c  		if ((ntohs(trh->rcf) >> 13) != 0)
ntohs             203 net/atm/lec.c  		rdesc[5] = ((ntohs(trh->rseg[0]) & 0x000f) | (rdesc[5] & 0xf0));
ntohs             342 net/bluetooth/bnep/core.c 	if (ntohs(s->eh.h_proto) == 0x8100) {
ntohs             157 net/bluetooth/bnep/netdev.c 	u16 proto = ntohs(eh->h_proto);
ntohs             505 net/bridge/br_netfilter.c 	pkt_len = ntohs(hdr->payload_len);
ntohs             582 net/bridge/br_netfilter.c 	len = ntohs(iph->tot_len);
ntohs              56 net/bridge/netfilter/ebt_ip.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs              63 net/bridge/netfilter/ebt_ip.c 			u32 dst = ntohs(pptr->dst);
ntohs              70 net/bridge/netfilter/ebt_ip.c 			u32 src = ntohs(pptr->src);
ntohs              77 net/bridge/netfilter/ebt_ip6.c 			u32 dst = ntohs(pptr->dst);
ntohs              83 net/bridge/netfilter/ebt_ip6.c 			u32 src = ntohs(pptr->src);
ntohs              78 net/bridge/netfilter/ebt_log.c 		printk(" SPT=%u DPT=%u", ntohs(pptr->src), ntohs(pptr->dst));
ntohs              99 net/bridge/netfilter/ebt_log.c 	printk("proto = 0x%04x", ntohs(eth_hdr(skb)->h_proto));
ntohs             161 net/bridge/netfilter/ebt_log.c 		       ntohs(ah->ar_hrd), ntohs(ah->ar_pro),
ntohs             162 net/bridge/netfilter/ebt_log.c 		       ntohs(ah->ar_op));
ntohs              67 net/bridge/netfilter/ebt_vlan.c 	TCI = ntohs(fp->h_vlan_TCI);
ntohs              96 net/bridge/netfilter/ebt_vlan.c 		     (unsigned short) ntohs(e->ethproto));
ntohs             149 net/bridge/netfilter/ebt_vlan.c 		if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) {
ntohs             152 net/bridge/netfilter/ebt_vlan.c 			     ntohs(info->encap));
ntohs             109 net/bridge/netfilter/ebtables.c 		if (FWINV2(ntohs(h->h_proto) >= 1536, EBT_IPROTO))
ntohs             390 net/core/dev.c 		hash = ntohs(pt->type) & PTYPE_HASH_MASK;
ntohs             419 net/core/dev.c 		head = &ptype_base[ntohs(pt->type) & PTYPE_HASH_MASK];
ntohs            1544 net/core/dev.c 			&ptype_base[ntohs(type) & PTYPE_HASH_MASK], list) {
ntohs            2286 net/core/dev.c 			&ptype_base[ntohs(type) & PTYPE_HASH_MASK], list) {
ntohs            2780 net/core/dev.c 		hash = ntohs(pt->type) & PTYPE_HASH_MASK;
ntohs            2832 net/core/dev.c 			seq_printf(seq, "%04x", ntohs(pt->type));
ntohs             298 net/core/filter.c 			A = ntohs(skb->protocol);
ntohs            1176 net/core/neighbour.c 	if (dev_hard_header(skb, dev, ntohs(skb->protocol), NULL, NULL,
ntohs            1205 net/core/neighbour.c 			err = dev_hard_header(skb, dev, ntohs(skb->protocol),
ntohs            1210 net/core/neighbour.c 			err = dev_hard_header(skb, dev, ntohs(skb->protocol),
ntohs            1243 net/core/neighbour.c 	err = dev_hard_header(skb, dev, ntohs(skb->protocol),
ntohs             491 net/core/netpoll.c 	proto = ntohs(eth_hdr(skb)->h_proto);
ntohs             509 net/core/netpoll.c 	len = ntohs(iph->tot_len);
ntohs             525 net/core/netpoll.c 	ulen = ntohs(uh->len);
ntohs             535 net/core/netpoll.c 	if (np->local_port && np->local_port != ntohs(uh->dest))
ntohs             538 net/core/netpoll.c 	np->rx_hook(np, ntohs(uh->source),
ntohs             799 net/dccp/ipv4.c 		      NIPQUAD(iph->saddr), ntohs(dh->dccph_sport),
ntohs             800 net/dccp/ipv4.c 		      NIPQUAD(iph->daddr), ntohs(dh->dccph_dport),
ntohs             382 net/dccp/ipv6.c 					 &iph->daddr, ntohs(dh->dccph_dport),
ntohs             222 net/dccp/options.c 				elapsed_time = ntohs(opt_val2);
ntohs             240 net/dccp/options.c 				elapsed_time = ntohs(opt_val2);
ntohs              86 net/dccp/probe.c 	if (port == 0 || ntohs(inet->dport) == port ||
ntohs              87 net/dccp/probe.c 	    ntohs(inet->sport) == port) {
ntohs              91 net/dccp/probe.c 			       NIPQUAD(inet->saddr), ntohs(inet->sport),
ntohs              92 net/dccp/probe.c 			       NIPQUAD(inet->daddr), ntohs(inet->dport), size,
ntohs              99 net/dccp/probe.c 			       NIPQUAD(inet->saddr), ntohs(inet->sport),
ntohs             100 net/dccp/probe.c 			       NIPQUAD(inet->daddr), ntohs(inet->dport), size);
ntohs             214 net/decnet/dn_neigh.c 	if (dev_hard_header(skb, dev, ntohs(skb->protocol), neigh->ha,
ntohs             359 net/econet/af_econet.c 		res = dev_hard_header(skb, dev, ntohs(proto), &addr, NULL, len);
ntohs             199 net/ethernet/eth.c 	if (ntohs(eth->h_proto) >= 1536)
ntohs             479 net/ipv4/af_inet.c 	snum = ntohs(addr->sin_port);
ntohs            1221 net/ipv4/af_inet.c 	id = ntohs(iph->id);
ntohs             692 net/ipv4/icmp.c 							 ntohs(icmph->un.frag.mtu),
ntohs             381 net/ipv4/igmp.c 	pih->ngrec = htons(ntohs(pih->ngrec)+1);
ntohs             865 net/ipv4/igmp.c 					   + ntohs(ih3->nsrcs)*sizeof(__be32)))
ntohs             910 net/ipv4/igmp.c 			igmp_marksources(im, ntohs(ih3->nsrcs), ih3->srcs);
ntohs             521 net/ipv4/inet_connection_sock.c 		inet_sk(newsk)->num = ntohs(inet_rsk(req)->loc_port);
ntohs             515 net/ipv4/inet_diag.c 		entry.dport = ntohs(inet->dport);
ntohs             551 net/ipv4/inet_diag.c 		entry.dport = ntohs(tw->tw_dport);
ntohs             676 net/ipv4/inet_diag.c 				entry.dport = ntohs(ireq->rmt_port);
ntohs              40 net/ipv4/inet_lro.c 	(ntohs(iph->tot_len) - IP_HDR_LEN(iph) - TCP_HDR_LEN(tcph))
ntohs              58 net/ipv4/inet_lro.c 	if (ntohs(iph->tot_len) != len)
ntohs             166 net/ipv4/inet_lro.c 	lro_desc->ip_tot_len = ntohs(iph->tot_len);
ntohs             317 net/ipv4/ip_fragment.c 	offset = ntohs(ip_hdr(skb)->frag_off);
ntohs             721 net/ipv4/ip_gre.c 		    mtu < ntohs(old_iph->tot_len)) {
ntohs             415 net/ipv4/ip_input.c 	len = ntohs(iph->tot_len);
ntohs             584 net/ipv4/ip_output.c 	offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3;
ntohs              37 net/ipv4/ipcomp.c 	spi = htonl(ntohs(ipch->cpi));
ntohs             450 net/ipv4/ipconfig.c 	if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd))
ntohs             770 net/ipv4/ipconfig.c 	if (dev_hard_header(skb, dev, ntohs(skb->protocol),
ntohs             884 net/ipv4/ipconfig.c 	if (skb->len < ntohs(h->tot_len))
ntohs             893 net/ipv4/ipconfig.c 	if (ntohs(h->tot_len) < ntohs(b->udph.len) + sizeof(struct iphdr))
ntohs             896 net/ipv4/ipconfig.c 	len = ntohs(b->udph.len) - sizeof(struct udphdr);
ntohs             938 net/ipv4/ipconfig.c 		u8 *end = (u8 *) b + ntohs(b->iph.tot_len);
ntohs             461 net/ipv4/ipip.c 	if ((old_iph->frag_off&htons(IP_DF)) && mtu < ntohs(old_iph->tot_len)) {
ntohs             618 net/ipv4/ipmr.c 		ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(pkt)->tot_len) +
ntohs            1238 net/ipv4/ipmr.c 	if (skb->len+encap > dst_mtu(&rt->u.dst) && (ntohs(iph->frag_off) & IP_DF)) {
ntohs            1503 net/ipv4/ipmr.c 	    ntohs(encap->tot_len) + sizeof(*pim) > skb->len)
ntohs            1559 net/ipv4/ipmr.c 	    ntohs(encap->tot_len) + sizeof(*pim) > skb->len)
ntohs             346 net/ipv4/netfilter/ip_tables.c 	mtpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET;
ntohs             373 net/ipv4/netfilter/ip_tables.c 			ADD_COUNTER(e->counters, ntohs(ip->tot_len), 1);
ntohs              62 net/ipv4/netfilter/ipt_LOG.c 	       ntohs(ih->tot_len), ih->tos & IPTOS_TOS_MASK,
ntohs              63 net/ipv4/netfilter/ipt_LOG.c 	       ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id));
ntohs              66 net/ipv4/netfilter/ipt_LOG.c 	if (ntohs(ih->frag_off) & IP_CE)
ntohs              68 net/ipv4/netfilter/ipt_LOG.c 	if (ntohs(ih->frag_off) & IP_DF)
ntohs              70 net/ipv4/netfilter/ipt_LOG.c 	if (ntohs(ih->frag_off) & IP_MF)
ntohs              74 net/ipv4/netfilter/ipt_LOG.c 	if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs              75 net/ipv4/netfilter/ipt_LOG.c 		printk("FRAG:%u ", ntohs(ih->frag_off) & IP_OFFSET);
ntohs             106 net/ipv4/netfilter/ipt_LOG.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs             120 net/ipv4/netfilter/ipt_LOG.c 		       ntohs(th->source), ntohs(th->dest));
ntohs             126 net/ipv4/netfilter/ipt_LOG.c 		printk("WINDOW=%u ", ntohs(th->window));
ntohs             147 net/ipv4/netfilter/ipt_LOG.c 		printk("URGP=%u ", ntohs(th->urg_ptr));
ntohs             183 net/ipv4/netfilter/ipt_LOG.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs             197 net/ipv4/netfilter/ipt_LOG.c 		       ntohs(uh->source), ntohs(uh->dest),
ntohs             198 net/ipv4/netfilter/ipt_LOG.c 		       ntohs(uh->len));
ntohs             225 net/ipv4/netfilter/ipt_LOG.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs             254 net/ipv4/netfilter/ipt_LOG.c 			       ntohs(ich->un.echo.id),
ntohs             255 net/ipv4/netfilter/ipt_LOG.c 			       ntohs(ich->un.echo.sequence));
ntohs             282 net/ipv4/netfilter/ipt_LOG.c 				printk("MTU=%u ", ntohs(ich->un.frag.mtu));
ntohs             291 net/ipv4/netfilter/ipt_LOG.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs             317 net/ipv4/netfilter/ipt_LOG.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs             288 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c 			 NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port));
ntohs             296 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c 		 NIPQUAD(tuple.src.u3.ip), ntohs(tuple.src.u.tcp.port),
ntohs             297 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c 		 NIPQUAD(tuple.dst.u3.ip), ntohs(tuple.dst.u.tcp.port));
ntohs              74 net/ipv4/netfilter/nf_conntrack_proto_icmp.c 			  ntohs(tuple->src.u.icmp.id));
ntohs              46 net/ipv4/netfilter/nf_nat_amanda.c 	for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) {
ntohs             126 net/ipv4/netfilter/nf_nat_ftp.c 	for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) {
ntohs             167 net/ipv4/netfilter/nf_nat_h323.c 				 NIPQUAD(addr.ip), ntohs(port),
ntohs             169 net/ipv4/netfilter/nf_nat_h323.c 				 ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port));
ntohs             211 net/ipv4/netfilter/nf_nat_h323.c 			    htons(ntohs(info->rtp_port[i][dir]) + 1);
ntohs             227 net/ipv4/netfilter/nf_nat_h323.c 	for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port);
ntohs             262 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(rtp_exp->tuple.src.u.udp.port),
ntohs             264 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(rtp_exp->tuple.dst.u.udp.port));
ntohs             267 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(rtcp_exp->tuple.src.u.udp.port),
ntohs             269 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(rtcp_exp->tuple.dst.u.udp.port));
ntohs             282 net/ipv4/netfilter/nf_nat_h323.c 	u_int16_t nated_port = ntohs(port);
ntohs             312 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.src.u.tcp.port),
ntohs             314 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.dst.u.tcp.port));
ntohs             328 net/ipv4/netfilter/nf_nat_h323.c 	u_int16_t nated_port = ntohs(port);
ntohs             337 net/ipv4/netfilter/nf_nat_h323.c 		nated_port = ntohs(info->sig_port[!dir]);
ntohs             366 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.src.u.tcp.port),
ntohs             368 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.dst.u.tcp.port));
ntohs             411 net/ipv4/netfilter/nf_nat_h323.c 	u_int16_t nated_port = ntohs(port);
ntohs             421 net/ipv4/netfilter/nf_nat_h323.c 		nated_port = ntohs(info->sig_port[!dir]);
ntohs             460 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.src.u.tcp.port),
ntohs             462 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.dst.u.tcp.port));
ntohs             506 net/ipv4/netfilter/nf_nat_h323.c 	for (nated_port = ntohs(port); nated_port != 0; nated_port++) {
ntohs             530 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.src.u.tcp.port),
ntohs             532 net/ipv4/netfilter/nf_nat_h323.c 		 ntohs(exp->tuple.dst.u.tcp.port));
ntohs              47 net/ipv4/netfilter/nf_nat_irc.c 	for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) {
ntohs             130 net/ipv4/netfilter/nf_nat_pptp.c 	switch (msg = ntohs(ctlh->messageType)) {
ntohs             174 net/ipv4/netfilter/nf_nat_pptp.c 		 ntohs(REQ_CID(pptpReq, cid_off)), ntohs(new_callid));
ntohs             229 net/ipv4/netfilter/nf_nat_pptp.c 	switch (msg = ntohs(ctlh->messageType)) {
ntohs             268 net/ipv4/netfilter/nf_nat_pptp.c 		 ntohs(REQ_CID(pptpReq, pcid_off)), ntohs(new_pcid));
ntohs              32 net/ipv4/netfilter/nf_nat_proto_common.c 	return ntohs(port) >= ntohs(min->all) &&
ntohs              33 net/ipv4/netfilter/nf_nat_proto_common.c 	       ntohs(port) <= ntohs(max->all);
ntohs              58 net/ipv4/netfilter/nf_nat_proto_common.c 		if (ntohs(*portptr) < 1024) {
ntohs              60 net/ipv4/netfilter/nf_nat_proto_common.c 			if (ntohs(*portptr) < 512) {
ntohs              72 net/ipv4/netfilter/nf_nat_proto_common.c 		min = ntohs(range->min.all);
ntohs              73 net/ipv4/netfilter/nf_nat_proto_common.c 		range_size = ntohs(range->max.all) - min + 1;
ntohs              65 net/ipv4/netfilter/nf_nat_proto_gre.c 		min = ntohs(range->min.gre.key);
ntohs              66 net/ipv4/netfilter/nf_nat_proto_gre.c 		range_size = ntohs(range->max.gre.key) - min + 1;
ntohs             110 net/ipv4/netfilter/nf_nat_proto_gre.c 		pr_debug("call_id -> 0x%04x\n", ntohs(tuple->dst.u.gre.key));
ntohs              26 net/ipv4/netfilter/nf_nat_proto_icmp.c 	return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) &&
ntohs              27 net/ipv4/netfilter/nf_nat_proto_icmp.c 	       ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id);
ntohs              40 net/ipv4/netfilter/nf_nat_proto_icmp.c 	range_size = ntohs(range->max.icmp.id) - ntohs(range->min.icmp.id) + 1;
ntohs              46 net/ipv4/netfilter/nf_nat_proto_icmp.c 		tuple->src.u.icmp.id = htons(ntohs(range->min.icmp.id) +
ntohs              78 net/ipv4/netfilter/nf_nat_sip.c 			 NIPQUAD(newaddr), ntohs(newport));
ntohs             184 net/ipv4/netfilter/nf_nat_sip.c 			buflen = sprintf(buffer, "%u", ntohs(p));
ntohs             261 net/ipv4/netfilter/nf_nat_sip.c 		port = ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port);
ntohs             263 net/ipv4/netfilter/nf_nat_sip.c 		port = ntohs(exp->tuple.dst.u.udp.port);
ntohs             445 net/ipv4/netfilter/nf_nat_sip.c 	for (port = ntohs(rtp_exp->tuple.dst.u.udp.port);
ntohs            1209 net/ipv4/netfilter/nf_nat_snmp_basic.c 	u_int16_t udplen = ntohs(udph->len);
ntohs            1267 net/ipv4/netfilter/nf_nat_snmp_basic.c 	if (ntohs(udph->len) != skb->len - (iph->ihl << 2)) {
ntohs            1482 net/ipv4/route.c 	unsigned short old_mtu = ntohs(iph->tot_len);
ntohs            2341 net/ipv4/tcp_input.c 		       NIPQUAD(inet->daddr), ntohs(inet->dport),
ntohs            2351 net/ipv4/tcp_input.c 		       NIP6(np->daddr), ntohs(inet->dport),
ntohs            3068 net/ipv4/tcp_input.c 	u32 nwin = ntohs(tcp_hdr(skb)->window);
ntohs            3588 net/ipv4/tcp_input.c 		!tcp_may_update_window(tp, ack, seq, ntohs(th->window) << tp->rx_opt.snd_wscale) &&
ntohs            4539 net/ipv4/tcp_input.c 	u32 ptr = ntohs(th->urg_ptr);
ntohs            5087 net/ipv4/tcp_input.c 		tp->snd_wnd = ntohs(th->window);
ntohs            5214 net/ipv4/tcp_input.c 		tp->snd_wnd    = ntohs(th->window);
ntohs            5347 net/ipv4/tcp_input.c 				tp->snd_wnd = ntohs(th->window) <<
ntohs             764 net/ipv4/tcp_ipv4.c 		       ntohs(tcp_hdr(skb)->dest));
ntohs            1144 net/ipv4/tcp_ipv4.c 			       NIPQUAD(iph->saddr), ntohs(th->source),
ntohs            1145 net/ipv4/tcp_ipv4.c 			       NIPQUAD(iph->daddr), ntohs(th->dest),
ntohs            1303 net/ipv4/tcp_ipv4.c 				       ntohs(tcp_hdr(skb)->source));
ntohs            2198 net/ipv4/tcp_ipv4.c 		ntohs(inet_sk(sk)->sport),
ntohs            2200 net/ipv4/tcp_ipv4.c 		ntohs(ireq->rmt_port),
ntohs            2223 net/ipv4/tcp_ipv4.c 	__u16 destp = ntohs(inet->dport);
ntohs            2224 net/ipv4/tcp_ipv4.c 	__u16 srcp = ntohs(inet->sport);
ntohs            2273 net/ipv4/tcp_ipv4.c 	destp = ntohs(tw->tw_dport);
ntohs            2274 net/ipv4/tcp_ipv4.c 	srcp  = ntohs(tw->tw_sport);
ntohs             462 net/ipv4/tcp_minisocks.c 		newtp->snd_wnd = (ntohs(tcp_hdr(skb)->window) <<
ntohs              97 net/ipv4/tcp_probe.c 	if ((port == 0 || ntohs(inet->dport) == port || ntohs(inet->sport) == port)
ntohs             160 net/ipv4/tcp_probe.c 			NIPQUAD(p->saddr), ntohs(p->sport),
ntohs             161 net/ipv4/tcp_probe.c 			NIPQUAD(p->daddr), ntohs(p->dport),
ntohs             303 net/ipv4/tcp_timer.c 			       NIPQUAD(inet->daddr), ntohs(inet->dport),
ntohs             310 net/ipv4/tcp_timer.c 			       NIP6(np->daddr), ntohs(inet->dport),
ntohs             220 net/ipv4/udp.c 	unsigned short hnum = ntohs(dport);
ntohs             294 net/ipv4/udp.c 	unsigned short hnum = ntohs(loc_port);
ntohs            1080 net/ipv4/udp.c 	sk = sk_head(&udptable[udp_hashfn(net, ntohs(uh->dest))]);
ntohs            1168 net/ipv4/udp.c 	ulen = ntohs(uh->len);
ntohs            1222 net/ipv4/udp.c 		       ntohs(uh->source),
ntohs            1226 net/ipv4/udp.c 		       ntohs(uh->dest));
ntohs            1237 net/ipv4/udp.c 		       ntohs(uh->source),
ntohs            1239 net/ipv4/udp.c 		       ntohs(uh->dest),
ntohs            1626 net/ipv4/udp.c 	__u16 destp	  = ntohs(inet->dport);
ntohs            1627 net/ipv4/udp.c 	__u16 srcp	  = ntohs(inet->sport);
ntohs             141 net/ipv4/xfrm4_input.c 	iph->tot_len = htons(ntohs(iph->tot_len) - len);
ntohs             174 net/ipv4/xfrm4_policy.c 				fl->fl_ipsec_spi = htonl(ntohs(ipcomp_hdr[1]));
ntohs             261 net/ipv6/af_inet6.c 	snum = ntohs(addr->sin6_port);
ntohs              89 net/ipv6/exthdrs_core.c 			if (ntohs(*fp) & ~0x7)
ntohs             150 net/ipv6/inet6_hashtables.c 	sk = __inet6_lookup(net, hashinfo, saddr, sport, daddr, ntohs(dport), dif);
ntohs             117 net/ipv6/ip6_input.c 	pkt_len = ntohs(hdr->payload_len);
ntohs             470 net/ipv6/ip6_tunnel.c 		if ((len = sizeof (*ipv6h) + ntohs(ipv6h->payload_len)) > mtu) {
ntohs             370 net/ipv6/ip6mr.c 	    ntohs(encap->payload_len) + sizeof(*pim) > skb->len)
ntohs              65 net/ipv6/ipcomp6.c 	spi = htonl(ntohs(ipcomph->cpi));
ntohs            1168 net/ipv6/mcast.c 	len = ntohs(ipv6_hdr(skb)->payload_len) + sizeof(struct ipv6hdr);
ntohs            1195 net/ipv6/mcast.c 		max_delay = (ntohs(hdr->icmp6_maxdelay)*HZ)/1000;
ntohs            1214 net/ipv6/mcast.c 		max_delay = (MLDV2_MRC(ntohs(mlh2->mrc))*HZ)/1000;
ntohs            1232 net/ipv6/mcast.c 			    ntohs(mlh2->nsrcs) * sizeof(struct in6_addr))) {
ntohs            1268 net/ipv6/mcast.c 			    mld_marksources(ma, ntohs(mlh2->nsrcs), mlh2->srcs))
ntohs            1514 net/ipv6/mcast.c 	pmr->ngrec = htons(ntohs(pmr->ngrec)+1);
ntohs            1157 net/ipv6/ndisc.c 	lifetime = ntohs(ra_msg->icmph.icmp6_rt_lifetime);
ntohs             396 net/ipv6/netfilter/ip6_tables.c 				    ntohs(ipv6_hdr(skb)->payload_len) +
ntohs            2357 net/ipv6/netfilter/ip6_tables.c 			_frag_off = ntohs(*fp) & ~0x7;
ntohs              68 net/ipv6/netfilter/ip6t_LOG.c 	       ntohs(ih->payload_len) + sizeof(struct ipv6hdr),
ntohs             104 net/ipv6/netfilter/ip6t_LOG.c 			printk("%u ", ntohs(fh->frag_off) & 0xFFF8);
ntohs             112 net/ipv6/netfilter/ip6t_LOG.c 			if (ntohs(fh->frag_off) & 0xFFF8)
ntohs             223 net/ipv6/netfilter/ip6t_LOG.c 		       ntohs(th->source), ntohs(th->dest));
ntohs             229 net/ipv6/netfilter/ip6t_LOG.c 		printk("WINDOW=%u ", ntohs(th->window));
ntohs             250 net/ipv6/netfilter/ip6t_LOG.c 		printk("URGP=%u ", ntohs(th->urg_ptr));
ntohs             299 net/ipv6/netfilter/ip6t_LOG.c 		       ntohs(uh->source), ntohs(uh->dest),
ntohs             300 net/ipv6/netfilter/ip6t_LOG.c 		       ntohs(uh->len));
ntohs             328 net/ipv6/netfilter/ip6t_LOG.c 				ntohs(ic->icmp6_identifier),
ntohs             329 net/ipv6/netfilter/ip6t_LOG.c 				ntohs(ic->icmp6_sequence));
ntohs              60 net/ipv6/netfilter/ip6t_frag.c 	pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7);
ntohs              61 net/ipv6/netfilter/ip6t_frag.c 	pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6);
ntohs              72 net/ipv6/netfilter/ip6t_frag.c 		 ntohs(fh->frag_off) & 0x6,
ntohs              74 net/ipv6/netfilter/ip6t_frag.c 		   && (fh->reserved || (ntohs(fh->frag_off) & 0x06))));
ntohs              77 net/ipv6/netfilter/ip6t_frag.c 		 ntohs(fh->frag_off) & ~0x7,
ntohs              79 net/ipv6/netfilter/ip6t_frag.c 		   && (ntohs(fh->frag_off) & ~0x7)));
ntohs              82 net/ipv6/netfilter/ip6t_frag.c 		 ntohs(fh->frag_off) & IP6_MF,
ntohs              84 net/ipv6/netfilter/ip6t_frag.c 		   && !((ntohs(fh->frag_off) & IP6_MF))));
ntohs              87 net/ipv6/netfilter/ip6t_frag.c 		 ntohs(fh->frag_off) & IP6_MF,
ntohs              89 net/ipv6/netfilter/ip6t_frag.c 		   && (ntohs(fh->frag_off) & IP6_MF)));
ntohs              98 net/ipv6/netfilter/ip6t_frag.c 		 && (fh->reserved || (ntohs(fh->frag_off) & 0x6)))
ntohs             101 net/ipv6/netfilter/ip6t_frag.c 		 && (ntohs(fh->frag_off) & ~0x7))
ntohs             104 net/ipv6/netfilter/ip6t_frag.c 		 && !(ntohs(fh->frag_off) & IP6_MF))
ntohs             107 net/ipv6/netfilter/ip6t_frag.c 		 && (ntohs(fh->frag_off) & IP6_MF));
ntohs              76 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c 			  ntohs(tuple->src.u.icmp.id));
ntohs             210 net/ipv6/netfilter/nf_conntrack_reasm.c 	offset = ntohs(fhdr->frag_off) & ~0x7;
ntohs             211 net/ipv6/netfilter/nf_conntrack_reasm.c 	end = offset + (ntohs(ipv6_hdr(skb)->payload_len) -
ntohs             764 net/ipv6/raw.c 		proto = ntohs(sin6->sin6_port);
ntohs             275 net/ipv6/reassembly.c 	offset = ntohs(fhdr->frag_off) & ~0x7;
ntohs             276 net/ipv6/reassembly.c 	end = offset + (ntohs(ipv6_hdr(skb)->payload_len) -
ntohs             524 net/ipv6/tcp_ipv6.c 		       "Sending cookies.\n", ntohs(tcp_hdr(skb)->dest));
ntohs             529 net/ipv6/tcp_ipv6.c 		       "Dropping request.\n", ntohs(tcp_hdr(skb)->dest));
ntohs             879 net/ipv6/tcp_ipv6.c 			       NIP6(ip6h->saddr), ntohs(th->source),
ntohs             880 net/ipv6/tcp_ipv6.c 			       NIP6(ip6h->daddr), ntohs(th->dest));
ntohs            1102 net/ipv6/tcp_ipv6.c 			&ipv6_hdr(skb)->daddr, ntohs(th->dest), inet6_iif(skb));
ntohs            1702 net/ipv6/tcp_ipv6.c 					    ntohs(th->dest), inet6_iif(skb));
ntohs            1868 net/ipv6/tcp_ipv6.c 		   ntohs(inet_sk(sk)->sport),
ntohs            1871 net/ipv6/tcp_ipv6.c 		   ntohs(inet_rsk(req)->rmt_port),
ntohs            1896 net/ipv6/tcp_ipv6.c 	destp = ntohs(inet->dport);
ntohs            1897 net/ipv6/tcp_ipv6.c 	srcp  = ntohs(inet->sport);
ntohs            1951 net/ipv6/tcp_ipv6.c 	destp = ntohs(tw->tw_dport);
ntohs            1952 net/ipv6/tcp_ipv6.c 	srcp  = ntohs(tw->tw_sport);
ntohs              64 net/ipv6/udp.c 	unsigned short hnum = ntohs(dport);
ntohs             338 net/ipv6/udp.c 	unsigned short num = ntohs(loc_port);
ntohs             384 net/ipv6/udp.c 	sk = sk_head(&udptable[udp_hashfn(net, ntohs(uh->dest))]);
ntohs             467 net/ipv6/udp.c 	ulen = ntohs(uh->len);
ntohs             974 net/ipv6/udp.c 	destp = ntohs(inet->dport);
ntohs             975 net/ipv6/udp.c 	srcp  = ntohs(inet->sport);
ntohs             474 net/ipx/af_ipx.c 	if (intrfc == ipx_primary_net && ntohs(ipx->ipx_dest.sock) == 0x451)
ntohs             489 net/ipx/af_ipx.c 		const int dsock = ntohs(ipx->ipx_dest.sock);
ntohs             815 net/ipx/af_ipx.c 	    ntohs(ipx->ipx_pktsize) < sizeof(struct ipxhdr) +
ntohs            1118 net/ipx/af_ipx.c 	switch (ntohs(dlink_type)) {
ntohs            1273 net/ipx/af_ipx.c 	switch (ntohs(frame)) {
ntohs            1451 net/ipx/af_ipx.c 	if (ntohs(addr->sipx_port) < IPX_MIN_EPHEMERAL_SOCKET &&
ntohs            1477 net/ipx/af_ipx.c 				ntohs(addr->sipx_port));
ntohs            1492 net/ipx/af_ipx.c 				ntohs(addr->sipx_port));
ntohs            1505 net/ipx/af_ipx.c 				ntohs((int)addr->sipx_port));
ntohs            1652 net/ipx/af_ipx.c 	ipx_pktsize = ntohs(ipx_hdr(skb)->ipx_pktsize);
ntohs            1797 net/ipx/af_ipx.c 	copied 	= ntohs(ipx->ipx_pktsize) - sizeof(struct ipxhdr);
ntohs             266 net/ipx/ipx_proc.c 		   ipxs->node[4], ipxs->node[5], ntohs(ipxs->port));
ntohs             269 net/ipx/ipx_proc.c 		   ntohs(ipxs->port));
ntohs             279 net/ipx/ipx_proc.c 			   ntohs(ipxs->dest_addr.sock));
ntohs             219 net/ipx/ipx_route.c 	rc = ntohs(ipxs->port);
ntohs             120 net/llc/llc_input.c 		s32 data_size = ntohs(pdulen) - llc_len;
ntohs             155 net/llc/llc_s_ac.c 	data_size = ntohs(eth_hdr(skb)->h_proto) - 3;
ntohs             307 net/llc/llc_station.c 	data_size = ntohs(eth_hdr(skb)->h_proto) - 3;
ntohs            1310 net/mac80211/rx.c 		unsigned int subframe_len = sizeof(struct ethhdr) + ntohs(len);
ntohs            1334 net/mac80211/rx.c 			memcpy(skb_put(frame, ntohs(len)), skb->data,
ntohs            1335 net/mac80211/rx.c 				ntohs(len));
ntohs            1337 net/mac80211/rx.c 			eth = (struct ethhdr *) skb_pull(skb, ntohs(len) +
ntohs             540 net/netfilter/ipvs/ip_vs_app.c 			   ntohs(inc->port),
ntohs             241 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(af, s_addr), ntohs(s_port),
ntohs             242 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(af, d_addr), ntohs(d_port),
ntohs             279 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(af, s_addr), ntohs(s_port),
ntohs             280 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(af, d_addr), ntohs(d_port),
ntohs             323 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(af, s_addr), ntohs(s_port),
ntohs             324 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(af, d_addr), ntohs(d_port),
ntohs             456 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(cp->af, &cp->caddr), ntohs(cp->cport),
ntohs             457 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(cp->af, &cp->vaddr), ntohs(cp->vport),
ntohs             458 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(cp->af, &cp->daddr), ntohs(cp->dport),
ntohs             519 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(cp->af, &cp->caddr), ntohs(cp->cport),
ntohs             520 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(cp->af, &cp->vaddr), ntohs(cp->vport),
ntohs             521 net/netfilter/ipvs/ip_vs_conn.c 		      IP_VS_DBG_ADDR(cp->af, &cp->daddr), ntohs(cp->dport),
ntohs             582 net/netfilter/ipvs/ip_vs_conn.c 			      ntohs(ct->cport),
ntohs             584 net/netfilter/ipvs/ip_vs_conn.c 			      ntohs(ct->vport),
ntohs             586 net/netfilter/ipvs/ip_vs_conn.c 			      ntohs(ct->dport));
ntohs             827 net/netfilter/ipvs/ip_vs_conn.c 				NIP6(cp->caddr.in6), ntohs(cp->cport),
ntohs             828 net/netfilter/ipvs/ip_vs_conn.c 				NIP6(cp->vaddr.in6), ntohs(cp->vport),
ntohs             829 net/netfilter/ipvs/ip_vs_conn.c 				NIP6(cp->daddr.in6), ntohs(cp->dport),
ntohs             838 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->caddr.ip), ntohs(cp->cport),
ntohs             839 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->vaddr.ip), ntohs(cp->vport),
ntohs             840 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->daddr.ip), ntohs(cp->dport),
ntohs             890 net/netfilter/ipvs/ip_vs_conn.c 				NIP6(cp->caddr.in6), ntohs(cp->cport),
ntohs             891 net/netfilter/ipvs/ip_vs_conn.c 				NIP6(cp->vaddr.in6), ntohs(cp->vport),
ntohs             892 net/netfilter/ipvs/ip_vs_conn.c 				NIP6(cp->daddr.in6), ntohs(cp->dport),
ntohs             902 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->caddr.ip), ntohs(cp->cport),
ntohs             903 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->vaddr.ip), ntohs(cp->vport),
ntohs             904 net/netfilter/ipvs/ip_vs_conn.c 				ntohl(cp->daddr.ip), ntohs(cp->dport),
ntohs             205 net/netfilter/ipvs/ip_vs_core.c 		      IP_VS_DBG_ADDR(svc->af, &iph.saddr), ntohs(ports[0]),
ntohs             206 net/netfilter/ipvs/ip_vs_core.c 		      IP_VS_DBG_ADDR(svc->af, &iph.daddr), ntohs(ports[1]),
ntohs             418 net/netfilter/ipvs/ip_vs_core.c 		      IP_VS_DBG_ADDR(svc->af, &cp->caddr), ntohs(cp->cport),
ntohs             419 net/netfilter/ipvs/ip_vs_core.c 		      IP_VS_DBG_ADDR(svc->af, &cp->vaddr), ntohs(cp->vport),
ntohs             420 net/netfilter/ipvs/ip_vs_core.c 		      IP_VS_DBG_ADDR(svc->af, &cp->daddr), ntohs(cp->dport),
ntohs             734 net/netfilter/ipvs/ip_vs_core.c 		  ic->type, ntohs(icmp_id(ic)),
ntohs             809 net/netfilter/ipvs/ip_vs_core.c 		  ic->icmp6_type, ntohs(icmpv6_id(ic)),
ntohs            1074 net/netfilter/ipvs/ip_vs_core.c 		  ic->type, ntohs(icmp_id(ic)),
ntohs            1179 net/netfilter/ipvs/ip_vs_core.c 		  ic->icmp6_type, ntohs(icmpv6_id(ic)),
ntohs             312 net/netfilter/ipvs/ip_vs_ctl.c 	register unsigned porth = ntohs(port);
ntohs             470 net/netfilter/ipvs/ip_vs_ctl.c 	    && (vport == FTPDATA || ntohs(vport) >= PROT_SOCK)) {
ntohs             491 net/netfilter/ipvs/ip_vs_ctl.c 		      IP_VS_DBG_ADDR(af, vaddr), ntohs(vport),
ntohs             523 net/netfilter/ipvs/ip_vs_ctl.c 	register unsigned porth = ntohs(port);
ntohs             686 net/netfilter/ipvs/ip_vs_ctl.c 			      ntohs(dest->port),
ntohs             708 net/netfilter/ipvs/ip_vs_ctl.c 				      ntohs(dest->port));
ntohs             919 net/netfilter/ipvs/ip_vs_ctl.c 			      IP_VS_DBG_ADDR(svc->af, &daddr), ntohs(dport),
ntohs             923 net/netfilter/ipvs/ip_vs_ctl.c 			      ntohs(dest->vport));
ntohs            1073 net/netfilter/ipvs/ip_vs_ctl.c 			      ntohs(dest->port),
ntohs            1873 net/netfilter/ipvs/ip_vs_ctl.c 					   ntohs(svc->port),
ntohs            1880 net/netfilter/ipvs/ip_vs_ctl.c 					   ntohs(svc->port),
ntohs            1901 net/netfilter/ipvs/ip_vs_ctl.c 					   ntohs(dest->port),
ntohs            1912 net/netfilter/ipvs/ip_vs_ctl.c 					   ntohs(dest->port),
ntohs            2146 net/netfilter/ipvs/ip_vs_ctl.c 			  ntohs(usvc.port), usvc.sched_name);
ntohs             222 net/netfilter/ipvs/ip_vs_dh.c 		  ntohs(dest->port));
ntohs             183 net/netfilter/ipvs/ip_vs_ftp.c 			  NIPQUAD(from.ip), ntohs(port),
ntohs             211 net/netfilter/ipvs/ip_vs_ftp.c 			(ntohs(port)>>8)&255, ntohs(port)&255);
ntohs             316 net/netfilter/ipvs/ip_vs_ftp.c 		  NIPQUAD(to.ip), ntohs(port));
ntohs             326 net/netfilter/ipvs/ip_vs_ftp.c 		  NIPQUAD(to.ip), ntohs(port), NIPQUAD(cp->vaddr.ip), 0);
ntohs             330 net/netfilter/ipvs/ip_vs_ftp.c 				 &cp->vaddr, htons(ntohs(cp->vport)-1));
ntohs             334 net/netfilter/ipvs/ip_vs_ftp.c 				      &cp->vaddr, htons(ntohs(cp->vport)-1),
ntohs             335 net/netfilter/ipvs/ip_vs_ftp.c 				      &cp->daddr, htons(ntohs(cp->dport)-1),
ntohs             425 net/netfilter/ipvs/ip_vs_lblc.c 		  NIPQUAD(least->addr.ip), ntohs(least->port),
ntohs             510 net/netfilter/ipvs/ip_vs_lblc.c 		  ntohs(dest->port));
ntohs             207 net/netfilter/ipvs/ip_vs_lblcr.c 		  NIPQUAD(least->addr.ip), ntohs(least->port),
ntohs             253 net/netfilter/ipvs/ip_vs_lblcr.c 		  NIPQUAD(most->addr.ip), ntohs(most->port),
ntohs             601 net/netfilter/ipvs/ip_vs_lblcr.c 		  NIPQUAD(least->addr.ip), ntohs(least->port),
ntohs             710 net/netfilter/ipvs/ip_vs_lblcr.c 		  ntohs(dest->port));
ntohs              71 net/netfilter/ipvs/ip_vs_lc.c 		      IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port),
ntohs             104 net/netfilter/ipvs/ip_vs_nq.c 		      IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port),
ntohs             184 net/netfilter/ipvs/ip_vs_proto.c 				ntohs(pptr[0]),
ntohs             186 net/netfilter/ipvs/ip_vs_proto.c 				ntohs(pptr[1]));
ntohs             223 net/netfilter/ipvs/ip_vs_proto.c 				ntohs(pptr[0]),
ntohs             225 net/netfilter/ipvs/ip_vs_proto.c 				ntohs(pptr[1]));
ntohs             537 net/netfilter/ipvs/ip_vs_proto_tcp.c 			      ntohs(cp->dport),
ntohs             539 net/netfilter/ipvs/ip_vs_proto_tcp.c 			      ntohs(cp->cport),
ntohs             668 net/netfilter/ipvs/ip_vs_proto_tcp.c 				      ntohs(cp->cport),
ntohs             670 net/netfilter/ipvs/ip_vs_proto_tcp.c 				      ntohs(cp->vport),
ntohs             671 net/netfilter/ipvs/ip_vs_proto_tcp.c 				      inc->name, ntohs(inc->port));
ntohs             449 net/netfilter/ipvs/ip_vs_proto_udp.c 				      ntohs(cp->cport),
ntohs             451 net/netfilter/ipvs/ip_vs_proto_udp.c 				      ntohs(cp->vport),
ntohs             452 net/netfilter/ipvs/ip_vs_proto_udp.c 				      inc->name, ntohs(inc->port));
ntohs              79 net/netfilter/ipvs/ip_vs_rr.c 		      IP_VS_DBG_ADDR(svc->af, &dest->addr), ntohs(dest->port),
ntohs             106 net/netfilter/ipvs/ip_vs_sed.c 		      IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port),
ntohs             219 net/netfilter/ipvs/ip_vs_sh.c 		  ntohs(dest->port));
ntohs             310 net/netfilter/ipvs/ip_vs_sync.c 	m->size = ntohs(m->size);
ntohs             333 net/netfilter/ipvs/ip_vs_sync.c 		flags = ntohs(s->flags) | IP_VS_CONN_F_SYNC;
ntohs             347 net/netfilter/ipvs/ip_vs_sync.c 		state = ntohs(s->state);
ntohs              94 net/netfilter/ipvs/ip_vs_wlc.c 		      IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port),
ntohs             200 net/netfilter/ipvs/ip_vs_wrr.c 		      IP_VS_DBG_ADDR(svc->af, &dest->addr), ntohs(dest->port),
ntohs             370 net/netfilter/ipvs/ip_vs_xmit.c 		IP_VS_DBG(10, "filled cport=%d\n", ntohs(*p));
ntohs             445 net/netfilter/ipvs/ip_vs_xmit.c 		IP_VS_DBG(10, "filled cport=%d\n", ntohs(*p));
ntohs             564 net/netfilter/ipvs/ip_vs_xmit.c 	    && mtu < ntohs(old_iph->tot_len)) {
ntohs             673 net/netfilter/ipvs/ip_vs_xmit.c 	if (mtu < ntohs(old_iph->payload_len) + sizeof(struct ipv6hdr)) {
ntohs             274 net/netfilter/nf_conntrack_h323_main.c 	rtcp_port = htons(ntohs(port) + 1);
ntohs             855 net/netfilter/nf_conntrack_h323_main.c 			 NIP6(*(struct in6_addr *)&addr), ntohs(port),
ntohs             857 net/netfilter/nf_conntrack_h323_main.c 			 ntohs(ct->tuplehash[!dir].tuple.src.u.tcp.port));
ntohs             873 net/netfilter/nf_conntrack_h323_main.c 			 NIP6(*(struct in6_addr *)&addr), ntohs(port),
ntohs             875 net/netfilter/nf_conntrack_h323_main.c 			 ntohs(ct->tuplehash[!dir].tuple.dst.u.tcp.port));
ntohs             160 net/netfilter/nf_conntrack_irc.c 			 NIPQUAD(iph->saddr), ntohs(th->source),
ntohs             161 net/netfilter/nf_conntrack_irc.c 			 NIPQUAD(iph->daddr), ntohs(th->dest));
ntohs             274 net/netfilter/nf_conntrack_pptp.c 	msg = ntohs(ctlh->messageType);
ntohs             311 net/netfilter/nf_conntrack_pptp.c 			 ntohs(cid), ntohs(pcid));
ntohs             327 net/netfilter/nf_conntrack_pptp.c 		pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid));
ntohs             346 net/netfilter/nf_conntrack_pptp.c 		pr_debug("%s, PCID=%X\n", pptp_msg_name[msg], ntohs(pcid));
ntohs             356 net/netfilter/nf_conntrack_pptp.c 		pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid));
ntohs             382 net/netfilter/nf_conntrack_pptp.c 		 msg, ntohs(cid), ntohs(pcid),  info->cstate, info->sstate,
ntohs             383 net/netfilter/nf_conntrack_pptp.c 		 ntohs(info->pns_call_id), ntohs(info->pac_call_id));
ntohs             400 net/netfilter/nf_conntrack_pptp.c 	msg = ntohs(ctlh->messageType);
ntohs             423 net/netfilter/nf_conntrack_pptp.c 		pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid));
ntohs             438 net/netfilter/nf_conntrack_pptp.c 			 ntohs(cid), ntohs(pcid));
ntohs             477 net/netfilter/nf_conntrack_pptp.c 		 msg, ntohs(cid), ntohs(pcid),  info->cstate, info->sstate,
ntohs             478 net/netfilter/nf_conntrack_pptp.c 		 ntohs(info->pns_call_id), ntohs(info->pac_call_id));
ntohs             538 net/netfilter/nf_conntrack_pptp.c 	if (ntohs(pptph->packetType) != PPTP_PACKET_CONTROL ||
ntohs             551 net/netfilter/nf_conntrack_pptp.c 	msg = ntohs(ctlh->messageType);
ntohs             459 net/netfilter/nf_conntrack_proto_dccp.c 	return ((u64)ntohs(dhack->dccph_ack_nr_high) << 32) +
ntohs             604 net/netfilter/nf_conntrack_proto_dccp.c 			  ntohs(tuple->src.u.dccp.port),
ntohs             605 net/netfilter/nf_conntrack_proto_dccp.c 			  ntohs(tuple->dst.u.dccp.port));
ntohs             200 net/netfilter/nf_conntrack_proto_gre.c 	if (ntohs(grehdr->protocol) != GRE_PROTOCOL_PPTP) {
ntohs             217 net/netfilter/nf_conntrack_proto_gre.c 			  ntohs(tuple->src.u.gre.key),
ntohs             218 net/netfilter/nf_conntrack_proto_gre.c 			  ntohs(tuple->dst.u.gre.key));
ntohs             162 net/netfilter/nf_conntrack_proto_sctp.c 			  ntohs(tuple->src.u.sctp.port),
ntohs             163 net/netfilter/nf_conntrack_proto_sctp.c 			  ntohs(tuple->dst.u.sctp.port));
ntohs             182 net/netfilter/nf_conntrack_proto_sctp.c 	(offset) += (ntohs((sch)->length) + 3) & ~3, (count)++)
ntohs             291 net/netfilter/nf_conntrack_proto_tcp.c 			  ntohs(tuple->src.u.tcp.port),
ntohs             292 net/netfilter/nf_conntrack_proto_tcp.c 			  ntohs(tuple->dst.u.tcp.port));
ntohs             503 net/netfilter/nf_conntrack_proto_tcp.c 	win = ntohs(tcph->window);
ntohs            1031 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window);
ntohs            1051 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window);
ntohs              60 net/netfilter/nf_conntrack_proto_udp.c 			  ntohs(tuple->src.u.udp.port),
ntohs              61 net/netfilter/nf_conntrack_proto_udp.c 			  ntohs(tuple->dst.u.udp.port));
ntohs             111 net/netfilter/nf_conntrack_proto_udp.c 	if (ntohs(hdr->len) > udplen || ntohs(hdr->len) < sizeof(*hdr)) {
ntohs              59 net/netfilter/nf_conntrack_proto_udplite.c 			  ntohs(tuple->src.u.udp.port),
ntohs              60 net/netfilter/nf_conntrack_proto_udplite.c 			  ntohs(tuple->dst.u.udp.port));
ntohs             113 net/netfilter/nf_conntrack_proto_udplite.c 	cscov = ntohs(hdr->len);
ntohs             800 net/netfilter/nf_conntrack_sip.c 	base_port = ntohs(tuple.dst.u.udp.port) & ~1;
ntohs             808 net/netfilter/nf_conntrack_sip.c 				     mediaoff, medialen, ntohs(rtp_port)))
ntohs              54 net/netfilter/nf_conntrack_tftp.c 	switch (ntohs(tfh->opcode)) {
ntohs              34 net/netfilter/nf_tproxy_core.c 						    daddr, ntohs(dport),
ntohs              51 net/netfilter/nf_tproxy_core.c 		 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), listening_only, sk);
ntohs             711 net/netfilter/nfnetlink_log.c 	u_int16_t group_num = ntohs(nfmsg->res_id);
ntohs             814 net/netfilter/nfnetlink_log.c 		nfulnl_set_flags(inst, ntohs(flags));
ntohs             614 net/netfilter/nfnetlink_queue.c 	u_int16_t queue_num = ntohs(nfmsg->res_id);
ntohs             693 net/netfilter/nfnetlink_queue.c 	u_int16_t queue_num = ntohs(nfmsg->res_id);
ntohs             704 net/netfilter/nfnetlink_queue.c 			return nf_register_queue_handler(ntohs(cmd->pf),
ntohs             707 net/netfilter/nfnetlink_queue.c 			return nf_unregister_queue_handler(ntohs(cmd->pf),
ntohs             191 net/netfilter/xt_TCPMSS.c 		newlen = htons(ntohs(iph->tot_len) + ret);
ntohs             219 net/netfilter/xt_TCPMSS.c 		ipv6h->payload_len = htons(ntohs(ipv6h->payload_len) + ret);
ntohs              51 net/netfilter/xt_TPROXY.c 			 iph->protocol, ntohl(iph->daddr), ntohs(hp->dest),
ntohs              52 net/netfilter/xt_TPROXY.c 			 ntohl(tgi->laddr), ntohs(tgi->lport), skb->mark);
ntohs              57 net/netfilter/xt_TPROXY.c 		 iph->protocol, ntohl(iph->daddr), ntohs(hp->dest),
ntohs              58 net/netfilter/xt_TPROXY.c 		 ntohl(tgi->laddr), ntohs(tgi->lport), skb->mark);
ntohs             111 net/netfilter/xt_dccp.c 	return  DCCHECK(ntohs(dh->dccph_sport) >= info->spts[0]
ntohs             112 net/netfilter/xt_dccp.c 			&& ntohs(dh->dccph_sport) <= info->spts[1],
ntohs             114 net/netfilter/xt_dccp.c 		&& DCCHECK(ntohs(dh->dccph_dport) >= info->dpts[0]
ntohs             115 net/netfilter/xt_dccp.c 			&& ntohs(dh->dccph_dport) <= info->dpts[1],
ntohs             900 net/netfilter/xt_hashlimit.c 				 ntohs(ent->dst.src_port),
ntohs             902 net/netfilter/xt_hashlimit.c 				 ntohs(ent->dst.dst_port),
ntohs             911 net/netfilter/xt_hashlimit.c 				 ntohs(ent->dst.src_port),
ntohs             913 net/netfilter/xt_hashlimit.c 				 ntohs(ent->dst.dst_port),
ntohs              27 net/netfilter/xt_length.c 	u_int16_t pktlen = ntohs(ip_hdr(skb)->tot_len);
ntohs              36 net/netfilter/xt_length.c 	const u_int16_t pktlen = ntohs(ipv6_hdr(skb)->payload_len) +
ntohs             118 net/netfilter/xt_multiport.c 	       multiinfo->count, ntohs(pptr[0]), ntohs(pptr[1]));
ntohs             141 net/netfilter/xt_multiport.c 	return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1]));
ntohs              73 net/netfilter/xt_sctp.c 		offset += (ntohs(sch->length) + 3) & ~3;
ntohs             137 net/netfilter/xt_sctp.c 	duprintf("spt: %d\tdpt: %d\n", ntohs(sh->source), ntohs(sh->dest));
ntohs             139 net/netfilter/xt_sctp.c 	return  SCCHECK(ntohs(sh->source) >= info->spts[0]
ntohs             140 net/netfilter/xt_sctp.c 			&& ntohs(sh->source) <= info->spts[1],
ntohs             142 net/netfilter/xt_sctp.c 		&& SCCHECK(ntohs(sh->dest) >= info->dpts[0]
ntohs             143 net/netfilter/xt_sctp.c 			&& ntohs(sh->dest) <= info->dpts[1],
ntohs             153 net/netfilter/xt_socket.c 		 protocol, ntohl(saddr), ntohs(sport),
ntohs             154 net/netfilter/xt_socket.c 		 ntohl(daddr), ntohs(dport),
ntohs             155 net/netfilter/xt_socket.c 		 ntohl(iph->daddr), hp ? ntohs(hp->dest) : 0, sk);
ntohs             104 net/netfilter/xt_tcpudp.c 			ntohs(th->source),
ntohs             108 net/netfilter/xt_tcpudp.c 			ntohs(th->dest),
ntohs             157 net/netfilter/xt_tcpudp.c 			  ntohs(uh->source),
ntohs             160 net/netfilter/xt_tcpudp.c 			      ntohs(uh->dest),
ntohs             823 net/packet/af_packet.c 	    dev_hard_header(skb, dev, ntohs(proto), addr, NULL, len) < 0)
ntohs            2050 net/packet/af_packet.c 			   ntohs(po->num),
ntohs             180 net/phonet/af_phonet.c 		err = dev_hard_header(skb, dev, ntohs(skb->protocol),
ntohs             100 net/rxrpc/af_rxrpc.c 		       ntohs(srx->transport.sin.sin_port),
ntohs             263 net/rxrpc/ar-accept.c 	_debug("found service %hd", ntohs(rx->service_id));
ntohs             634 net/rxrpc/ar-ack.c 		       ntohs(ack.maxSkew),
ntohs            1177 net/rxrpc/ar-ack.c 	       ntohs(ack.maxSkew),
ntohs              74 net/rxrpc/ar-connection.c 	       rx, key_serial(key), trans->debug_id, ntohs(service_id));
ntohs              53 net/rxrpc/ar-error.c 	     NIPQUAD(addr), ntohs(port));
ntohs              87 net/rxrpc/ar-error.c 			mtu = ntohs(icmp_hdr(skb)->un.frag.mtu);
ntohs             726 net/rxrpc/ar-input.c 	     ntohl(ip_hdr(skb)->saddr), ntohs(udp_hdr(skb)->source));
ntohs             138 net/rxrpc/ar-local.c 	       ntohs(srx->transport.sin.sin_port));
ntohs             150 net/rxrpc/ar-local.c 		       ntohs(local->srx.transport.sin.sin_port));
ntohs             196 net/rxrpc/ar-local.c 	     ntohs(local->srx.transport.sin.sin_port));
ntohs             211 net/rxrpc/ar-local.c 	     ntohs(local->srx.transport.sin.sin_port));
ntohs             130 net/rxrpc/ar-peer.c 	       ntohs(srx->transport.sin.sin_port));
ntohs             186 net/rxrpc/ar-peer.c 	     ntohs(peer->srx.transport.sin.sin_port));
ntohs              66 net/rxrpc/ar-proc.c 		ntohs(trans->local->srx.transport.sin.sin_port));
ntohs              70 net/rxrpc/ar-proc.c 		ntohs(trans->peer->srx.transport.sin.sin_port));
ntohs              77 net/rxrpc/ar-proc.c 		   ntohs(call->conn->service_id),
ntohs             149 net/rxrpc/ar-proc.c 		ntohs(trans->local->srx.transport.sin.sin_port));
ntohs             153 net/rxrpc/ar-proc.c 		ntohs(trans->peer->srx.transport.sin.sin_port));
ntohs             160 net/rxrpc/ar-proc.c 		   ntohs(conn->service_id),
ntohs             168 net/rxrpc/ar-security.c 	sprintf(kdesc, "%u:%u", ntohs(conn->service_id), conn->security_ix);
ntohs              83 net/rxrpc/ar-transport.c 	       ntohs(local->srx.transport.sin.sin_port),
ntohs              85 net/rxrpc/ar-transport.c 	       ntohs(peer->srx.transport.sin.sin_port));
ntohs             154 net/rxrpc/ar-transport.c 	       ntohs(local->srx.transport.sin.sin_port),
ntohs             156 net/rxrpc/ar-transport.c 	       ntohs(peer->srx.transport.sin.sin_port));
ntohs             128 net/sched/cls_flow.c 			res = ntohs(*(__be16 *)((void *)iph + iph->ihl * 4));
ntohs             135 net/sched/cls_flow.c 			res = ntohs(*(__be16 *)&iph[1]);
ntohs             155 net/sched/cls_flow.c 			res = ntohs(*(__be16 *)((void *)iph + iph->ihl * 4 + 2));
ntohs             162 net/sched/cls_flow.c 			res = ntohs(*(__be16 *)((void *)&iph[1] + 2));
ntohs             239 net/sched/cls_flow.c 	return ntohs(CTTUPLE(skb, src.u.all));
ntohs             246 net/sched/cls_flow.c 	return ntohs(CTTUPLE(skb, dst.u.all));
ntohs             190 net/sched/cls_u32.c 				off2 += ntohs(n->sel.offmask & *(__be16*)(ptr+n->sel.offoff)) >>n->sel.offshift;
ntohs            1644 net/sched/sch_api.c 			       tp->prio&0xffff, ntohs(tp->protocol));
ntohs             309 net/sched/sch_dsmark.c 			       ntohs(skb->protocol));
ntohs             246 net/sched/sch_teql.c 		err = dev_hard_header(skb, dev, ntohs(skb->protocol),
ntohs             321 net/sctp/associola.c 			ntohs(ep->auth_hmacs_list->param_hdr.length));
ntohs             324 net/sctp/associola.c 			ntohs(ep->auth_chunk_list->param_hdr.length));
ntohs             538 net/sctp/associola.c 				 ntohs(peer->ipaddr.v4.sin_port));
ntohs             587 net/sctp/associola.c 	port = ntohs(addr->v4.sin_port);
ntohs            1268 net/sctp/associola.c 				 ntohs(t->ipaddr.v4.sin_port));
ntohs            1293 net/sctp/associola.c 				 ntohs(t->ipaddr.v4.sin_port));
ntohs            1458 net/sctp/associola.c 	int var_size2 = ntohs(cookie->peer_init->chunk_hdr.length);
ntohs            1472 net/sctp/associola.c 	if ((asoc->base.bind_addr.port == ntohs(laddr->v4.sin_port)) &&
ntohs             203 net/sctp/auth.c 	len = ntohs(random->param_hdr.length) + ntohs(hmacs->param_hdr.length);
ntohs             205 net/sctp/auth.c 		len += ntohs(chunks->param_hdr.length);
ntohs             213 net/sctp/auth.c 	memcpy(new->data, random, ntohs(random->param_hdr.length));
ntohs             214 net/sctp/auth.c 	offset += ntohs(random->param_hdr.length);
ntohs             218 net/sctp/auth.c 			ntohs(chunks->param_hdr.length));
ntohs             219 net/sctp/auth.c 		offset += ntohs(chunks->param_hdr.length);
ntohs             222 net/sctp/auth.c 	memcpy(new->data + offset, hmacs, ntohs(hmacs->param_hdr.length));
ntohs             540 net/sctp/auth.c 	n_elt = (ntohs(hmacs->param_hdr.length) - sizeof(sctp_paramhdr_t)) >> 1;
ntohs             542 net/sctp/auth.c 		id = ntohs(hmacs->hmac_ids[i]);
ntohs             591 net/sctp/auth.c 	n_elt = (ntohs(hmacs->param_hdr.length) - sizeof(sctp_paramhdr_t)) >> 1;
ntohs             614 net/sctp/auth.c 	n_params = (ntohs(hmacs->param_hdr.length)
ntohs             618 net/sctp/auth.c 		id = ntohs(hmacs->hmac_ids[i]);
ntohs             643 net/sctp/auth.c 	len = ntohs(param->param_hdr.length) - sizeof(sctp_paramhdr_t);
ntohs             714 net/sctp/auth.c 	key_id = ntohs(auth->auth_hdr.shkey_id);
ntohs             715 net/sctp/auth.c 	hmac_id = ntohs(auth->auth_hdr.hmac_id);
ntohs             765 net/sctp/auth.c 	param_len = ntohs(p->param_hdr.length);
ntohs             317 net/sctp/bind_addr.c 		len = ntohs(param->length);
ntohs             336 net/sctp/endpointola.c 	rport = ntohs(paddr->v4.sin_port);
ntohs             629 net/sctp/input.c 		if (ntohs(ch->length) < sizeof(sctp_chunkhdr_t))
ntohs             632 net/sctp/input.c 		ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length));
ntohs             742 net/sctp/input.c 	hash = sctp_ep_hashfn(ntohs(laddr->v4.sin_port));
ntohs             833 net/sctp/input.c 	hash = sctp_assoc_hashfn(ntohs(local->v4.sin_port), ntohs(peer->v4.sin_port));
ntohs            1016 net/sctp/input.c 		if (ntohs(ch->length) < sizeof(sctp_chunkhdr_t))
ntohs            1019 net/sctp/input.c 		ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length));
ntohs            1078 net/sctp/input.c 	if (WORD_ROUND(ntohs(ch->length)) > skb->len)
ntohs             187 net/sctp/inqueue.c 	chunk->chunk_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length));
ntohs             227 net/sctp/inqueue.c 			  ntohs(chunk->chunk_hdr->length), chunk->skb->len);
ntohs             266 net/sctp/output.c 	__u16 chunk_len = WORD_ROUND(ntohs(chunk->chunk_hdr->length));
ntohs             499 net/sctp/output.c 				  "length", ntohs(chunk->chunk_hdr->length),
ntohs            1080 net/sctp/outqueue.c 	for (i = 0; i < ntohs(sack->num_gap_ack_blocks); i++) {
ntohs            1081 net/sctp/outqueue.c 		unack_data -= ((ntohs(frags[i].gab.end) -
ntohs            1082 net/sctp/outqueue.c 				ntohs(frags[i].gab.start) + 1));
ntohs            1138 net/sctp/outqueue.c 	gap_ack_blocks = ntohs(sack->num_gap_ack_blocks);
ntohs            1179 net/sctp/outqueue.c 		highest_tsn += ntohs(frags[gap_ack_blocks - 1].gab.end);
ntohs            1726 net/sctp/outqueue.c 	for (i = 0; i < ntohs(sack->num_gap_ack_blocks); ++i) {
ntohs            1727 net/sctp/outqueue.c 		if (TSN_lte(ntohs(frags[i].gab.start), gap) &&
ntohs            1728 net/sctp/outqueue.c 		    TSN_lte(gap, ntohs(frags[i].gab.end)))
ntohs             238 net/sctp/sm_make_chunk.c 			chunksize += ntohs(auth_hmacs->length);
ntohs             245 net/sctp/sm_make_chunk.c 			chunksize += ntohs(auth_chunks->length);
ntohs             317 net/sctp/sm_make_chunk.c 			sctp_addto_chunk(retval, ntohs(auth_hmacs->length),
ntohs             320 net/sctp/sm_make_chunk.c 			sctp_addto_chunk(retval, ntohs(auth_chunks->length),
ntohs             388 net/sctp/sm_make_chunk.c 		chunksize += ntohs(auth_random->length);
ntohs             392 net/sctp/sm_make_chunk.c 			chunksize += ntohs(auth_hmacs->length);
ntohs             398 net/sctp/sm_make_chunk.c 			chunksize += ntohs(auth_chunks->length);
ntohs             441 net/sctp/sm_make_chunk.c 		sctp_addto_chunk(retval, ntohs(auth_random->length),
ntohs             444 net/sctp/sm_make_chunk.c 			sctp_addto_chunk(retval, ntohs(auth_hmacs->length),
ntohs             447 net/sctp/sm_make_chunk.c 			sctp_addto_chunk(retval, ntohs(auth_chunks->length),
ntohs             977 net/sctp/sm_make_chunk.c 	int chunklen = ntohs(chunk->chunk_hdr->length);
ntohs            1166 net/sctp/sm_make_chunk.c 		htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len);
ntohs            1343 net/sctp/sm_make_chunk.c 	int chunklen = ntohs(chunk->chunk_hdr->length);
ntohs            1378 net/sctp/sm_make_chunk.c 		htons(ntohs(chunk->chunk_hdr->length) + len);
ntohs            1400 net/sctp/sm_make_chunk.c 	sid = ntohs(chunk->subh.data_hdr->stream);
ntohs            1490 net/sctp/sm_make_chunk.c 		+ ntohs(init_chunk->chunk_hdr->length) + addrs_len;
ntohs            1530 net/sctp/sm_make_chunk.c 	       ntohs(init_chunk->chunk_hdr->length));
ntohs            1534 net/sctp/sm_make_chunk.c 	       ntohs(init_chunk->chunk_hdr->length), raw_addrs, addrs_len);
ntohs            1586 net/sctp/sm_make_chunk.c 	bodysize = ntohs(chunk->chunk_hdr->length) - headersize;
ntohs            1593 net/sctp/sm_make_chunk.c 	len = ntohs(chunk->chunk_hdr->length);
ntohs            1653 net/sctp/sm_make_chunk.c 	    ntohs(chunk->sctp_hdr->dest) != bear_cookie->my_port) {
ntohs            1680 net/sctp/sm_make_chunk.c 		len = ntohs(chunk->chunk_hdr->length);
ntohs            1707 net/sctp/sm_make_chunk.c 	retval->peer.port = ntohs(chunk->sctp_hdr->source);
ntohs            1831 net/sctp/sm_make_chunk.c 	__u16 len = ntohs(param.p->length);
ntohs            1854 net/sctp/sm_make_chunk.c 	__u16 num_ext = ntohs(param.p->length) - sizeof(sctp_paramhdr_t);
ntohs            1888 net/sctp/sm_make_chunk.c 	__u16 num_ext = ntohs(param.p->length) - sizeof(sctp_paramhdr_t);
ntohs            1963 net/sctp/sm_make_chunk.c 					ntohs(chunk->chunk_hdr->length));
ntohs            1967 net/sctp/sm_make_chunk.c 					WORD_ROUND(ntohs(param.p->length)));
ntohs            1969 net/sctp/sm_make_chunk.c 					WORD_ROUND(ntohs(param.p->length)),
ntohs            2053 net/sctp/sm_make_chunk.c 			ntohs(param.p->length) - sizeof(sctp_paramhdr_t)) {
ntohs            2069 net/sctp/sm_make_chunk.c 		if (260 < ntohs(param.p->length)) {
ntohs            2081 net/sctp/sm_make_chunk.c 		n_elt = (ntohs(param.p->length) - sizeof(sctp_paramhdr_t)) >> 1;
ntohs            2088 net/sctp/sm_make_chunk.c 			id = ntohs(hmacs->hmac_ids[i]);
ntohs            2103 net/sctp/sm_make_chunk.c 				ntohs(param.p->type), cid);
ntohs            2248 net/sctp/sm_make_chunk.c 		ntohs(peer_init->init_hdr.num_outbound_streams);
ntohs            2250 net/sctp/sm_make_chunk.c 		ntohs(peer_init->init_hdr.num_inbound_streams);
ntohs            2258 net/sctp/sm_make_chunk.c 	    ntohs(peer_init->init_hdr.num_inbound_streams)) {
ntohs            2260 net/sctp/sm_make_chunk.c 			ntohs(peer_init->init_hdr.num_inbound_streams);
ntohs            2264 net/sctp/sm_make_chunk.c 	    ntohs(peer_init->init_hdr.num_outbound_streams)) {
ntohs            2266 net/sctp/sm_make_chunk.c 			ntohs(peer_init->init_hdr.num_outbound_streams);
ntohs            2429 net/sctp/sm_make_chunk.c 		sat = ntohs(param.p->length) - sizeof(sctp_paramhdr_t);
ntohs            2456 net/sctp/sm_make_chunk.c 			ntohs(param.p->length) - sizeof(sctp_paramhdr_t);
ntohs            2517 net/sctp/sm_make_chunk.c 					    ntohs(param.p->length), gfp);
ntohs            2530 net/sctp/sm_make_chunk.c 					    ntohs(param.p->length), gfp);
ntohs            2545 net/sctp/sm_make_chunk.c 					    ntohs(param.p->length), gfp);
ntohs            2557 net/sctp/sm_make_chunk.c 				  ntohs(param.p->type), asoc);
ntohs            2818 net/sctp/sm_make_chunk.c 				 ntohs(asconf_param->param_hdr.length);
ntohs            2970 net/sctp/sm_make_chunk.c 		length = ntohs(param.p->length);
ntohs            2982 net/sctp/sm_make_chunk.c 			plen = ntohs(asconf_param->param_hdr.length);
ntohs            3023 net/sctp/sm_make_chunk.c 	chunk_len = ntohs(asconf->chunk_hdr->length) - sizeof(sctp_chunkhdr_t);
ntohs            3035 net/sctp/sm_make_chunk.c 	length = ntohs(addr_param->v4.param_hdr.length);
ntohs            3076 net/sctp/sm_make_chunk.c 		length = ntohs(asconf_param->param_hdr.length);
ntohs            3170 net/sctp/sm_make_chunk.c 	asconf_ack_len = ntohs(asconf_ack->chunk_hdr->length) -
ntohs            3201 net/sctp/sm_make_chunk.c 		length = ntohs(asconf_ack_param->param_hdr.length);
ntohs            3234 net/sctp/sm_make_chunk.c 	length = ntohs(addr_param->v4.param_hdr.length);
ntohs            3285 net/sctp/sm_make_chunk.c 		length = ntohs(asconf_param->param_hdr.length);
ntohs             454 net/sctp/sm_sideeffect.c 					 ntohs(transport->ipaddr.v4.sin_port));
ntohs             830 net/sctp/sm_sideeffect.c 		sctp_ulpq_skip(ulpq, ntohs(skip->stream), ntohs(skip->ssn));
ntohs             161 net/sctp/sm_statefuns.c 	__u16 chunk_length = ntohs(chunk->chunk_hdr->length);
ntohs             349 net/sctp/sm_statefuns.c 					ntohs(err_chunk->chunk_hdr->length) -
ntohs             392 net/sctp/sm_statefuns.c 		len = ntohs(err_chunk->chunk_hdr->length) -
ntohs             519 net/sctp/sm_statefuns.c 					ntohs(err_chunk->chunk_hdr->length) -
ntohs             667 net/sctp/sm_statefuns.c 	if (!pskb_pull(chunk->skb, ntohs(chunk->chunk_hdr->length) -
ntohs            1047 net/sctp/sm_statefuns.c 	paylen = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_chunkhdr_t);
ntohs            1113 net/sctp/sm_statefuns.c 	if (ntohs(hbinfo->param_hdr.length) !=
ntohs            1416 net/sctp/sm_statefuns.c 					ntohs(err_chunk->chunk_hdr->length) -
ntohs            1477 net/sctp/sm_statefuns.c 		len = ntohs(err_chunk->chunk_hdr->length) -
ntohs            1967 net/sctp/sm_statefuns.c 	if (!pskb_pull(chunk->skb, ntohs(chunk->chunk_hdr->length) -
ntohs            2399 net/sctp/sm_statefuns.c 	len = ntohs(chunk->chunk_hdr->length);
ntohs            2444 net/sctp/sm_statefuns.c 	len = ntohs(chunk->chunk_hdr->length);
ntohs            3250 net/sctp/sm_statefuns.c 		if (ntohs(ch->length) < sizeof(sctp_chunkhdr_t))
ntohs            3269 net/sctp/sm_statefuns.c 		ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length));
ntohs            3428 net/sctp/sm_statefuns.c 	length = ntohs(addr_param->p.length);
ntohs            3656 net/sctp/sm_statefuns.c 	len = ntohs(chunk->chunk_hdr->length);
ntohs            3716 net/sctp/sm_statefuns.c 	len = ntohs(chunk->chunk_hdr->length);
ntohs            3798 net/sctp/sm_statefuns.c 	key_id = ntohs(auth_hdr->shkey_id);
ntohs            3806 net/sctp/sm_statefuns.c 	sig_len = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_auth_chunk_t);
ntohs            3807 net/sctp/sm_statefuns.c 	hmac = sctp_auth_get_hmac(ntohs(auth_hdr->hmac_id));
ntohs            3901 net/sctp/sm_statefuns.c 	if (asoc->active_key_id != ntohs(auth_hdr->shkey_id)) {
ntohs            3904 net/sctp/sm_statefuns.c 		ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id),
ntohs            3973 net/sctp/sm_statefuns.c 					       WORD_ROUND(ntohs(hdr->length)));
ntohs            3992 net/sctp/sm_statefuns.c 					       WORD_ROUND(ntohs(hdr->length)));
ntohs            5611 net/sctp/sm_statefuns.c 	num_blocks = ntohs(sack->num_gap_ack_blocks);
ntohs            5612 net/sctp/sm_statefuns.c 	num_dup_tsns = ntohs(sack->num_dup_tsns);
ntohs            5677 net/sctp/sm_statefuns.c 	sport = ntohs(chunk->sctp_hdr->dest);
ntohs            5678 net/sctp/sm_statefuns.c 	dport = ntohs(chunk->sctp_hdr->source);
ntohs            5838 net/sctp/sm_statefuns.c 	datalen = ntohs(chunk->chunk_hdr->length);
ntohs            5938 net/sctp/sm_statefuns.c 	if (ntohs(data_hdr->stream) >= asoc->c.sinit_max_instreams) {
ntohs             349 net/sctp/socket.c 	snum = ntohs(addr->v4.sin_port);
ntohs            1006 net/sctp/socket.c 		port = ntohs(sa_addr->v4.sin_port);
ntohs            5231 net/sctp/socket.c 	data_len = ntohs(hmacs->param_hdr.length) - sizeof(sctp_paramhdr_t);
ntohs            5309 net/sctp/socket.c 	num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t);
ntohs            5355 net/sctp/socket.c 	num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t);
ntohs            5555 net/sctp/socket.c 	snum = ntohs(addr->v4.sin_port);
ntohs             164 net/sctp/ulpevent.c 			 ntohs(chunk->chunk_hdr->length) -
ntohs             388 net/sctp/ulpevent.c 	elen = WORD_ROUND(ntohs(ch->length)) - sizeof(sctp_errhdr_t);
ntohs             482 net/sctp/ulpevent.c 	int len = ntohs(chunk->chunk_hdr->length);
ntohs             732 net/sctp/ulpevent.c 	len = ntohs(chunk->chunk_hdr->length);
ntohs             749 net/sctp/ulpevent.c 	event->stream = ntohs(chunk->subh.data_hdr->stream);
ntohs             750 net/sctp/ulpevent.c 	event->ssn = ntohs(chunk->subh.data_hdr->ssn);
ntohs            1042 net/sctp/ulpqueue.c 		needed = ntohs(chunk->chunk_hdr->length);
ntohs             269 net/sunrpc/rpcb_clnt.c 	unsigned short port = ntohs(address_to_register->sin_port);
ntohs             300 net/sunrpc/rpcb_clnt.c 	unsigned short port = ntohs(address_to_register->sin6_port);
ntohs             507 net/sunrpc/svc_xprt.c 		return ntohs(((struct sockaddr_in *)sin)->sin_port)
ntohs             510 net/sunrpc/svc_xprt.c 		return ntohs(((struct sockaddr_in6 *)sin)->sin6_port)
ntohs            1130 net/sunrpc/svcsock.c 				     ntohs(inet_sk(inet)->sport));
ntohs            1062 net/sunrpc/xprtrdma/svc_rdma_transport.c 		ntohs(((struct sockaddr_in *)&newxprt->sc_cm_id->
ntohs            1066 net/sunrpc/xprtrdma/svc_rdma_transport.c 		ntohs(((struct sockaddr_in *)&newxprt->sc_cm_id->
ntohs             177 net/sunrpc/xprtrdma/transport.c 		snprintf(buf, 8, "%u", ntohs(addr->sin_port));
ntohs             186 net/sunrpc/xprtrdma/transport.c 			ntohs(addr->sin_port), "rdma");
ntohs             197 net/sunrpc/xprtrdma/transport.c 		snprintf(buf, 8, "%4hx", ntohs(addr->sin_port));
ntohs             204 net/sunrpc/xprtrdma/transport.c 			ntohs(addr->sin_port) >> 8,
ntohs             205 net/sunrpc/xprtrdma/transport.c 			ntohs(addr->sin_port) & 0xff);
ntohs             364 net/sunrpc/xprtrdma/transport.c 	if (ntohs(sin->sin_port) != 0)
ntohs             368 net/sunrpc/xprtrdma/transport.c 			NIPQUAD(sin->sin_addr.s_addr), ntohs(sin->sin_port));
ntohs             331 net/sunrpc/xprtrdma/verbs.c 			ntohs(addr->sin_port),
ntohs             294 net/sunrpc/xprtsock.c 				ntohs(addr->sin_port));
ntohs             304 net/sunrpc/xprtsock.c 			ntohs(addr->sin_port),
ntohs             319 net/sunrpc/xprtsock.c 				ntohs(addr->sin_port));
ntohs             327 net/sunrpc/xprtsock.c 				ntohs(addr->sin_port) >> 8,
ntohs             328 net/sunrpc/xprtsock.c 				ntohs(addr->sin_port) & 0xff);
ntohs             352 net/sunrpc/xprtsock.c 				ntohs(addr->sin6_port));
ntohs             362 net/sunrpc/xprtsock.c 				ntohs(addr->sin6_port),
ntohs             377 net/sunrpc/xprtsock.c 				ntohs(addr->sin6_port));
ntohs             385 net/sunrpc/xprtsock.c 				ntohs(addr->sin6_port) >> 8,
ntohs             386 net/sunrpc/xprtsock.c 				ntohs(addr->sin6_port) & 0xff);
ntohs             638 net/tipc/config.c 	    (ntohs(req_hdr->tcm_flags) != TCM_F_REQUEST)) {
ntohs             646 net/tipc/config.c 				  ntohs(req_hdr->tcm_type),
ntohs             488 net/tipc/socket.c 	if ((ntohs(hdr.tcm_type) & 0xC000) && (!capable(CAP_NET_ADMIN)))
ntohs              70 net/xfrm/xfrm_input.c 		*spi = htonl(ntohs(*(__be16*)(skb_transport_header(skb) + 2)));
ntohs             500 security/selinux/avc.c 		audit_log_format(ab, " %s=%d", name2, ntohs(port));
ntohs             509 security/selinux/avc.c 		audit_log_format(ab, " %s=%d", name2, ntohs(port));
ntohs            3424 security/selinux/hooks.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs            3440 security/selinux/hooks.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs            3456 security/selinux/hooks.c 		if (ntohs(ih->frag_off) & IP_OFFSET)
ntohs            3733 security/selinux/hooks.c 			snum = ntohs(addr4->sin_port);
ntohs            3737 security/selinux/hooks.c 			snum = ntohs(addr6->sin6_port);
ntohs            3828 security/selinux/hooks.c 			snum = ntohs(addr4->sin_port);
ntohs            3833 security/selinux/hooks.c 			snum = ntohs(addr6->sin6_port);
ntohs            4070 security/selinux/hooks.c 			      ntohs(ad->u.net.sport), &port_sid);
ntohs            4569 security/selinux/hooks.c 			      ntohs(ad->u.net.dport), &port_sid);