[Click] access to the list of physical ports list in Click

Eddie Kohler kohler at cs.ucla.edu
Wed Jul 6 18:46:49 EDT 2011


Hi Remi,

Just for your information, I recently learned about the getifaddrs() library 
interface whch might be exactly what you want.  The AddressInfo element has 
been changed to use this interface, so you can look in addressinfo.cc for some 
pointers.

Eddie


On 6/14/11 2:22 AM, remi.clavier at orange-ftgroup.com wrote:
>
> A naive question, perhaps more related to Linux than Click.
>
> I need to have in a custom element the list of Physical ports
> instanciated in a nodes with the related MacId. It's a way to ask linux
> to give me this information form my click_element?
>
> Thanks
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list