blob: 448ba6878357066c25860460b30affab28ccb601 [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301isic: add missing header file
2
Patrick Williams520786c2023-06-25 16:20:36 -05003Upstream-Status: Backport
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05304http://pkgs.fedoraproject.org/cgit/isic.git/tree/isic-0.07-netinet.patch
5
6Signed-off-by: Armin Kuster <akuster808@gmail.com>
7
8Index: isic-0.07/multisic.c
9===================================================================
10--- isic-0.07.orig/multisic.c
11+++ isic-0.07/multisic.c
12@@ -1,5 +1,8 @@
13 #include "isic.h"
14
15+#include <netinet/udp.h>
16+/*#include <netinet/tcp.h>*/
17+
18 /* This is tuned for ethernet sized frames (1500 bytes)
19 * For user over a modem or frame (or other) you will have to change the
20 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
21Index: isic-0.07/tcpsic.c
22===================================================================
23--- isic-0.07.orig/tcpsic.c
24+++ isic-0.07/tcpsic.c
25@@ -1,5 +1,7 @@
26 #include "isic.h"
27
28+#include <netinet/tcp.h>
29+
30 /* This is tuned for ethernet sized frames (1500 bytes)
31 * For user over a modem or frame (or other) you will have to change the
32 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
33Index: isic-0.07/tcpsic6.c
34===================================================================
35--- isic-0.07.orig/tcpsic6.c
36+++ isic-0.07/tcpsic6.c
37@@ -1,5 +1,7 @@
38 #include "isic.h"
39
40+#include <netinet/tcp.h>
41+
42 /* This is tuned for ethernet sized frames (1500 bytes)
43 * For user over a modem or frame (or other) you will have to change the
44 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
45Index: isic-0.07/udpsic.c
46===================================================================
47--- isic-0.07.orig/udpsic.c
48+++ isic-0.07/udpsic.c
49@@ -1,5 +1,7 @@
50 #include "isic.h"
51
52+#include <netinet/udp.h>
53+
54 /* This is tuned for ethernet sized frames (1500 bytes)
55 * For user over a modem or frame (or other) you will have to change the
56 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
57Index: isic-0.07/udpsic6.c
58===================================================================
59--- isic-0.07.orig/udpsic6.c
60+++ isic-0.07/udpsic6.c
61@@ -1,5 +1,7 @@
62 #include "isic.h"
63
64+#include <netinet/udp.h>
65+
66 /* This is tuned for ethernet sized frames (1500 bytes)
67 * For user over a modem or frame (or other) you will have to change the
68 * 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of