Virtualize the IPv4 multicast routing code.

Submitted by:	iprebeg
Reviewed by:	bms, bz, Pavlin Radoslavov
MFC after:	30 days
This commit is contained in:
Marko Zec 2010-06-02 15:44:43 +00:00
parent b1ae592bd4
commit 7c4b8137cd
3 changed files with 261 additions and 205 deletions

File diff suppressed because it is too large Load Diff

View File

@ -222,7 +222,7 @@ struct mrtstat {
};
#ifdef _KERNEL
#define MRTSTAT_ADD(name, val) mrtstat.name += (val)
#define MRTSTAT_ADD(name, val) V_mrtstat.name += (val)
#define MRTSTAT_INC(name) MRTSTAT_ADD(name, 1)
#endif

View File

@ -60,7 +60,7 @@ struct pimstat {
};
#ifdef _KERNEL
#define PIMSTAT_ADD(name, val) pimstat.name += (val)
#define PIMSTAT_ADD(name, val) V_pimstat.name += (val)
#define PIMSTAT_INC(name) PIMSTAT_ADD(name, 1)
#endif