Re: libbsd: React to link status change events

2021-04-29 Thread Jens Gollasch
is there an easy way to register a callback function or block until a link status change of an Ethernet device occurs in the libbsd stack? Searching for it, I found some references for EV_NETDEV in kqueue, but this seems to be a legacy function which has been removed years ago. I solved this

RE: libbsd: React to link status change events

2021-04-29 Thread Jan.Sommer
Thanks. I will have a look. > -Original Message- > From: Sebastian Huber > Sent: Thursday, April 29, 2021 1:46 PM > To: Sommer, Jan ; users@rtems.org > Subject: Re: libbsd: React to link status change events > > On 29/04/2021 13:43, jan.som...@dlr.de wrote: >

Re: libbsd: React to link status change events

2021-04-29 Thread Sebastian Huber
On 29/04/2021 13:43, jan.som...@dlr.de wrote: is there an easy way to register a callback function or block until a link status change of an Ethernet device occurs in the libbsd stack? Searching for it, I found some references for EV_NETDEV in kqueue, but this seems to be a legacy function whi

libbsd: React to link status change events

2021-04-29 Thread Jan.Sommer
Hello, is there an easy way to register a callback function or block until a link status change of an Ethernet device occurs in the libbsd stack? Searching for it, I found some references for EV_NETDEV in kqueue, but this seems to be a legacy function which has been removed years ago. In the co