Re: rti_info and defines

2014-01-17 Thread Claudio Jeker
On Wed, Jan 08, 2014 at 12:02:25PM +0100, Martin Pieuchot wrote: > I find it really difficult to understand and work with the code of > rtsock.c because of the following defines: > > > /* Sleazy use of local variables throughout file, warning */ > #define dstinfo.rti_info[RTAX

Re: rti_info and defines

2014-01-08 Thread Mike Belopuhov
On 8 January 2014 12:02, Martin Pieuchot wrote: > I find it really difficult to understand and work with the code of > rtsock.c because of the following defines: > > > /* Sleazy use of local variables throughout file, warning */ > #define dstinfo.rti_info[RTAX_DST] >

rti_info and defines

2014-01-08 Thread Martin Pieuchot
I find it really difficult to understand and work with the code of rtsock.c because of the following defines: /* Sleazy use of local variables throughout file, warning */ #define dstinfo.rti_info[RTAX_DST] #define gate info.rti_info[RTAX_GATEWAY] ... But