Searched refs:h_proto (Results 76 - 100 of 247) sorted by relevance

12345678910

/linux-master/samples/bpf/
H A Dtest_lwt_bpf.c171 ehdr.h_proto = bpf_htons(ETH_P_IP);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_do_redirect.c24 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
H A Dlwt_redirect.c149 if (eth->h_proto == htons(ETH_P_IP))
H A Dxdp_metadata.c182 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 Dhsr_main.h266 if (ethhdr->h_proto == htons(ETH_P_8021Q))
/linux-master/net/dsa/
H A Dtag_ocelot.c177 eth_hdr(skb)->h_proto == htons(vlan_tpid)) {
/linux-master/drivers/scsi/fnic/
H A Dfnic_fcs.c392 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 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/ethernet/sfc/
H A Dethtool_common.c746 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 Dtx_tso.c147 EFX_WARN_ON_ONCE_PARANOID(((struct ethhdr *)skb->data)->h_proto !=
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c893 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 Dethtool_common.c746 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 Dmulticast_forw.c286 switch (eth_hdr(skb)->h_proto) {
332 switch (eth_hdr(skb)->h_proto) {
H A Dmain.c376 switch (ethhdr->h_proto) {
632 if (ethhdr->h_proto != htons(ETH_P_8021Q))
H A Dmulticast.c1108 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 Dcdc_mbim.c250 is_ip = is_ip_proto(eth_hdr(skb)->h_proto);
397 eth_hdr(skb)->h_proto = proto;
/linux-master/net/bridge/
H A Dbr_device.c65 (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 Dtest_tc_tunnel.c242 /* 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 Dxdpwall.c333 proto = eth->h_proto;
/linux-master/drivers/scsi/qedf/
H A Dqedf_fip.c38 vlan->eth.h_proto = htons(ETH_P_FIP);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_selftest.c110 ethh->h_proto = htons(ETH_P_IP);
/linux-master/net/netfilter/
H A Dnft_log.c81 switch (eth_hdr(skb)->h_proto) {
/linux-master/net/ipv4/
H A Dip_tunnel_core.c107 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 Dlockd.h52 unsigned short h_proto; /* transport proto */ member in struct:nlm_host
/linux-master/net/sched/
H A Dact_skbmod.c74 eth_hdr(skb)->h_proto = p->eth_type;

Completed in 251 milliseconds

12345678910