413dd0ba39
This is inteded for to allow ifconfig to print various unstructured information from an interface. The data is returned from the kernel in ASCII form, see the comment in if.h for some technicalities. Canonical cut&paste example to be found in if_tun.c Initial use: Now tun* interfaces tell the PID of the process which opened them. Future uses could be (volounteers welcome!): Have ppp/slip interfaces tell which tty they use. Make sync interfaces return their media state: red/yellow/blue alarm, timeslot assignment and so on. Make ethernets warn about missing heartbeats and/or cables |
||
---|---|---|
.. | ||
ifconfig.8 | ||
ifconfig.c | ||
ifconfig.h | ||
ifmedia.c | ||
ifvlan.c | ||
Makefile |