/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_selftest.c | 70 ethh->h_proto = htons(ETH_P_ARP);
|
/linux-master/drivers/staging/ks7010/ |
H A D | eap_packet.h | 16 __be16 h_proto; /* packet type ID field */ member in struct:ether_hdr
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_among.c | 73 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 D | ebt_log.c | 90 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 D | ip6t_eui64.c | 33 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
|
/linux-master/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 134 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 D | txring_overwrite.c | 51 eth->h_proto = htons(ETH_P_IP);
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | gelic_udbg.c | 157 h_eth->h_proto= ETH_P_8021Q; 165 h_eth->h_proto= 0x0800;
|
/linux-master/drivers/firewire/ |
H A D | net.c | 215 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 D | lag.c | 72 skb->protocol = eth->h_proto = htons(is_ipv4 ? ETH_P_IP : ETH_P_IPV6);
|
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 3361 eth_type = ntohs(eth_hdr->h_proto);
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 489 ethh->h_proto = htons(ETH_P_IP); 521 ethh->h_proto = htons(ETH_P_IPV6);
|
H A D | utils.c | 1564 if (ethh->h_proto == htons(0x8100)) {
|
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_net.c | 146 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 D | amt.c | 555 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 D | bond_3ad.c | 923 lacpdu_header->hdr.h_proto = PKT_TYPE_LACPDU; 976 marker_header->hdr.h_proto = PKT_TYPE_LACPDU;
|
H A D | bond_main.c | 4051 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 D | xgbe-drv.c | 2802 netdev_dbg(netdev, "Protocol: %#06x\n", ntohs(eth->h_proto));
|
/linux-master/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_main.c | 171 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 D | aq_filters.c | 142 fsp->m_u.ether_spec.h_proto == 0U) { 323 data->ethertype = be16_to_cpu(fsp->h_u.ether_spec.h_proto);
|
H A D | aq_main.c | 121 unlikely(eth_hdr(skb)->h_proto == htons(ETH_P_1588)))
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 1424 return (eth->h_proto == htons(ETH_P_1588)) ? 12 : 14;
|
/linux-master/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 433 &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 D | bnx2x_cmn.c | 1935 u16 ether_type = ntohs(hdr->h_proto); 3924 cpu_to_le16(ntohs(eth->h_proto));
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 12648 switch (eh->h_proto) {
|