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> | ||||
Brian | 4a424a2 | 2014-04-02 11:52:45 -0700 | [diff] [blame] | 5 | #include <stdint.h> |
Brian Silverman | 66f079a | 2013-08-26 16:24:30 -0700 | [diff] [blame] | 6 | |
7 | namespace aos { | ||||
8 | namespace util { | ||||
9 | |||||
10 | // Retrieves the IP address of this cRIO and stores it in *address. | ||||
11 | // Loops infinitely until it succeeds. | ||||
12 | in_addr GetOwnIPAddress(); | ||||
13 | |||||
14 | } // namespace util | ||||
15 | } // namespace aos | ||||
16 | |||||
17 | #endif // AOS_CRIO_IP_H_ |