Changeset 43dc972 in rtems-libbsd for libbsd.txt


Ignore:
Timestamp:
Oct 16, 2014, 5:29:37 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 7ece7548c1b05cf6bb10e6708b83b2401d45c250, freebsd-9.3, 29cc431e0bcfe059d65ac3019f53eeafa5064ae8
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.