[RTnet-developers] Monitoring Link Beat
Brought to you by:
bet-frogger,
kiszka
|
From: Jorge A. <j-a...@cr...> - 2006-11-23 15:45:50
|
Hello Jan, I'm trying to implement an easy way of monitoring the link beat of one board. What i want is to pass the index of the board, and internaly call the "do_ioctl" function that should be initialialized in the rtnet_device struct for each device. My question is, How do i call the do_ioctl function using the file descriptor of one socket that is open passing the number of the if_index (or the interface name)? And how rtnet knows wath device to call? Thanks for your help. -- Jorge Almeida j-a...@cr... DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or without errors as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software, SA. |