Re: [RFC] add macros for ifnet statistic accounting

2014-12-19 Thread Andrey V. Elsukov
On 20.11.2014 20:38, Adrian Chadd wrote: > On 20 November 2014 09:33, Andrey V. Elsukov wrote: >> Hi All, >> >> we already did some changes in network stack in head/, that made ability >> for merging changes into stable branches much harder. >> >> What you think about adding the following macro to

Re: [RFC] add macros for ifnet statistic accounting

2014-11-20 Thread Adrian Chadd
I like accessor things like this. It'll make the general porting of things across places more feasible. +1 from me. -adrian On 20 November 2014 09:33, Andrey V. Elsukov wrote: > Hi All, > > we already did some changes in network stack in head/, that made ability > for merging changes into st

[RFC] add macros for ifnet statistic accounting

2014-11-20 Thread Andrey V. Elsukov
Hi All, we already did some changes in network stack in head/, that made ability for merging changes into stable branches much harder. What you think about adding the following macro to head/: --- if_var.h(revision 274736) +++ if_var.h(working copy) @@ -111,6 +111,10 @@ typedef enum {