diff options
author | andre <andre@FreeBSD.org> | 2004-05-03 13:48:35 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2004-05-03 13:48:35 +0000 |
commit | 25ae331e1251bd9562a10f53fdb2f054f7b21dfe (patch) | |
tree | 26d69d96320d4278394e06ff25df74de9314a2fc /sys/net/if_stf.c | |
parent | f8ee348f1d1b903d0b117c893b5f73aed4e5bce8 (diff) | |
download | FreeBSD-src-25ae331e1251bd9562a10f53fdb2f054f7b21dfe.zip FreeBSD-src-25ae331e1251bd9562a10f53fdb2f054f7b21dfe.tar.gz |
Link state change notification of ethernet media to the routing socket.
o Extend the if_data structure with an ifi_link_state field and
provide the corresponding defines for the valid states.
o The mii_linkchg() callback updates the ifi_link_state field
and calls rt_ifmsg() to notify listeners on the routing socket
in addition to the kqueue KNOTE.
o If vlans are configured on a physical interface notify and update
all vlan pseudo devices as well with the vlan_link_state() callback.
No objections by: sam, wpaul, ru, bms
Brucification by: bde
Diffstat (limited to 'sys/net/if_stf.c')
0 files changed, 0 insertions, 0 deletions