Searched refs:h_proto (Results 76 - 100 of 247) sorted by relevance
12345678910
/linux-master/samples/bpf/ |
H A D | test_lwt_bpf.c | 171 ehdr.h_proto = bpf_htons(ETH_P_IP);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_do_redirect.c | 24 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
|
H A D | lwt_redirect.c | 149 if (eth->h_proto == htons(ETH_P_IP))
|
H A D | xdp_metadata.c | 182 eth->h_proto = htons(ETH_P_IP); 314 ASSERT_EQ(eth->h_proto, htons(ETH_P_IP), "eth->h_proto");
|
/linux-master/net/hsr/ |
H A D | hsr_main.h | 266 if (ethhdr->h_proto == htons(ETH_P_8021Q))
|
/linux-master/net/dsa/ |
H A D | tag_ocelot.c | 177 eth_hdr(skb)->h_proto == htons(vlan_tpid)) {
|
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 392 vlan->eth.h_proto = htons(ETH_P_FIP); 627 if (eh->h_proto == htons(ETH_P_FIP)) { 670 if (eh->h_proto == htons(ETH_P_8021Q)) { 675 if (eh->h_proto == htons(ETH_P_FIP)) { 690 if (eh->h_proto != htons(ETH_P_FCOE)) 1031 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; 1102 eth_hdr->h_proto = htons(ETH_P_FCOE);
|
/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/ethernet/sfc/ |
H A D | ethtool_common.c | 746 mac_entry->h_proto = spec.ether_type; 747 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; 1101 if (mac_mask->h_proto) { 1102 if (mac_mask->h_proto != ETHER_TYPE_FULL_MASK) 1105 spec.ether_type = mac_entry->h_proto;
|
H A D | tx_tso.c | 147 EFX_WARN_ON_ONCE_PARANOID(((struct ethhdr *)skb->data)->h_proto !=
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 893 mac_entry->h_proto = spec.ether_type; 894 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; 1203 if (mac_mask->h_proto) { 1204 if (mac_mask->h_proto != ETHER_TYPE_FULL_MASK) 1207 spec.ether_type = mac_entry->h_proto;
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 746 mac_entry->h_proto = spec.ether_type; 747 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; 1102 if (mac_mask->h_proto) { 1103 if (mac_mask->h_proto != ETHER_TYPE_FULL_MASK) 1106 spec.ether_type = mac_entry->h_proto;
|
/linux-master/net/batman-adv/ |
H A D | multicast_forw.c | 286 switch (eth_hdr(skb)->h_proto) { 332 switch (eth_hdr(skb)->h_proto) {
|
H A D | main.c | 376 switch (ethhdr->h_proto) { 632 if (ethhdr->h_proto != htons(ETH_P_8021Q))
|
H A D | multicast.c | 1108 switch (ntohs(ethhdr->h_proto)) { 1138 switch (ntohs(ethhdr->h_proto)) { 1430 switch (ntohs(eth_hdr(skb)->h_proto)) { 1533 switch (ntohs(eth_hdr(skb)->h_proto)) {
|
/linux-master/drivers/net/usb/ |
H A D | cdc_mbim.c | 250 is_ip = is_ip_proto(eth_hdr(skb)->h_proto); 397 eth_hdr(skb)->h_proto = proto;
|
/linux-master/net/bridge/ |
H A D | br_device.c | 65 (eth_hdr(skb)->h_proto == htons(ETH_P_ARP) || 66 eth_hdr(skb)->h_proto == htons(ETH_P_RARP)) &&
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 242 /* if changing outer proto type, update eth->h_proto */ 248 eth.h_proto = bpf_htons(ETH_P_IP); 418 /* update eth->h_proto */ 421 eth.h_proto = bpf_htons(ETH_P_IPV6);
|
H A D | xdpwall.c | 333 proto = eth->h_proto;
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_fip.c | 38 vlan->eth.h_proto = htons(ETH_P_FIP);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_selftest.c | 110 ethh->h_proto = htons(ETH_P_IP);
|
/linux-master/net/netfilter/ |
H A D | nft_log.c | 81 switch (eth_hdr(skb)->h_proto) {
|
/linux-master/net/ipv4/ |
H A D | ip_tunnel_core.c | 107 if (likely(eth_proto_is_802_3(eh->h_proto))) 108 skb->protocol = eh->h_proto; 248 eth_header(skb, skb->dev, ntohs(eh.h_proto), eh.h_source, eh.h_dest, 0); 341 eth_header(skb, skb->dev, ntohs(eh.h_proto), eh.h_source, eh.h_dest, 0);
|
/linux-master/include/linux/lockd/ |
H A D | lockd.h | 52 unsigned short h_proto; /* transport proto */ member in struct:nlm_host
|
/linux-master/net/sched/ |
H A D | act_skbmod.c | 74 eth_hdr(skb)->h_proto = p->eth_type;
|
Completed in 251 milliseconds
12345678910