Changeset 43dc972 in rtems-libbsd for libbsd.txt


Ignore:
Timestamp:
10/16/14 05:29:37 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
Children:
feffbc2
Parents:
d5eac12
Message:

doc: Add network interface link up/down hint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd.txt

    rd5eac12 r43dc972  
    274274
    275275http://www.freebsd.org/cgi/man.cgi?query=gethostbyname&sektion=3&apropos=0&manpath=FreeBSD+9.2-RELEASE[GETHOSTBYNAME(3)]:: Get network host entry
     276
     277== Network Interface Drivers
     278
     279=== Link Up/Down Events
     280
     281You can notifiy the application space of link up/down events in your network
     282interface driver via the if_link_state_change(LINK_STATE_UP/LINK_STATE_DOWN)
     283function.  The DHCPCD(8) client is a consumer of these events for example.
     284Make sure that the interface flag IFF_UP and the interface driver flag
     285IFF_DRV_RUNNING is set in case the link is up, otherwise ether_output() will
     286return the error status ENETDOWN.
    276287
    277288== Issues and TODO
Note: See TracChangeset for help on using the changeset viewer.