Virtualize the IPv4 multicast routing code.
Submitted by: iprebeg Reviewed by: bms, bz, Pavlin Radoslavov MFC after: 30 days
This commit is contained in:
parent
b1ae592bd4
commit
7c4b8137cd
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user