Searched refs:ETH_P_IP (Results 226 - 250 of 448) sorted by relevance

1234567891011>>

/linux-master/net/bpf/
H A Dtest_run.c1031 case htons(ETH_P_IP):
1571 return htons(ETH_P_IP);
1645 case htons(ETH_P_IP):
/linux-master/net/ipv4/
H A Dip_gre.c235 if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IP),
441 hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IP), 0);
562 if (skb->protocol == htons(ETH_P_IP) &&
H A Daf_inet.c1654 skb_set_inner_protocol(skb, cpu_to_be16(ETH_P_IP));
1923 .type = cpu_to_be16(ETH_P_IP),
1937 .type = cpu_to_be16(ETH_P_IP),
H A Dip_output.c116 skb->protocol = htons(ETH_P_IP);
375 skb->protocol = htons(ETH_P_IP);
431 skb->protocol = htons(ETH_P_IP);
/linux-master/drivers/net/
H A Dgtp.c196 case ETH_P_IP:
895 case ETH_P_IP:
908 case ETH_P_IP:
/linux-master/tools/testing/selftests/net/
H A Dmsg_zerocopy.c497 uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6;
/linux-master/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c364 cfg_l3_inner == PF_INET ? ETH_P_IP
H A Dxdp_hw_metadata.c354 if (eth->h_proto == htons(ETH_P_IP)) {
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb.c464 if (eth_proto == bpf_htons(ETH_P_IP))
H A Dtest_l4lb_noinline.c463 if (eth_proto == bpf_htons(ETH_P_IP))
H A Dtest_l4lb_noinline_dynptr.c474 if (eth_proto == bpf_htons(ETH_P_IP))
/linux-master/drivers/net/wireguard/
H A Dsocket.c239 if (skb->protocol == htons(ETH_P_IP)) {
/linux-master/drivers/net/wwan/
H A Dmhi_wwan_mbim.c316 skbn->protocol = htons(ETH_P_IP);
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c509 if (first->protocol == htons(ETH_P_IP))
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dselftest.c389 payload->header.h_proto = htons(ETH_P_IP);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c391 payload->header.h_proto = htons(ETH_P_IP);
/linux-master/drivers/net/ethernet/sfc/
H A Dselftest.c388 payload->header.h_proto = htons(ETH_P_IP);
/linux-master/drivers/net/hyperv/
H A Dnetvsc_drv.c429 if (skb->protocol == htons(ETH_P_IP)) {
607 if (skb->protocol == htons(ETH_P_IP)) {
633 if (skb->protocol == htons(ETH_P_IP)) {
840 skb->protocol == htons(ETH_P_IP)) {
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c212 .h_proto = htons(ETH_P_IP),
/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_main.c264 case htons(ETH_P_IP):
276 case ntohs(ETH_P_IP):
633 case ntohs(ETH_P_IP):
659 if (skb->protocol == cpu_to_be16(ETH_P_IP)) {
/linux-master/net/bluetooth/bnep/
H A Dcore.c92 s->proto_filter[0].start = ETH_P_IP;
/linux-master/net/batman-adv/
H A Dmain.c385 case htons(ETH_P_IP):
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c60 (skb->protocol != htons(ETH_P_IP) &&
67 if (skb->protocol == htons(ETH_P_IP)) {
112 if (skb->protocol == htons(ETH_P_IP) && amsdu) {
944 bool ipv4 = (skb->protocol == htons(ETH_P_IP));
/linux-master/net/sched/
H A Dact_pedit.c339 case htons(ETH_P_IP): {
H A Dact_csum.c591 case cpu_to_be16(ETH_P_IP):

Completed in 264 milliseconds

1234567891011>>