switch (ntohs(eh->h_proto)) {
case ETH_P_ARP:
case ETH_P_IP:
case htons_constant(ETH_P_IP):
packet_add(pool_tap4, len, pkt_buf + n);
break;
case ETH_P_IPV6: