HomeFreeBSD

Adds sys/class/net devices to linsysfs.

Description

Adds sys/class/net devices to linsysfs.

Only two interfaces are created eth0 and lo and they expose
the following properties:
address, addr_len, flags, ifindex, mty, tx_queue_len and type.

Initial patch developed by Carlos Neira in 2017 and finished by me.

PR: 223722
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D13656

Details

Committed
dchaginMay 6 2019, 8:01 PM
Differential Revision
D13656: Bug 223722 add sys/class/net data to linsysfs
Parents
rS347203: Rewrite linux_ifflags() in more readable Linuxulator style.
Branches
Unknown
Tags
Unknown