aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/payloads/traffic_selector_substructure.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-11-17 11:27:46 +0000
committerMartin Willi <martin@revosec.ch>2012-03-20 17:30:42 +0100
commit38fb67fbf18489f40845b072e4ed50b1f6cf0c9c (patch)
tree01e3e43880ec5cf7712607bfd37a6811cbb4cbce /src/libcharon/encoding/payloads/traffic_selector_substructure.h
parente9b55b832546d05f464bdddbe779ed21cd17b624 (diff)
downloadstrongswan-38fb67fbf18489f40845b072e4ed50b1f6cf0c9c.tar.bz2
strongswan-38fb67fbf18489f40845b072e4ed50b1f6cf0c9c.tar.xz
Add a payload.get_header_length() method, remove header length definitions
Diffstat (limited to 'src/libcharon/encoding/payloads/traffic_selector_substructure.h')
-rw-r--r--src/libcharon/encoding/payloads/traffic_selector_substructure.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libcharon/encoding/payloads/traffic_selector_substructure.h b/src/libcharon/encoding/payloads/traffic_selector_substructure.h
index 0109fd7f5..1ad5fb526 100644
--- a/src/libcharon/encoding/payloads/traffic_selector_substructure.h
+++ b/src/libcharon/encoding/payloads/traffic_selector_substructure.h
@@ -30,11 +30,6 @@ typedef struct traffic_selector_substructure_t traffic_selector_substructure_t;
#include <encoding/payloads/payload.h>
/**
- * Length of a TRAFFIC SELECTOR SUBSTRUCTURE without start and end address.
- */
-#define TRAFFIC_SELECTOR_HEADER_LENGTH 8
-
-/**
* Class representing an IKEv2 TRAFFIC SELECTOR.
*
* The TRAFFIC SELECTOR format is described in RFC section 3.13.1.