Check-in [d4b45fb52e]
Overview
SHA1:d4b45fb52ea86e5d1f6cd7b74736aa5d47308db0
Date: 2009-05-24 18:29:06
User: rmiller
Comment:Change to uint8_t per Julien.
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2009-05-24
21:00
[52fcd859c7] A little defensive programming... (user: rmiller, tags: trunk)
18:29
[d4b45fb52e] Change to uint8_t per Julien. (user: rmiller, tags: trunk)
2009-05-10
18:10
[8ad0406dfd] Patch submitted by Julien Reveret that makes packetbl actually work under 64 bit systems. (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
# 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;

	int s_port;
	int d_port;

	int flags;
};








|
|
|
|







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 {

	uint8_t b1;
	uint8_t b2;
	uint8_t b3;
	uint8_t b4;

	int s_port;
	int d_port;

	int flags;
};