git://git.onelab.eu
/
ipfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added missing file.
[ipfw.git]
/
glue.h
diff --git
a/glue.h
b/glue.h
index
d3571a4
..
a3548bd
100644
(file)
--- a/
glue.h
+++ b/
glue.h
@@
-23,7
+23,6
@@
* SUCH DAMAGE.
*/
/*
* SUCH DAMAGE.
*/
/*
- *
* $Id$
*
* glue code to adapt the FreeBSD version to linux and windows,
* $Id$
*
* glue code to adapt the FreeBSD version to linux and windows,
@@
-86,7
+85,7
@@
enum sopt_dir { SOPT_GET, SOPT_SET };
* so early include this file (to be solved) */
#include <linux/list.h>
#include <linux/in.h> /* struct in_addr */
* so early include this file (to be solved) */
#include <linux/list.h>
#include <linux/in.h> /* struct in_addr */
-#include <linux/in6.h> /* struct in_addr */
+#include <linux/in6.h> /* struct in
6
_addr */
#include <linux/icmp.h>
/*
* LIST_HEAD in queue.h conflict with linux/list.h
#include <linux/icmp.h>
/*
* LIST_HEAD in queue.h conflict with linux/list.h
@@
-206,11
+205,13
@@
struct clockinfo {
int profhz; /* profiling clock frequency */
};
int profhz; /* profiling clock frequency */
};
-
/*
/*
- * linux does not have heapsort
+ * linux does not have a reentrant version of qsort,
+ * so we the FreeBSD stdlib version.
*/
*/
-#define heapsort(_a, _b, _c, _d) qsort(_a, _b, _c, _d)
+void
+qsort_r(void *a, size_t n, size_t es, void *thunk,
+ int cmp_t(void *, const void *, const void *));
#define setprogname(x) /* not present in linux */
#define setprogname(x) /* not present in linux */
@@
-260,6
+261,7
@@
enum ipfw_msg_type {
IP_FW_FLUSH,
IP_FW_ZERO,
IP_FW_GET,
IP_FW_FLUSH,
IP_FW_ZERO,
IP_FW_GET,
+ IP_FW_DYN_GET,
IP_FW_RESETLOG,
IP_FW_NAT_CFG,
IP_FW_RESETLOG,
IP_FW_NAT_CFG,