Searched refs:ETH_P_IP (Results 51 - 75 of 448) sorted by relevance

1234567891011>>

/linux-master/net/netfilter/
H A Dnf_nat_ovs.c27 if (proto == htons(ETH_P_IP) &&
H A Dnf_flow_table_inet.c33 case htons(ETH_P_IP):
H A Dxt_AUDIT.c83 case htons(ETH_P_IP):
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_hw_metadata.c50 if (eth->h_proto == bpf_htons(ETH_P_IP)) {
H A Dxdp_metadata.c46 if (eth->h_proto == bpf_htons(ETH_P_IP)) {
H A Dbpf_tracing_net.h56 #define ETH_P_IP 0x0800 macro
H A Dtest_xdp.c127 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP));
225 if (h_proto == bpf_htons(ETH_P_IP))
H A Dtest_xdp_loop.c123 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP));
221 if (h_proto == bpf_htons(ETH_P_IP))
H A Dtest_tc_neigh_fib.c98 case __bpf_constant_htons(ETH_P_IP):
/linux-master/net/batman-adv/
H A Dmulticast.c204 if (!br_multicast_has_router_adjacent(dev, ETH_P_IP))
304 qr4->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IP);
305 qr4->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IP);
562 if (src->proto == htons(ETH_P_IP))
605 if (br_ip_entry->addr.proto == htons(ETH_P_IP)) {
1014 *is_routable = ETH_P_IP;
1109 case ETH_P_IP:
1139 case ETH_P_IP:
1155 * if the protocol is ETH_P_IP or the number of nodes which want all routable
1163 case ETH_P_IP
[all...]
/linux-master/net/bridge/netfilter/
H A Debt_among.c73 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) {
104 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) {
H A Debt_arp.c43 if (ah->ar_pln != sizeof(__be32) || ah->ar_pro != htons(ETH_P_IP))
/linux-master/samples/bpf/
H A Dsockex2_kern.c120 if (likely(proto == ETH_P_IP))
158 if (proto == ETH_P_IP)
H A Dxdp_tx_iptunnel_kern.c127 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP));
228 if (h_proto == htons(ETH_P_IP))
H A Dparse_varlen.c144 if (h_proto == htons(ETH_P_IP))
H A Dxdp_adjust_tail_kern.c149 if (h_proto == htons(ETH_P_IP))
/linux-master/drivers/net/netdevsim/
H A Dpsample.c55 eth->h_proto = htons(ETH_P_IP);
56 skb->protocol = htons(ETH_P_IP);
/linux-master/net/phonet/
H A Dpep-gprs.c46 return htons(ETH_P_IP);
184 case htons(ETH_P_IP):
/linux-master/net/ipv6/
H A Dxfrm6_input.c169 if (skb->protocol == htons(ETH_P_IP))
193 if (skb->protocol == htons(ETH_P_IP))
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_redirect.c112 .sll_protocol = htons(ETH_P_IP),
149 if (eth->h_proto == htons(ETH_P_IP))
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c369 if (skb->protocol == htons(ETH_P_IP)) {
445 if (skb->protocol != htons(ETH_P_IP) &&
449 if (skb->protocol == htons(ETH_P_IP)) {
502 if (skb->protocol == htons(ETH_P_IP)) {
1342 if (fltr->tuple.eth_proto == htons(ETH_P_IP)) {
1403 if (t->eth_proto == htons(ETH_P_IP))
1419 if (a->eth_proto != htons(ETH_P_IP) ||
1420 b->eth_proto != htons(ETH_P_IP))
1794 tuple->eth_proto = htons(ETH_P_IP);
1814 tuple->eth_proto = htons(ETH_P_IP);
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_impl.c148 ETH_P_IP,
156 ETH_P_IP,
164 ETH_P_IP,
437 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP)
469 if (l3_proto != ETH_P_IP && l3_proto != ETH_P_IPV6)
499 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) {
564 if (l3_proto != ETH_P_ARP && l3_proto != ETH_P_IP &&
653 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP)
684 if (l3_proto != ETH_P_ARP && l3_proto != ETH_P_IP &&
1544 case ETH_P_IP
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c18 case ETH_P_IP:
27 case ETH_P_IP:
101 } else if (st->l3_proto == ETH_P_IP) {
/linux-master/net/core/
H A Dselftests.c100 ehdr->h_proto = htons(ETH_P_IP);
163 skb->protocol = htons(ETH_P_IP);
254 tpriv->pt.type = htons(ETH_P_IP);
/linux-master/net/sched/
H A Dem_ipset.c63 case htons(ETH_P_IP):

Completed in 431 milliseconds

1234567891011>>