F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
IpCfg.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title IpCfg.hpp
3 // \author mstarch
4 // \brief hpp file for SocketIpDriver component implementation class
5 //
6 // \copyright
7 // Copyright 2009-2015, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 //
11 // ======================================================================
12 #include <Fw/Time/Time.hpp>
13 #ifndef REF_IPCFG_HPP
14 #define REF_IPCFG_HPP
15 
16 enum IpCfg {
17  SOCKET_SEND_TIMEOUT_SECONDS = 1, // Seconds component of timeout to an individual send
18  SOCKET_SEND_TIMEOUT_MICROSECONDS = 0, // Milliseconds component of timeout to an individual send
19  SOCKET_IP_SEND_FLAGS = 0, // send, sendto FLAGS argument
20  SOCKET_IP_RECV_FLAGS = 0, // recv FLAGS argument
21  SOCKET_MAX_ITERATIONS = 0xFFFF, // Maximum send/recv attempts before an error is returned
22  SOCKET_MAX_HOSTNAME_SIZE = 256 // Maximum stored hostname
23 };
25 
26 
27 #endif //REF_IPCFG_HPP
IpCfg
Definition: IpCfg.hpp:16
@ SOCKET_SEND_TIMEOUT_SECONDS
Definition: IpCfg.hpp:17
@ SOCKET_MAX_HOSTNAME_SIZE
Definition: IpCfg.hpp:22
@ SOCKET_IP_RECV_FLAGS
Definition: IpCfg.hpp:20
@ SOCKET_SEND_TIMEOUT_MICROSECONDS
Definition: IpCfg.hpp:18
@ SOCKET_IP_SEND_FLAGS
Definition: IpCfg.hpp:19
@ SOCKET_MAX_ITERATIONS
Definition: IpCfg.hpp:21
static const Fw::Time SOCKET_RETRY_INTERVAL
Definition: IpCfg.hpp:24
Definition: Time.hpp:9