Searched refs:h_proto (Results 101 - 125 of 249) sorted by relevance
12345678910
/linux-master/net/netfilter/ |
H A D | nft_chain_filter.c | 239 switch (eth_hdr(skb)->h_proto) {
|
H A D | nft_payload.c | 162 if (len > offsetof(struct ethhdr, h_proto)) 336 case offsetof(struct ethhdr, h_proto):
|
/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 | tap.c | 225 eth->h_proto = htons(proto);
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 357 if (eth_mask->h_proto) { 359 *(__be16 *)(key + off) = eth_value->h_proto; 360 *(__be16 *)(mask + off) = eth_mask->h_proto;
|
/linux-master/drivers/net/usb/ |
H A D | sierra_net.c | 228 skb->protocol = eth_hdr(skb)->h_proto; 839 if (eth_hdr(skb)->h_proto != cpu_to_be16(ETH_P_IPV6)) 840 eth_hdr(skb)->h_proto = cpu_to_be16(ETH_P_IP);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 325 MLX5E_FTE_SET(headers_c, ethertype, ntohs(eth_mask->h_proto)); 326 MLX5E_FTE_SET(headers_v, ethertype, ntohs(eth_val->h_proto)); 567 if (eth_mask->h_proto)
|
/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/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 1026 __be16 proto = eth->h_proto; 1037 proto = __vlan_get_protocol(skb, eth->h_proto, NULL); 1047 } else if (eth_type_vlan(eth->h_proto)) { 1048 proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth); 1119 if (ntohs(eth->h_proto) == ETH_P_IPV6)
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 1381 fs->h_u.ether_spec.h_proto = entry->key.l3_proto; 1382 fs->m_u.ether_spec.h_proto = entry->msk.l3_proto; 1564 entry->msk.l3_proto = fs->m_u.ether_spec.h_proto; 1565 entry->key.l3_proto = fs->h_u.ether_spec.h_proto & entry->msk.l3_proto; 1657 if (fs->h_u.ether_spec.h_proto == htons(ETH_P_IP) || 1658 fs->h_u.ether_spec.h_proto == htons(ETH_P_IPV6)) { 1665 (fs->m_u.ether_spec.h_proto != htons(0xffff));
|
/linux-master/drivers/scsi/qedi/ |
H A D | qedi_main.c | 687 if (eh->h_proto == htons(ETH_P_8021Q)) { 694 if (eh->h_proto != htons(ETH_P_ARP) && 695 eh->h_proto != htons(ETH_P_IP) && 696 eh->h_proto != htons(ETH_P_IPV6)) { 699 eh->h_proto, skb->len); 706 eh->h_proto, skb->len);
|
/linux-master/net/wireless/ |
H A D | util.c | 573 &payload.eth.h_proto))) 578 payload.eth.h_proto = htons(skb->len - hdrlen); 662 ieee80211_get_8023_tunnel_proto(&payload, &tmp.h_proto))) { 667 tmp.h_proto = htons(skb->len - hdrlen); 856 len = ieee80211_amsdu_subframe_length(&hdr.eth.h_proto, hdr.flags, 898 ieee80211_get_8023_tunnel_proto(frame->data, &hdr.eth.h_proto)))
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mac.c | 975 if (eth_hdr->h_proto == cpu_to_be16(ETH_P_AARP) || 976 eth_hdr->h_proto == cpu_to_be16(ETH_P_IPX)) 978 else if (be16_to_cpu(eth_hdr->h_proto) >= ETH_P_802_3_MIN)
|
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | rtw_xmit.h | 443 extern s32 rtw_put_snap(u8 *data, u16 h_proto);
|
/linux-master/net/bridge/ |
H A D | br_arp_nd_proxy.c | 299 eth_hdr(reply)->h_proto = htons(ETH_P_IPV6);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_flow.c | 222 return parse_eth_proto(skb, eth->h_proto);
|
/linux-master/net/core/ |
H A D | selftests.c | 100 ehdr->h_proto = htons(ETH_P_IP);
|
/linux-master/include/net/ |
H A D | vxlan.h | 384 !can_checksum_protocol(features, inner_eth_hdr(skb)->h_proto))))
|
H A D | llc_pdu.h | 354 dsize = ntohs(eth_hdr(ev_skb)->h_proto) - 3;
|
/linux-master/net/ncsi/ |
H A D | ncsi-cmd.c | 380 eh->h_proto = htons(ETH_P_NCSI);
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1031 fsp->h_u.ether_spec.h_proto = rule->eth_data.etype; 1032 fsp->m_u.ether_spec.h_proto = rule->eth_mask.etype; 1223 fltr->eth_data.etype = fsp->h_u.ether_spec.h_proto; 1224 fltr->eth_mask.etype = fsp->m_u.ether_spec.h_proto;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 1221 if (fsp->m_u.ether_spec.h_proto && fsp->m_ext.vlan_tci && 1247 !eth_spec->h_proto) 1251 if (eth_spec->h_proto == htons(0xFFFF)) { 1256 } else if (eth_spec->h_proto) {
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_main.c | 121 unlikely(eth_hdr(skb)->h_proto == htons(ETH_P_1588)))
|
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);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | cls_redirect.c | 223 .eth = { .h_proto = htons(ETH_P_IP) },
|
Completed in 709 milliseconds
12345678910