Searched refs:ETH_P_IP (Results 76 - 100 of 448) sorted by relevance

1234567891011>>

/linux-master/net/netfilter/
H A Dnft_reject_netdev.c97 case htons(ETH_P_IP):
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_check_syncookie_kern.c65 case ETH_P_IP:
H A Dtest_select_reuseport_kern.c83 if (data_check.eth_protocol == bpf_htons(ETH_P_IP)) {
H A Dtest_sk_lookup_kern.c29 if (eth_proto == bpf_htons(ETH_P_IP)) {
H A Dtest_sk_assign.c68 if (eth->h_proto == bpf_htons(ETH_P_IP)) {
H A Dtest_assign_reuse.c117 if (eth->h_proto == bpf_htons(ETH_P_IP)) {
H A Dxdping_kern.c71 if (eth->h_proto != bpf_htons(ETH_P_IP))
H A Dtest_xdp_dynptr.c132 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP));
247 if (h_proto == bpf_htons(ETH_P_IP))
/linux-master/samples/bpf/
H A Dxdp_router_ipv4.bpf.c109 case ETH_P_IP: {
/linux-master/include/uapi/linux/
H A Dif_ether.h52 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_net.c335 if (skb->protocol == htons(ETH_P_IP))
369 if (skb->protocol == htons(ETH_P_IP)) {
397 if (skb->protocol == htons(ETH_P_IP))
500 skb->protocol = htons(ETH_P_IP);
/linux-master/drivers/infiniband/core/
H A Dlag.c72 skb->protocol = eth->h_proto = htons(is_ipv4 ? ETH_P_IP : ETH_P_IPV6);
/linux-master/net/netrom/
H A Dnr_dev.c52 skb->protocol = htons(ETH_P_IP);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_arfs.c320 if (fk->basic.n_proto == htons(ETH_P_IP)) {
352 * @l3_proto: ETH_P_IP or ETH_P_IPV6 in network order
368 if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_UDP)
370 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP)
424 if ((n_proto == htons(ETH_P_IP) && !ip_is_fragment(ip_hdr(skb))) ||
/linux-master/include/net/netfilter/
H A Dnf_queue.h87 case htons(ETH_P_IP):
/linux-master/include/net/
H A Dip_tunnels.h354 case htons(ETH_P_IP):
383 case htons(ETH_P_IP):
387 /* For ETH_P_IPV6/ETH_P_IP we make sure to pull
445 if (payload_protocol == htons(ETH_P_IP))
469 if (payload_protocol == htons(ETH_P_IP))
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dptp.h84 if (fk.basic.n_proto != htons(ETH_P_IP) &&
/linux-master/drivers/net/ethernet/sfc/
H A Dtx_tso.c155 if (protocol == htons(ETH_P_IP)) {
183 if (st->protocol == htons(ETH_P_IP)) {
H A Drx_common.c648 if (spec->ether_type == htons(ETH_P_IP) &&
901 if (req->spec.ether_type == htons(ETH_P_IP))
917 if (req->spec.ether_type == htons(ETH_P_IP))
972 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) {
992 if (fk.basic.n_proto == htons(ETH_P_IP)) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c501 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_TCP)
503 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_UDP)
565 if (tuple->etype == htons(ETH_P_IP)) {
678 if (tuple->etype == htons(ETH_P_IP)) {
705 if (tuple->etype == htons(ETH_P_IP))
744 if (fk.basic.n_proto != htons(ETH_P_IP) &&
/linux-master/net/bridge/
H A Dbr_netfilter_hooks.c71 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP))
93 return vlan_proto(skb) == htons(ETH_P_IP) && brnet->filter_vlan_tagged;
550 skb->protocol = htons(ETH_P_IP);
659 if (skb->protocol == htons(ETH_P_IP))
721 skb->protocol = htons(ETH_P_IP);
876 skb->protocol == htons(ETH_P_IP)) {
967 skb->protocol = htons(ETH_P_IP);
/linux-master/net/xfrm/
H A Dxfrm_output.c414 skb->protocol = htons(ETH_P_IP);
697 case ETH_P_IP:
797 skb->protocol = htons(ETH_P_IP);
884 case htons(ETH_P_IP):
898 if (skb->protocol == htons(ETH_P_IP))
/linux-master/drivers/net/ethernet/sfc/siena/
H A Drx_common.c650 if (spec->ether_type == htons(ETH_P_IP) &&
906 if (req->spec.ether_type == htons(ETH_P_IP))
922 if (req->spec.ether_type == htons(ETH_P_IP))
978 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) {
998 if (fk.basic.n_proto == htons(ETH_P_IP)) {
/linux-master/drivers/net/
H A Dbareudp.c75 if (skb->protocol == htons(ETH_P_IP))
80 if (bareudp->ethertype == htons(ETH_P_IP)) {
91 proto = htons(ETH_P_IP);
425 if (bareudp->ethertype == htons(ETH_P_IP) &&
633 conf->ethertype != htons(ETH_P_IP))) {
/linux-master/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.c261 if (skb->protocol == htons(ETH_P_IP)) {
420 if (skb->protocol == htons(ETH_P_IP))
451 if (skb->protocol == htons(ETH_P_IP)) {

Completed in 196 milliseconds

1234567891011>>