in_canforward
int in_canforward(struct in_addr);
if (!in_canforward(ip->ip_src) &&
if (m->m_flags & (M_BCAST | M_MCAST) || !in_canforward(pkt_dst)) {