Initial support for RFC2385 10/5510/3
authorMiroslav Miklus <mmiklus@cisco.com>
Thu, 6 Mar 2014 12:54:34 +0000 (13:54 +0100)
committerMiroslav Miklus <mmiklus@cisco.com>
Tue, 11 Mar 2014 12:23:35 +0000 (13:23 +0100)
commit7c713a81010775845206cfbfc411ea6332d2d1e3
tree6b2bcf595b2aecf1eadc52bfbac22e78370b7bab
parent336e6f6bb165ea96176562ced1fac21d77165248
Initial support for RFC2385

This brings the ability to manipulate TCP MD5 key attached to a channel
if the underlying operating system supports it.

In order to talk to the underlying OS, we rely on Java Native Interface
(JNI), which contains OS-specific system calls. Currently only Linux is
supported.

Since the JRE libraries insulate Java code from the underlying details,
we also need to muck around implementation-private information within
Channel classes. Currently only openjdk and Oracle JRE is supported.

Change-Id: I664106a96da20ff47ecb71d7b541fe6eb0e056b1
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
15 files changed:
commons/parent/pom.xml
pom.xml
tcp-md5/.project [new file with mode: 0644]
tcp-md5/core/.project [new file with mode: 0644]
tcp-md5/core/pom.xml [new file with mode: 0644]
tcp-md5/core/src/main/java/org/opendaylight/bgpcep/tcpmd5/MD5ChannelOptions.java [new file with mode: 0644]
tcp-md5/core/src/main/java/org/opendaylight/bgpcep/tcpmd5/MD5ServerSocketChannel.java [new file with mode: 0644]
tcp-md5/core/src/main/java/org/opendaylight/bgpcep/tcpmd5/MD5SocketChannel.java [new file with mode: 0644]
tcp-md5/core/src/main/java/org/opendaylight/bgpcep/tcpmd5/MD5SocketOptions.java [new file with mode: 0644]
tcp-md5/jni/.project [new file with mode: 0644]
tcp-md5/jni/pom.xml [new file with mode: 0644]
tcp-md5/jni/src/main/c/tcpmd5_jni.c [new file with mode: 0644]
tcp-md5/jni/src/main/java/org/opendaylight/bgpcep/tcpmd5/jni/KeyAccess.java [new file with mode: 0644]
tcp-md5/jni/src/main/java/org/opendaylight/bgpcep/tcpmd5/jni/NativeKeyAccess.java [new file with mode: 0644]
tcp-md5/pom.xml [new file with mode: 0644]