Searched refs:h_proto (Results 1 - 25 of 247) sorted by path

12345678910

/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_selftest.c70 ethh->h_proto = htons(ETH_P_ARP);
/linux-master/drivers/staging/ks7010/
H A Deap_packet.h16 __be16 h_proto; /* packet type ID field */ member in struct:ether_hdr
/linux-master/net/bridge/netfilter/
H A Debt_among.c73 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) {
81 } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {
104 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) {
112 } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {
H A Debt_log.c90 ntohs(eth_hdr(skb)->h_proto));
97 if ((bitmask & EBT_LOG_IP) && eth_hdr(skb)->h_proto ==
114 if ((bitmask & EBT_LOG_IP6) && eth_hdr(skb)->h_proto ==
139 ((eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) ||
140 (eth_hdr(skb)->h_proto == htons(ETH_P_RARP)))) {
/linux-master/net/ipv6/netfilter/
H A Dip6t_eui64.c33 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c134 if (eth->h_proto != htons(ETH_P_IP)) {
136 "type: 0x%x!\n", ntohs(eth->h_proto));
154 eth->h_proto = htons(ETH_P_IP);
H A Dtxring_overwrite.c51 eth->h_proto = htons(ETH_P_IP);
/linux-master/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c157 h_eth->h_proto= ETH_P_8021Q;
165 h_eth->h_proto= 0x0800;
/linux-master/drivers/firewire/
H A Dnet.c215 put_unaligned_be16(type, &h->h_proto);
242 h->h_proto = type;
525 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) {
526 protocol = eth->h_proto;
1261 proto = hdr_buf.h_proto;
/linux-master/drivers/infiniband/core/
H A Dlag.c72 skb->protocol = eth->h_proto = htons(is_ipv4 ? ETH_P_IP : ETH_P_IPV6);
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c3361 eth_type = ntohs(eth_hdr->h_proto);
/linux-master/drivers/infiniband/hw/irdma/
H A Dcm.c489 ethh->h_proto = htons(ETH_P_IP);
521 ethh->h_proto = htons(ETH_P_IPV6);
H A Dutils.c1564 if (ethh->h_proto == htons(0x8100)) {
/linux-master/drivers/media/dvb-core/
H A Ddvb_net.c146 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN)
147 return eth->h_proto;
189 if(ntohs(hdr->h_proto) < ETH_P_802_3_MIN) {
192 if(framelen != ntohs(hdr->h_proto)) {
738 h->ethh->h_proto = htons(h->priv->ule_sndu_type);
/linux-master/drivers/net/
H A Damt.c555 eth->h_proto = htons(ETH_P_IP);
847 eth->h_proto = htons(ETH_P_IPV6);
2313 eth->h_proto = htons(ETH_P_IP);
2326 eth->h_proto = htons(ETH_P_IPV6);
2397 eth->h_proto = htons(ETH_P_IP);
2423 eth->h_proto = htons(ETH_P_IPV6);
2505 eth->h_proto = htons(ETH_P_IP);
2524 eth->h_proto = htons(ETH_P_IPV6);
/linux-master/drivers/net/bonding/
H A Dbond_3ad.c923 lacpdu_header->hdr.h_proto = PKT_TYPE_LACPDU;
976 marker_header->hdr.h_proto = PKT_TYPE_LACPDU;
H A Dbond_main.c4051 return ep->h_dest[5] ^ ep->h_source[5] ^ be16_to_cpu(ep->h_proto);
4239 return __bond_xmit_hash(bond, NULL, xdp->data, eth->h_proto, 0,
4929 if (eth->h_proto == htons(ETH_P_IP)) {
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c2802 netdev_dbg(netdev, "Protocol: %#06x\n", ntohs(eth->h_proto));
/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_main.c171 return (eth->h_proto == htons(ETH_P_8021Q)) ? VLAN_ETH_HLEN : ETH_HLEN;
661 if (ntohs(eth_hdr(skb)->h_proto) < 46)
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c142 fsp->m_u.ether_spec.h_proto == 0U) {
323 data->ethertype = be16_to_cpu(fsp->h_u.ether_spec.h_proto);
H A Daq_main.c121 unlikely(eth_hdr(skb)->h_proto == htons(ETH_P_1588)))
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c1424 return (eth->h_proto == htons(ETH_P_1588)) ? 12 : 14;
/linux-master/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c433 &fs->h_u.ether_spec.h_proto,
434 &fs->m_u.ether_spec.h_proto,
435 sizeof(fs->h_u.ether_spec.h_proto));
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c1935 u16 ether_type = ntohs(hdr->h_proto);
3924 cpu_to_le16(ntohs(eth->h_proto));
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c12648 switch (eh->h_proto) {

Completed in 620 milliseconds

12345678910