summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2007-02-07 20:36:33 +0000
committerbms <bms@FreeBSD.org>2007-02-07 20:36:33 +0000
commit6fc869225c5f71e0c78195bbedf5a9504f9e1231 (patch)
tree8463cba8d11d542f881f1d04ba1c3ab9f38bab9f /sys/netinet
parent27ee9044d243bf71e0213ad0f88e42643473278f (diff)
downloadFreeBSD-src-6fc869225c5f71e0c78195bbedf5a9504f9e1231.zip
FreeBSD-src-6fc869225c5f71e0c78195bbedf5a9504f9e1231.tar.gz
eliminate redundant macro MC_SEND()
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_mroute.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index 9f4f6ee..29b510e 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -1606,15 +1606,6 @@ ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt, vifi_t xmt_vif)
int plen = ip->ip_len;
VIF_LOCK_ASSERT();
-/*
- * Macro to send packet on vif. Since RSVP packets don't get counted on
- * input, they shouldn't get counted on output, so statistics keeping is
- * separate.
- */
-#define MC_SEND(ip,vifp,m) { \
- if (((vifp)->v_flags & VIFF_TUNNEL) == 0) \
- phyint_send((ip), (vifp), (m)); \
-}
/*
* If xmt_vif is not -1, send on only the requested vif.
@@ -1627,7 +1618,7 @@ ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt, vifi_t xmt_vif)
pim_register_send(ip, viftable + xmt_vif, m, rt);
else
#endif
- MC_SEND(ip, viftable + xmt_vif, m);
+ phyint_send(ip, viftable + xmt_vif, m);
return 1;
}
@@ -1730,7 +1721,7 @@ ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt, vifi_t xmt_vif)
pim_register_send(ip, viftable + vifi, m, rt);
else
#endif
- MC_SEND(ip, viftable+vifi, m);
+ phyint_send(ip, viftable + vifi, m);
}
/*
OpenPOWER on IntegriCloud