> Perhaps we could agree on a single API for the low-level message parsing
> and netlink message construction. At least then we would not be
> duplicating bug-fixes in our netlink code.
Sure, I think they're quite similiar. I abstracted the netlink message
and routing attributes building a bit and added some bits for
I do not care what to use though as long as it is easy to use.
> Whether or not this sharing would be useful probably depends on if you
> would continue to maintain your own non-GObject APIs for the various
> QDiscs and classifiers. GObject makes the creation and maintenance of
> the language bindings much easier so its basically necessary for my
I see, well I can extend my objects, I'm even willing to change the
architecture if needed. The only requirements from my side is to
keep the generic caching header to allow putting these objects into
generic caches and keep it simple to readd commit/rollback extesions
What is exactly required to make it GObject aware? I've never worked
with GOBject so far. Basically a qdisc looks like this at the moment:
NLHDR_COMMON; /* common fields required by cache */
NL_TCA_GENERIC(q); /* generic tc fields (parent, handle, ifindex
void *opts; /* qdisc specific options (e.g. rtnl_sch_fifo)
The NLHDR_COMMON must stay first, the ordering of the others doesn't
> I'm willing to switch the underlying implementation of LQL to use your
> more featureful NL implementation if that means there won't be two
> competing C APIs to the individual QDiscs etc.
It would be nice if we find a way to integrate both without losing the
features of any side.