summaryrefslogtreecommitdiff
path: root/package/ulogd/patches/patch-include_linux_tcp_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-29 16:06:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-29 16:06:00 +0100
commit8e8512391c668fc7074f812f15eabe8f176fb01e (patch)
treef9f0862dd6eb962fe3fc4803180b431843f6c5be /package/ulogd/patches/patch-include_linux_tcp_h
parentc491653a1f9574a42965025805d472c3d145f699 (diff)
parentae3d4616ed9c19a29d656193254657f93d612fa2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ulogd/patches/patch-include_linux_tcp_h')
-rw-r--r--package/ulogd/patches/patch-include_linux_tcp_h37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/ulogd/patches/patch-include_linux_tcp_h b/package/ulogd/patches/patch-include_linux_tcp_h
new file mode 100644
index 000000000..2752fc21b
--- /dev/null
+++ b/package/ulogd/patches/patch-include_linux_tcp_h
@@ -0,0 +1,37 @@
+--- ulogd-2.0.2.orig/include/linux/tcp.h 1970-01-01 00:00:00.000000000 +0100
++++ ulogd-2.0.2/include/linux/tcp.h 2013-11-11 21:27:31.000000000 +0100
+@@ -0,0 +1,34 @@
++struct tcphdr
++ {
++ u_int16_t source;
++ u_int16_t dest;
++ u_int32_t seq;
++ u_int32_t ack_seq;
++# if __BYTE_ORDER == __LITTLE_ENDIAN
++ u_int16_t res1:4;
++ u_int16_t doff:4;
++ u_int16_t fin:1;
++ u_int16_t syn:1;
++ u_int16_t rst:1;
++ u_int16_t psh:1;
++ u_int16_t ack:1;
++ u_int16_t urg:1;
++ u_int16_t res2:2;
++# elif __BYTE_ORDER == __BIG_ENDIAN
++ u_int16_t doff:4;
++ u_int16_t res1:4;
++ u_int16_t res2:2;
++ u_int16_t urg:1;
++ u_int16_t ack:1;
++ u_int16_t psh:1;
++ u_int16_t rst:1;
++ u_int16_t syn:1;
++ u_int16_t fin:1;
++# else
++# error "Adjust your <bits/endian.h> defines"
++# endif
++ u_int16_t window;
++ u_int16_t check;
++ u_int16_t urg_ptr;
++};
++