F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
f
h
i
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
b
d
e
f
g
h
i
l
m
n
p
q
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Functions
f
i
m
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
f
m
p
r
s
t
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
SocketIpDriverCfg.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title SocketIpDriverCfg.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
13
#ifndef REF_SOCKETIPDRIVERCFG_HPP
14
#define REF_SOCKETIPDRIVERCFG_HPP
15
16
#define KEEPALIVE_DATA "sitting well" // Ground-based keepalive packet for filtering out packet
17
18
enum
SocketIpCfg
{
19
SOCKET_TIMEOUT_SECONDS
= 1,
// Seconds component of timeout
20
SOCKET_TIMEOUT_MICROSECONDS
= 0,
// Milliseconds component of timeout
21
SOCKET_SEND_UDP
= 1,
// 0 - Send down using TCP, 1 - Send down using UDP
22
SOCKET_SEND_FLAGS
= 0,
// send, sendto FLAGS argument
23
SOCKET_RECV_FLAGS
= 0,
// recv FLAGS argument
24
RECONNECT_AUTOMATICALLY
= 1,
// Attempt to reconnect when a socket closes
25
MAX_SEND_ITERATIONS
= 0xFFFF,
// Maximum send iterations
26
MAX_RECV_BUFFER_SIZE
= 2048,
// Maximum and allocation size of the send buffer. TODO: use buffer manager
27
PRE_CONNECTION_RETRY_INTERVAL_MS
= 1000,
// Interval between connection retries before main recv thread starts
28
MAX_HOSTNAME_SIZE
= 256
// Maximum stored hostname
29
};
30
31
32
33
#endif //REF_SOCKETIPDRIVERCFG_HPP
SOCKET_SEND_FLAGS
@ SOCKET_SEND_FLAGS
Definition:
SocketIpDriverCfg.hpp:22
RECONNECT_AUTOMATICALLY
@ RECONNECT_AUTOMATICALLY
Definition:
SocketIpDriverCfg.hpp:24
SocketIpCfg
SocketIpCfg
Definition:
SocketIpDriverCfg.hpp:18
MAX_HOSTNAME_SIZE
@ MAX_HOSTNAME_SIZE
Definition:
SocketIpDriverCfg.hpp:28
MAX_SEND_ITERATIONS
@ MAX_SEND_ITERATIONS
Definition:
SocketIpDriverCfg.hpp:25
SOCKET_TIMEOUT_SECONDS
@ SOCKET_TIMEOUT_SECONDS
Definition:
SocketIpDriverCfg.hpp:19
SOCKET_SEND_UDP
@ SOCKET_SEND_UDP
Definition:
SocketIpDriverCfg.hpp:21
SOCKET_RECV_FLAGS
@ SOCKET_RECV_FLAGS
Definition:
SocketIpDriverCfg.hpp:23
PRE_CONNECTION_RETRY_INTERVAL_MS
@ PRE_CONNECTION_RETRY_INTERVAL_MS
Definition:
SocketIpDriverCfg.hpp:27
SOCKET_TIMEOUT_MICROSECONDS
@ SOCKET_TIMEOUT_MICROSECONDS
Definition:
SocketIpDriverCfg.hpp:20
MAX_RECV_BUFFER_SIZE
@ MAX_RECV_BUFFER_SIZE
Definition:
SocketIpDriverCfg.hpp:26
config
SocketIpDriverCfg.hpp
Generated by
1.8.17