mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 07:13:14 +08:00
pf: Some fixes after the update
This commit is contained in:
parent
774f19f24c
commit
9e8ce9ae2e
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#ifdef __rtems__
|
#ifdef __rtems__
|
||||||
#include "rtems-bsd-pfctl-namespace.h"
|
#include "rtems-bsd-pfctl-namespace.h"
|
||||||
|
#define ENABLE_ALTQ
|
||||||
#endif /* __rtems__ */
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
/* $OpenBSD: pfctl.c,v 1.278 2008/08/31 20:18:17 jmc Exp $ */
|
/* $OpenBSD: pfctl.c,v 1.278 2008/08/31 20:18:17 jmc Exp $ */
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#ifdef __rtems__
|
#ifdef __rtems__
|
||||||
#include "rtems-bsd-pfctl-namespace.h"
|
#include "rtems-bsd-pfctl-namespace.h"
|
||||||
|
#define WITH_INET6
|
||||||
|
#define WITH_INET
|
||||||
#endif /* __rtems__ */
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
/* $OpenBSD: pfctl_parser.c,v 1.240 2008/06/10 20:55:02 mcbride Exp $ */
|
/* $OpenBSD: pfctl_parser.c,v 1.240 2008/06/10 20:55:02 mcbride Exp $ */
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
#define pfctlylval _bsd_pfctl_pfctlylval
|
#define pfctlylval _bsd_pfctl_pfctlylval
|
||||||
#define pfctlyparse _bsd_pfctl_pfctlyparse
|
#define pfctlyparse _bsd_pfctl_pfctlyparse
|
||||||
#define rt_tableid_max _bsd_pfctl_rt_tableid_max
|
#define rt_tableid_max _bsd_pfctl_rt_tableid_max
|
||||||
|
#define map_tos _bsd_pfctl_map_tos
|
||||||
|
#define kw_casecmp _bsd_pfctl_kw_casecmp
|
||||||
#define pfctl_load_anchors _bsd_pfctl_pfctl_load_anchors
|
#define pfctl_load_anchors _bsd_pfctl_pfctl_load_anchors
|
||||||
#define parseport _bsd_pfctl_parseport
|
#define parseport _bsd_pfctl_parseport
|
||||||
#define parseicmpspec _bsd_pfctl_parseicmpspec
|
#define parseicmpspec _bsd_pfctl_parseicmpspec
|
||||||
|
@ -377,7 +377,8 @@ run_pfctl(int argc, char *argv[], int expected_result)
|
|||||||
snapshot2.workspace_info.Free.largest = 0;
|
snapshot2.workspace_info.Free.largest = 0;
|
||||||
snapshot.heap_info.Free.largest = 0;
|
snapshot.heap_info.Free.largest = 0;
|
||||||
snapshot2.heap_info.Free.largest = 0;
|
snapshot2.heap_info.Free.largest = 0;
|
||||||
assert(rtems_resource_snapshot_equal(&snapshot, &snapshot2));
|
assert(exit_code == EXIT_SUCCESS ||
|
||||||
|
rtems_resource_snapshot_equal(&snapshot, &snapshot2));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user