summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-06-05 16:49:32 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-06-14 14:05:28 +0200
commitaeb53fcd725fe291afa6ffb683373c8e589afa64 (patch)
tree3f9840107501dc98472406dadfa16eba860ca61b /src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto
parenta76b638a370cd0cdd087ec780e6b1f8d18bac66d (diff)
downloadouroboros-aeb53fcd725fe291afa6ffb683373c8e589afa64.tar.gz
ouroboros-aeb53fcd725fe291afa6ffb683373c8e589afa64.zip
ipcpd: Adds a shim over IEEE 802.2 over IEEE 802.3
This adds a shim over LLC over Ethernet. It uses the raw socket API to send messages directly over an interface.
Diffstat (limited to 'src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto')
-rw-r--r--src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto b/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto
new file mode 100644
index 00000000..3ea1af1f
--- /dev/null
+++ b/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto
@@ -0,0 +1,15 @@
+enum shim_eth_llc_msg_code {
+ FLOW_REQ = 1;
+ FLOW_REPLY = 2;
+ FLOW_DEALLOC = 3;
+};
+
+message shim_eth_llc_msg {
+ required shim_eth_llc_msg_code code = 1;
+ optional string dst_name = 2;
+ optional string src_ap_name = 3;
+ optional string src_ae_name = 4;
+ required sint32 ssap = 5;
+ optional sint32 dsap = 6;
+ optional sint32 response = 7;
+};