Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > Hi Florian, > > On Thu, Aug 22, 2013 at 05:07:17PM +0200, Florian Westphal wrote: > > The NFQA_TIMESTAMP structure is in network byte order, so it seems > > appropriate to add a helper to convert it to a timeval struct. [..] > I think we can update nfq_get_timestamp to use libmnl without breaking > backward compatibility. Same thing with all other getter functions > that we have. How did you plan to do this without breaking api/abi? To call the existing libnfnetlink based function given an libmnl attr[] array you need to: struct nfq_data d; d.data = (void **) &attr[1]; nfq_get_timestamp(&d, &tv); Which is just "ewww". -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html