Brian Silverman | 66f079a | 2013-08-26 16:24:30 -0700 | [diff] [blame^] | 1 | #ifndef AOS_CRIO_IP_H_ |
2 | #define AOS_CRIO_IP_H_ | ||||
3 | |||||
4 | #include <inetLib.h> | ||||
5 | |||||
6 | #include "aos/aos_stdint.h" | ||||
7 | |||||
8 | namespace aos { | ||||
9 | namespace util { | ||||
10 | |||||
11 | // Retrieves the IP address of this cRIO and stores it in *address. | ||||
12 | // Loops infinitely until it succeeds. | ||||
13 | in_addr GetOwnIPAddress(); | ||||
14 | |||||
15 | } // namespace util | ||||
16 | } // namespace aos | ||||
17 | |||||
18 | #endif // AOS_CRIO_IP_H_ |