File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ struct nfattr
43
43
u_int16_t nfa_len ;
44
44
u_int16_t nfa_type ; /* we use 15 bits for the type, and the highest
45
45
* bit to indicate whether the payload is nested */
46
- } __attribute__ (( packed )) ;
46
+ };
47
47
48
48
/* FIXME: Apart from NFNL_NFA_NESTED shamelessly copy and pasted from
49
49
* rtnetlink.h, it's time to put this in a generic file */
@@ -79,7 +79,7 @@ struct nfgenmsg {
79
79
u_int8_t nfgen_family ; /* AF_xxx */
80
80
u_int8_t version ; /* nfnetlink version */
81
81
u_int16_t res_id ; /* resource id */
82
- } __attribute__ (( packed )) ;
82
+ };
83
83
84
84
#define NFNETLINK_V0 0
85
85
Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ struct nfulnl_msg_packet_hdr {
19
19
u_int16_t hw_protocol ; /* hw protocol (network order) */
20
20
u_int8_t hook ; /* netfilter hook */
21
21
u_int8_t _pad ;
22
- } __attribute__ (( packed )) ;
22
+ };
23
23
24
24
struct nfulnl_msg_packet_hw {
25
25
u_int16_t hw_addrlen ;
26
26
u_int16_t _pad ;
27
27
u_int8_t hw_addr [8 ];
28
- } __attribute__ (( packed )) ;
28
+ };
29
29
30
30
struct nfulnl_msg_packet_timestamp {
31
31
aligned_u64 sec ;
32
32
aligned_u64 usec ;
33
- } __attribute__ (( packed )) ;
33
+ };
34
34
35
35
#define NFULNL_PREFIXLEN 30 /* just like old log target */
36
36
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ struct nfqnl_msg_packet_hw {
22
22
u_int16_t hw_addrlen ;
23
23
u_int16_t _pad ;
24
24
u_int8_t hw_addr [8 ];
25
- } __attribute__ (( packed )) ;
25
+ };
26
26
27
27
struct nfqnl_msg_packet_timestamp {
28
28
aligned_u64 sec ;
29
29
aligned_u64 usec ;
30
- } __attribute__ (( packed )) ;
30
+ };
31
31
32
32
enum nfqnl_attr_type {
33
33
NFQA_UNSPEC ,
@@ -49,7 +49,7 @@ enum nfqnl_attr_type {
49
49
struct nfqnl_msg_verdict_hdr {
50
50
u_int32_t verdict ;
51
51
u_int32_t id ;
52
- } __attribute__ (( packed )) ;
52
+ };
53
53
54
54
55
55
enum nfqnl_msg_config_cmds {
@@ -64,7 +64,7 @@ struct nfqnl_msg_config_cmd {
64
64
u_int8_t command ; /* nfqnl_msg_config_cmds */
65
65
u_int8_t _pad ;
66
66
u_int16_t pf ; /* AF_xxx for PF_[UN]BIND */
67
- } __attribute__ (( packed )) ;
67
+ };
68
68
69
69
enum nfqnl_config_mode {
70
70
NFQNL_COPY_NONE ,
You can’t perform that action at this time.
0 commit comments