]> p2p-next.cs.pub.ro Git - swifty.git/commitdiff
swifty: Add SWIFT protocol number.
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sun, 15 May 2011 06:54:18 +0000 (09:54 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sun, 15 May 2011 06:54:18 +0000 (09:54 +0300)
src/swift_types.h

index 754f6e0114ebdee930d1e7021da44a9d958c1709..88541c0b63d8afa1a5bfb189a4bb72951cd85849 100644 (file)
 extern "C" {
 #endif
 
+/*
+ * 143 is a free IP protocol number (as shown in /etc/protocols
+ * and <netinet/in.h>).
+ */
+
+#define IPPROTO_SWIFT          143
+
 /*
  * swift address
  *   - IP address (Network Layer)