On Sat, 5 Apr 2014 12:40:20 +0200, Richard Cochran wrote: > Let us introduce a struct to hold addresses, something like: > > struct address { > uint8_t buf[MAXADDR]; > socklen_t len; > } > > In that way we won't need to add 'addr' and 'len' all over the place, > and if we end up needing the interface index, it will be easy to add > later on. > > Does this make sense to you?
It does. Just sent a patchset that implements this. Jiri -- Jiri Benc ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel