[LiSA-Devel] [CLI&SW_API] get_if_list

Andreea-Cristina Hodea andreea.cristina.hodea at gmail.com
Tue Apr 16 17:01:14 EEST 2013


On Tue, Apr 16, 2013 at 4:55 PM, Claudiu Ghioc <claudiughioc at gmail.com> wrote:
>> Is it ok if get_if_list returns a list of net_switch_dev structures instead of ifindexes?
...
> have a generic structure which describes a switch device. I guess we
> can return the array of struct net_switch_device in get_if_list; the
> cli can use either the interface index or the name whichever suits
> better.

Ok, I was thinking at something similar, but I wanted to make sure I
didn't miss anything. Thanks, Claudiu.

Andreea


More information about the LiSA-Devel mailing list