Searched refs:ETH_P_IP (Results 1 – 13 of 13) sorted by relevance
77 if (skb->protocol == __constant_htons(ETH_P_IP)) in nf_bridge_pad()
45 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
567 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro629 rah->ar_pro = htons(ETH_P_IP); in arp_input()665 case ETH_P_IP: in slirp_input()711 rah->ar_pro = htons(ETH_P_IP); in if_encap()731 eh->h_proto = htons(ETH_P_IP); in if_encap()
84 { ETH_P_IP, "ipv4" },
656 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro722 rah->ar_pro = htons(ETH_P_IP); in arp_input()758 case ETH_P_IP: in slirp_input()804 rah->ar_pro = htons(ETH_P_IP); in if_encap()824 eh->h_proto = htons(ETH_P_IP); in if_encap()
504 if(ntohs(tun_header->proto) == ETH_P_IP) { in translate_packet()510 fill_tun_header(&tun_targ, ETH_P_IP); in translate_packet()
212 ah->ar_pro = htons(ETH_P_IP); in send_probe()507 a->ar_pro != htons(ETH_P_IP) || in get_arp_pkt()
282 ah->ar_pro = htons(ETH_P_IP); in send_pack()402 if (ah->ar_pro != htons(ETH_P_IP)) in recv_pack()
474 if (a->ar_pro != htons(ETH_P_IP)) { in serve_it()
484 if(ntohs(hdr->h_proto) == ETH_P_IP || ntohs(hdr->h_proto) == ETH_P_ARP) in should_forward()
284 skb->protocol = __constant_htons(ETH_P_IP); in fill_packet()
952 {ETH_P_IP, 0, print_ipv4},