Searched refs:ETH_P_IP (Results 26 - 50 of 448) sorted by relevance

1234567891011>>

/linux-master/net/802/
H A Dfddi.c55 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP)
59 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP)
H A Dfc.c43 if (type == ETH_P_IP || type == ETH_P_ARP)
/linux-master/arch/um/drivers/
H A Dslip_kern.c44 return htons(ETH_P_IP);
H A Dslirp_kern.c49 return htons(ETH_P_IP);
/linux-master/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c45 skb->protocol = htons(ETH_P_IP);
/linux-master/net/netfilter/
H A Dnft_fib_netdev.c28 case ETH_P_IP:
H A Dnft_inner.c68 case htons(ETH_P_IP):
99 llproto = htons(ETH_P_IP);
116 case htons(ETH_P_IP): {
H A Dnft_chain_filter.c171 case htons(ETH_P_IP):
240 case htons(ETH_P_IP):
295 case htons(ETH_P_IP):
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_redirect_multi_kern.c54 if (h_proto == bpf_htons(ETH_P_IP))
H A Dexceptions.c10 #ifndef ETH_P_IP
11 #define ETH_P_IP 0x0800 macro
35 if (i == ETH_P_IP)
H A Dtest_migrate_reuseport.c56 case ETH_P_IP: {
H A Dtest_tc_edt.c104 if (skb->protocol == bpf_htons(ETH_P_IP))
H A Dbpf_flow.c121 case bpf_htons(ETH_P_IP):
148 if (keys->n_proto == bpf_htons(ETH_P_IP)) {
186 return parse_eth_proto(skb, bpf_htons(ETH_P_IP));
291 keys->addr_proto = ETH_P_IP;
H A Dtest_pkt_access.c115 if (eth->h_proto == bpf_htons(ETH_P_IP)) {
/linux-master/tools/testing/selftests/net/
H A Dpsock_snd.c109 tag[1] = htons(ETH_P_IP);
113 eth->h_proto = htons(ETH_P_IP);
175 laddr.sll_protocol = htons(ETH_P_IP);
202 laddr.sll_protocol = htons(ETH_P_IP);
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dcls.c68 case htons(ETH_P_IP):
182 tos_off = proto == htons(ETH_P_IP) ? 16 : 20;
244 if (cls_u32->common.protocol != htons(ETH_P_IP) &&
/linux-master/samples/bpf/
H A Dsockex3_kern.c140 parse_eth_proto(skb, ETH_P_IP);
241 parse_eth_proto(skb, ETH_P_IP);
284 case ETH_P_IP:
/linux-master/drivers/net/arcnet/
H A Drfc1051.c108 return htons(ETH_P_IP);
118 return htons(ETH_P_IP);
171 case ETH_P_IP:
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_selftest.c110 ethh->h_proto = htons(ETH_P_IP);
142 skb->protocol = htons(ETH_P_IP);
220 lbtp->pt.type = htons(ETH_P_IP);
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c96 arp->ar_pro != htons(ETH_P_IP))
309 case htons(ETH_P_IP):
379 if (origskb->protocol != htons(ETH_P_IP) ||
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_recv.c111 if (skb->protocol == htons(ETH_P_IP)) {
199 if (skb->protocol == htons(ETH_P_IP))
294 if (skb->protocol == htons(ETH_P_IP)) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c65 if (skb->protocol == htons(ETH_P_IP)) {
237 (skb->protocol != htons(ETH_P_IP) &&
284 (skb->protocol != htons(ETH_P_IP) &&
/linux-master/net/bridge/netfilter/
H A Debt_arpreply.c36 ap->ar_pro != htons(ETH_P_IP) ||
/linux-master/drivers/net/wan/
H A Dhdlc_raw.c26 return cpu_to_be16(ETH_P_IP);
/linux-master/net/tipc/
H A Dudp_media.c108 if (ntohs(addr->proto) == ETH_P_IP)
134 if (ntohs(ua->proto) == ETH_P_IP)
176 if (dst->proto == htons(ETH_P_IP)) {
320 if (ntohs(addr->proto) == ETH_P_IP)
345 src.proto = htons(ETH_P_IP);
411 if (ntohs(remote->proto) == ETH_P_IP) {
429 if (ntohs(addr->proto) == ETH_P_IP) {
591 addr->proto = htons(ETH_P_IP);
726 if (local.proto == htons(ETH_P_IP)) {

Completed in 259 milliseconds

1234567891011>>