summaryrefslogtreecommitdiff
path: root/include/ouroboros/common.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-04-08 16:32:35 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-04-08 16:36:39 +0200
commit6ad0fcf2f32f412091d0dfd58da1d8f5dc474809 (patch)
treeeb10657a977c7c4c410ae15216d4068535a9f058 /include/ouroboros/common.h
parentaffea724d1810410186b10c93c64b7a8ddbe7aca (diff)
downloadouroboros-6ad0fcf2f32f412091d0dfd58da1d8f5dc474809.tar.gz
ouroboros-6ad0fcf2f32f412091d0dfd58da1d8f5dc474809.zip
lib, irmd, irm: Add dif_config
This adds dif_config to the prototype, in which one is able to specify the parameters a DIF should have. The bootstrap operation of an IPCP takes this as parameter and is oblivious to whether it is a shim or a normal IPCP. The dif_config struct is also correctly serialized and deserialized and passed opaquely to the correct IPCP. This IPCP is in charge of deserializing it correctly.
Diffstat (limited to 'include/ouroboros/common.h')
-rw-r--r--include/ouroboros/common.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/ouroboros/common.h b/include/ouroboros/common.h
index 658c3618..971a382a 100644
--- a/include/ouroboros/common.h
+++ b/include/ouroboros/common.h
@@ -42,28 +42,4 @@ struct qos_spec {
uint32_t jitter;
};
-/* FIXME: What should be configurable in the DIF? */
-struct dif_config {
- /* general data */
- char * dif_name;
-
- /* TODO: efficient policies */
-
- /* dt field sizes in octets */
- uint8_t addr_size;
- uint8_t cep_id_size;
- uint8_t pdu_length_size;
- uint8_t qos_id_size;
- uint8_t seqno_size;
-
- /* constants for dup */
- uint8_t ttl_size;
- uint8_t chk_size;
-
- /* values, octets */
- uint32_t min_pdu_size;
- uint32_t max_pdu_size;
-
-};
-
#endif /* OUROBOROS_COMMON_H */