#include <DTNTunnel.h>
Note that since it is declared as a packed struct, it can be sent over the wire as-is.
XXX/demmer if this is used for non-IP tunnels, the address fields will need to be union'd or something like that
Definition at line 72 of file DTNTunnel.h.
Public Member Functions | |
BundleHeader () | |
BundleHeader (u_int8_t protocol, u_int32_t seqno, u_int32_t client_addr, u_int32_t remote_addr, u_int16_t client_port, u_int16_t remote_port) | |
Public Attributes | |
u_int8_t | protocol_ |
u_int32_t | seqno_ |
u_int32_t | client_addr_ |
u_int32_t | remote_addr_ |
u_int16_t | client_port_ |
u_int16_t | remote_port_ |
dtntunnel::DTNTunnel::BundleHeader::BundleHeader | ( | ) | [inline] |
Definition at line 73 of file DTNTunnel.h.
dtntunnel::DTNTunnel::BundleHeader::BundleHeader | ( | u_int8_t | protocol, | |
u_int32_t | seqno, | |||
u_int32_t | client_addr, | |||
u_int32_t | remote_addr, | |||
u_int16_t | client_port, | |||
u_int16_t | remote_port | |||
) | [inline] |
Definition at line 75 of file DTNTunnel.h.
Definition at line 90 of file DTNTunnel.h.
Referenced by dtntunnel::DTNTunnel::handle_bundle(), dtntunnel::UDPTunnel::Listener::run(), and dtntunnel::TCPTunnel::Connection::run().
Definition at line 91 of file DTNTunnel.h.
Referenced by dtntunnel::TCPTunnel::Connection::handle_bundle(), dtntunnel::UDPTunnel::Listener::run(), and dtntunnel::TCPTunnel::Connection::run().
Definition at line 92 of file DTNTunnel.h.
Referenced by dtntunnel::UDPTunnel::Listener::run(), and dtntunnel::TCPTunnel::Connection::run().
Definition at line 93 of file DTNTunnel.h.
Referenced by dtntunnel::UDPTunnel::handle_bundle(), dtntunnel::UDPTunnel::Listener::run(), and dtntunnel::TCPTunnel::Connection::run().
Definition at line 94 of file DTNTunnel.h.
Referenced by dtntunnel::UDPTunnel::Listener::run(), and dtntunnel::TCPTunnel::Connection::run().
Definition at line 95 of file DTNTunnel.h.
Referenced by dtntunnel::UDPTunnel::handle_bundle(), dtntunnel::UDPTunnel::Listener::run(), and dtntunnel::TCPTunnel::Connection::run().