Searched refs:ntohs (Results 1 - 25 of 599) sorted by path

1234567891011>>

/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c40 data.u.ipv4.src_port = ntohs(keys->ports.src);
41 data.u.ipv4.dst_port = ntohs(keys->ports.dst);
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c198 cb_arg->l2_oxid = ntohs(fh->fh_ox_id);
226 cb_arg->l2_oxid = ntohs(fh->fh_ox_id);
254 cb_arg->l2_oxid = ntohs(fh->fh_ox_id);
/linux-master/drivers/scsi/csiostor/
H A Dcsio_attr.c92 rport->maxframe_size = ntohs(sp->csp.sp_bb_data);
93 if (ntohs(sp->clsp[2].cp_class) & FC_CPC_VALID)
195 fc_host_maxframe_size(shost) = ntohs(ln->ln_sparm.csp.sp_bb_data);
/linux-master/include/linux/sunrpc/
H A Daddr.h27 return ntohs(((struct sockaddr_in *)sap)->sin_port);
29 return ntohs(((struct sockaddr_in6 *)sap)->sin6_port);
/linux-master/net/bridge/netfilter/
H A Debt_ip.c66 if (ntohs(ih->frag_off) & IP_OFFSET)
75 u32 dst = ntohs(pptr->tcpudphdr.dst);
82 u32 src = ntohs(pptr->tcpudphdr.src);
H A Debt_ip6.c82 u16 dst = ntohs(pptr->tcpudphdr.dst);
89 u16 src = ntohs(pptr->tcpudphdr.src);
H A Debt_log.c69 pr_cont(" SPT=%u DPT=%u", ntohs(pptr->src), ntohs(pptr->dst));
90 ntohs(eth_hdr(skb)->h_proto));
150 ntohs(ah->ar_hrd), ntohs(ah->ar_pro),
151 ntohs(ah->ar_op));
H A Debt_vlan.c47 TCI = ntohs(fp->h_vlan_TCI);
85 ntohs(e->ethproto));
141 if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) {
143 "minimal\n", ntohs(info->encap));
/linux-master/net/ieee802154/6lowpan/
H A Dtx.c188 __func__, ntohs(frag_tag));
209 __func__, ntohs(frag_tag), skb_offset);
/linux-master/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic_main.c130 u16 datalen = ntohs(udph->len) - sizeof(struct udphdr);
184 if (ntohs(udph->len) != skb->len - (iph->ihl << 2)) {
/linux-master/net/netfilter/ipvs/
H A Dip_vs_nfct.c56 ntohs((T)->src.u.all), \
58 ntohs((T)->dst.u.all), \
63 ntohs((C)->cport), \
65 ntohs((C)->vport), \
67 ntohs((C)->dport), \
H A Dip_vs_proto.c238 &ih->saddr, ntohs(pptr[0]),
239 &ih->daddr, ntohs(pptr[1]));
270 &ih->saddr, ntohs(pptr[0]),
271 &ih->daddr, ntohs(pptr[1]));
H A Dip_vs_proto_sctp.c413 int clen = ntohs(sch->length);
447 ntohs(cp->dport),
449 ntohs(cp->cport),
543 ntohs(cp->cport),
545 ntohs(cp->vport),
546 inc->name, ntohs(inc->port));
/linux-master/net/netfilter/
H A Dnf_conntrack_tftp.c57 switch (ntohs(tfh->opcode)) {
H A Dxt_conntrack.c134 ntohs(tuple->src.u.all),
140 ntohs(tuple->dst.u.all),
148 ntohs(tuple->src.u.all),
154 ntohs(tuple->dst.u.all),
H A Dxt_dccp.c111 return DCCHECK(ntohs(dh->dccph_sport) >= info->spts[0]
112 && ntohs(dh->dccph_sport) <= info->spts[1],
114 && DCCHECK(ntohs(dh->dccph_dport) >= info->dpts[0]
115 && ntohs(dh->dccph_dport) <= info->dpts[1],
H A Dxt_ipcomp.c61 ntohs(chdr->cpi),
H A Dxt_l2tp.c99 flags = ntohs(lh->val16[0]);
126 data.tid = (u32) ntohs(lh->val16[0]);
127 data.sid = (u32) ntohs(lh->val16[1]);
H A Dxt_multiport.c105 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1]));
/linux-master/net/rxrpc/
H A Dutils.c20 switch (ntohs(skb->protocol)) {
41 ntohs(skb->protocol));
/linux-master/net/sched/
H A Dact_meta_skbtcindex.c33 skb->tc_index = ntohs(ifetc_index);
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c136 "type: 0x%x!\n", ntohs(eth->h_proto));
/linux-master/arch/mips/boot/
H A Delf2ecoff.c318 if (ntohs(0xaa55) == 0xaa55) {
/linux-master/arch/um/drivers/
H A Dvector_user.c799 bpf[3] = (struct sock_filter){ 0x15, 0, 1, ntohs(*mac2)};
/linux-master/drivers/atm/
H A Datmtcp.c300 out_vcc = find_vcc(dev, ntohs(hdr->vpi), ntohs(hdr->vci));

Completed in 585 milliseconds

1234567891011>>