Searched refs:ntohs (Results 1 - 25 of 599) sorted by path
1234567891011>>
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_clsf.c | 40 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 D | bnx2fc_els.c | 198 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 D | csio_attr.c | 92 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 D | addr.h | 27 return ntohs(((struct sockaddr_in *)sap)->sin_port); 29 return ntohs(((struct sockaddr_in6 *)sap)->sin6_port);
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_ip.c | 66 if (ntohs(ih->frag_off) & IP_OFFSET) 75 u32 dst = ntohs(pptr->tcpudphdr.dst); 82 u32 src = ntohs(pptr->tcpudphdr.src);
|
H A D | ebt_ip6.c | 82 u16 dst = ntohs(pptr->tcpudphdr.dst); 89 u16 src = ntohs(pptr->tcpudphdr.src);
|
H A D | ebt_log.c | 69 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 D | ebt_vlan.c | 47 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 D | tx.c | 188 __func__, ntohs(frag_tag)); 209 __func__, ntohs(frag_tag), skb_offset);
|
/linux-master/net/ipv4/netfilter/ |
H A D | nf_nat_snmp_basic_main.c | 130 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 D | ip_vs_nfct.c | 56 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 D | ip_vs_proto.c | 238 &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 D | ip_vs_proto_sctp.c | 413 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 D | nf_conntrack_tftp.c | 57 switch (ntohs(tfh->opcode)) {
|
H A D | xt_conntrack.c | 134 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 D | xt_dccp.c | 111 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 D | xt_ipcomp.c | 61 ntohs(chdr->cpi),
|
H A D | xt_l2tp.c | 99 flags = ntohs(lh->val16[0]); 126 data.tid = (u32) ntohs(lh->val16[0]); 127 data.sid = (u32) ntohs(lh->val16[1]);
|
H A D | xt_multiport.c | 105 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1]));
|
/linux-master/net/rxrpc/ |
H A D | utils.c | 20 switch (ntohs(skb->protocol)) { 41 ntohs(skb->protocol));
|
/linux-master/net/sched/ |
H A D | act_meta_skbtcindex.c | 33 skb->tc_index = ntohs(ifetc_index);
|
/linux-master/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 136 "type: 0x%x!\n", ntohs(eth->h_proto));
|
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 318 if (ntohs(0xaa55) == 0xaa55) {
|
/linux-master/arch/um/drivers/ |
H A D | vector_user.c | 799 bpf[3] = (struct sock_filter){ 0x15, 0, 1, ntohs(*mac2)};
|
/linux-master/drivers/atm/ |
H A D | atmtcp.c | 300 out_vcc = find_vcc(dev, ntohs(hdr->vpi), ntohs(hdr->vci));
|
Completed in 585 milliseconds
1234567891011>>