aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/isic/files/isic-0.07-netinet.patch
blob: 448ba6878357066c25860460b30affab28ccb601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
isic: add missing header file

Upstream-Status: Backport
http://pkgs.fedoraproject.org/cgit/isic.git/tree/isic-0.07-netinet.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>

Index: isic-0.07/multisic.c
===================================================================
--- isic-0.07.orig/multisic.c
+++ isic-0.07/multisic.c
@@ -1,5 +1,8 @@
 #include "isic.h"
 
+#include <netinet/udp.h>
+/*#include <netinet/tcp.h>*/
+
 /* This is tuned for ethernet sized frames (1500 bytes)
  * For user over a modem or frame (or other) you will have to change the
  * 'rand() & 0x4ff' line below.  The 0x4ff needs to be less than the size of
Index: isic-0.07/tcpsic.c
===================================================================
--- isic-0.07.orig/tcpsic.c
+++ isic-0.07/tcpsic.c
@@ -1,5 +1,7 @@
 #include "isic.h"
 
+#include <netinet/tcp.h>
+
 /* This is tuned for ethernet sized frames (1500 bytes)
  * For user over a modem or frame (or other) you will have to change the
  * 'rand() & 0x4ff' line below.  The 0x4ff needs to be less than the size of
Index: isic-0.07/tcpsic6.c
===================================================================
--- isic-0.07.orig/tcpsic6.c
+++ isic-0.07/tcpsic6.c
@@ -1,5 +1,7 @@
 #include "isic.h"
 
+#include <netinet/tcp.h>
+
 /* This is tuned for ethernet sized frames (1500 bytes)
  * For user over a modem or frame (or other) you will have to change the
  * 'rand() & 0x4ff' line below.  The 0x4ff needs to be less than the size of
Index: isic-0.07/udpsic.c
===================================================================
--- isic-0.07.orig/udpsic.c
+++ isic-0.07/udpsic.c
@@ -1,5 +1,7 @@
 #include "isic.h"
 
+#include <netinet/udp.h>
+
 /* This is tuned for ethernet sized frames (1500 bytes)
  * For user over a modem or frame (or other) you will have to change the
  * 'rand() & 0x4ff' line below.  The 0x4ff needs to be less than the size of
Index: isic-0.07/udpsic6.c
===================================================================
--- isic-0.07.orig/udpsic6.c
+++ isic-0.07/udpsic6.c
@@ -1,5 +1,7 @@
 #include "isic.h"
 
+#include <netinet/udp.h>
+
 /* This is tuned for ethernet sized frames (1500 bytes)
  * For user over a modem or frame (or other) you will have to change the
  * 'rand() & 0x4ff' line below.  The 0x4ff needs to be less than the size of