[PATCH 2/4] Add new rtnl_link_af_data_compare function to compare af_data

Thomas Graf tgraf at suug.ch
Thu Jan 17 07:39:16 EST 2013


On 01/14/13 at 04:35pm, Roopa Prabhu wrote:
> Thomas, Just thought i should go over the api details with you
> before i re-spin.
> 
> Below is the new api. But, I have not exposed the attributes under
> documentation and was not thinking of exposing it.
> 
> In which case I am now thinking of not making this particular api
> public. And if needed maybe expose a simpler wrapper api in the
> future.
> 
> eg simple public api. returns 0 or 1.
> int rtnl_link_af_data_compare(struct rtnl_link *a, struct rtnl_link *b,
>                               int family)
> 
> 
> make the below api local to link.c and rename it to af_data_compare
> 
> pls let me know what you think.

Besides the comments I gave in the other email, this looks good.



More information about the libnl mailing list