Function network_bridge::interface_id
source · Expand description
Converts an interface name into the identifier used by the kernel.
This can also be retrieved via sysfs, if mounted to /sys:
$ cat /sys/class/net/eth0/ifindex
1
Converts an interface name into the identifier used by the kernel.
This can also be retrieved via sysfs, if mounted to /sys:
$ cat /sys/class/net/eth0/ifindex
1