Searched refs:ntohs (Results 126 - 150 of 599) sorted by last modified time

1234567891011>>

/linux-master/net/ipv4/
H A Dinet_diag.c808 entry.dport = ntohs(inet->inet_dport);
H A Digmp.c453 pih->ngrec = htons(ntohs(pih->ngrec)+1);
1001 + ntohs(ih3->nsrcs)*sizeof(__be32)))
1062 igmp_marksources(im, ntohs(ih3->nsrcs), ih3->srcs);
1521 len = skb_network_offset(skb) + ntohs(iph->tot_len);
H A Dfou_core.c62 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len);
65 htons(ntohs(ipv6_hdr(skb)->payload_len) - len);
95 size_t start = ntohs(pd[0]);
96 size_t offset = ntohs(pd[1]);
183 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len);
186 htons(ntohs(ipv6_hdr(skb)->payload_len) - len);
289 size_t start = ntohs(pd[0]);
290 size_t offset = ntohs(pd[1]);
/linux-master/net/ethtool/
H A Dioctl.c3411 ntohs(ext_h_spec->vlan_tci) & 0x0fff;
3413 ntohs(ext_m_spec->vlan_tci) & 0x0fff;
3421 (ntohs(ext_h_spec->vlan_tci) & 0xe000) >> 13;
3423 (ntohs(ext_m_spec->vlan_tci) & 0xe000) >> 13;
/linux-master/net/dsa/
H A Dtag_sja1105.c83 if (ntohs(hdr->h_proto) == ETH_P_SJA1105_META)
134 if (ntohs(hdr->h_proto) != ETH_P_SJA1105_META)
464 u16 tpid = ntohs(eth_hdr(skb)->h_proto);
472 return ntohs(eth_hdr(skb)->h_proto) == ETH_P_SJA1110;
488 vlan_tci = ntohs(hdr->h_vlan_TCI);
627 rx_header = ntohs(*(__be16 *)skb->data);
/linux-master/net/core/
H A Dnet-procfs.c246 hash = ntohs(pt->type) & PTYPE_HASH_MASK;
274 seq_printf(seq, "%04x", ntohs(pt->type));
/linux-master/net/bridge/
H A Dbr_vlan.c930 *p_proto = ntohs(br->vlan_proto);
943 .u.vlan_protocol = ntohs(proto),
988 attr.u.vlan_protocol = ntohs(oldproto);
/linux-master/net/bluetooth/bnep/
H A Dcore.c358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) {
/linux-master/net/batman-adv/
H A Dnetlink.c254 ntohs(bat_priv->bla.claim_dest.group)))
H A Dmain.c382 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK;
639 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK;
H A Ddistributed-arp-table.c1060 type = ntohs(arphdr->ar_op);
/linux-master/net/8021q/
H A Dvlan_dev.c73 type = ntohs(vlan->vlan_proto);
/linux-master/include/trace/events/
H A Dtcp.h77 __entry->sport = ntohs(inet->inet_sport);
78 __entry->dport = ntohs(inet->inet_dport);
146 __entry->sport = ntohs(inet->inet_sport);
147 __entry->dport = ntohs(inet->inet_dport);
217 __entry->dport = ntohs(ireq->ir_rmt_port);
277 __entry->sport = ntohs(inet->inet_sport);
278 __entry->dport = ntohs(inet->inet_dport);
406 __entry->sport = ntohs(inet->inet_sport);
407 __entry->dport = ntohs(inet->inet_dport);
H A Drxrpc.h1068 ntohs(__entry->whdr.serviceId),
/linux-master/include/net/sctp/
H A Dstructs.h680 return ntohs(ch->subh.data_hdr->stream);
/linux-master/include/linux/lockd/
H A Dlockd.h325 if (ntohs(sin->sin_port) > 1023)
336 if (ntohs(sin6->sin6_port) > 1023)
/linux-master/include/linux/
H A Dipv6.h123 return ntohs(ipv6_hdr(skb)->payload_len) + sizeof(struct ipv6hdr) -
/linux-master/fs/nfsd/
H A Dnfsd.h449 port = ntohs(sin->sin_port);
454 port = ntohs(sin6->sin6_port);
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c159 total_length = ntohs(ip_hdr_ptr->tot_len);
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c828 if (ntohs(eth_hdr->h_proto) == ETH_P_TDLS)
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c946 u16 ip_base_id = ipv4 ? ntohs(ip_hdr(skb)->id) : 0;
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c425 brcmf_dbg(DATA, "rx proto=0x%X\n", ntohs(skb->protocol));
544 type = ntohs(eh->h_proto);
/linux-master/drivers/net/usb/
H A Dlan78xx.c3523 skb->csum = ntohs((u16)(rx_cmd_b >> RX_CMD_B_CSUM_SHIFT_));
H A Dhso.c872 frame_len = ntohs(odev->rx_ip_hdr.tot_len);
/linux-master/drivers/net/ppp/
H A Dppp_generic.c1434 npi = ethertype_to_npindex(ntohs(skb->protocol));

Completed in 320 milliseconds

1234567891011>>