Check-in [d4b45fb52e]
Overview
Comment:Change to uint8_t per Julien.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d4b45fb52ea86e5d1f6cd7b74736aa5d47308db0
User & Date: rmiller on 2009-05-24 18:29:06
Other Links: manifest | tags
Context
2009-05-24
21:00
A little defensive programming... check-in: 52fcd859c7 user: rmiller tags: trunk
18:29
Change to uint8_t per Julien. check-in: d4b45fb52e user: rmiller tags: trunk
2009-05-10
18:10
Patch submitted by Julien Reveret that makes packetbl actually work under 64 bit systems. check-in: 8ad0406dfd user: rmiller tags: trunk
Changes

Modified packetbl.c from [dfedb0856e] to [b3fcc2e443].

74
75
76
77
78
79
80
81
82
83
84




85
86
87
88
89
90
91
74
75
76
77
78
79
80




81
82
83
84
85
86
87
88
89
90
91







-
-
-
-
+
+
+
+







# define PBL_COPY_PACKET NFQNL_COPY_PACKET
# define PBL_ID_T u_int32_t
# define PBL_ERRSTR ""

#define DEBUG(x, y) if (conf.debug >= x) { printf(y "\n"); }
struct packet_info {

	unsigned short int b1;
	unsigned short int b2;
	unsigned short int b3;
	unsigned short int b4;
	uint8_t b1;
	uint8_t b2;
	uint8_t b3;
	uint8_t b4;

	int s_port;
	int d_port;

	int flags;
};