On Fri, Jun 17, 2016 at 02:32:02PM +, Fabien Siron wrote:
> Quoting Dmitry V. Levin (2016-06-16 14:54:58)
> > On Thu, Jun 16, 2016 at 02:20:07PM +, Fabien Siron wrote:
> > > Quoting Dmitry V. Levin (2016-06-16 10:40:18)
> > > > On Wed, Jun 15, 2016 at 12:43:01PM +, Fabien Siron wrote:
>
Quoting Dmitry V. Levin (2016-06-16 14:54:58)
> On Thu, Jun 16, 2016 at 02:20:07PM +, Fabien Siron wrote:
> > Quoting Dmitry V. Levin (2016-06-16 10:40:18)
> > > On Wed, Jun 15, 2016 at 12:43:01PM +, Fabien Siron wrote:
> > > [...]
> > > > +static void
> > > > +send_query(const int fd, cons
On Thu, Jun 16, 2016 at 02:20:07PM +, Fabien Siron wrote:
> Quoting Dmitry V. Levin (2016-06-16 10:40:18)
> > On Wed, Jun 15, 2016 at 12:43:01PM +, Fabien Siron wrote:
> > [...]
> > > +static void
> > > +send_query(const int fd, const unsigned int pid_magic)
> > > +{
> > > + struct {
>
Quoting Dmitry V. Levin (2016-06-16 10:40:18)
> On Wed, Jun 15, 2016 at 12:43:01PM +, Fabien Siron wrote:
> [...]
> > +static void
> > +send_query(const int fd, const unsigned int pid_magic)
> > +{
> > + struct {
> > + struct nlmsghdr nlh;
> > + char magic[4];
> > +
On Wed, Jun 15, 2016 at 12:43:01PM +, Fabien Siron wrote:
[...]
> +static void
> +send_query(const int fd, const unsigned int pid_magic)
> +{
> + struct {
> + struct nlmsghdr nlh;
> + char magic[4];
> + } req = {
> + .nlh = {
> + .
* tests/netlink_parsing.test: New test.
* tests/netlink_parsing.c: New file.
* tests/.gitignore: Add netlink_parsing.
* tests/Makefile.am (check_PROGRAMS): Likewise.
---
tests/.gitignore | 1 +
tests/Makefile.am | 2 +
tests/netlink_parsing.c| 96 ++