Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6344
b: refs/heads/master
c: 0ba2c6e
h: refs/heads/master
v: v3
  • Loading branch information
Harald Welte authored and David S. Miller committed Aug 29, 2005
1 parent 5188368 commit fe7d604
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17b085eacef81a6286bd478f2ec75e04abb091cb
refs/heads/master: 0ba2c6e8c0fb5cde5a23a213c2e7cb851b85c310
5 changes: 3 additions & 2 deletions trunk/include/linux/netfilter/nfnetlink_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* and not any kind of function definitions. It is shared between kernel and
* userspace. Don't put kernel specific stuff in here */

#include <linux/types.h>
#include <linux/netfilter/nfnetlink.h>

enum nfulnl_msg_types {
Expand All @@ -27,8 +28,8 @@ struct nfulnl_msg_packet_hw {
} __attribute__ ((packed));

struct nfulnl_msg_packet_timestamp {
u_int64_t sec;
u_int64_t usec;
aligned_u64 sec;
aligned_u64 usec;
} __attribute__ ((packed));

#define NFULNL_PREFIXLEN 30 /* just like old log target */
Expand Down
5 changes: 3 additions & 2 deletions trunk/include/linux/netfilter/nfnetlink_queue.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef _NFNETLINK_QUEUE_H
#define _NFNETLINK_QUEUE_H

#include <linux/types.h>
#include <linux/netfilter/nfnetlink.h>

enum nfqnl_msg_types {
Expand All @@ -24,8 +25,8 @@ struct nfqnl_msg_packet_hw {
} __attribute__ ((packed));

struct nfqnl_msg_packet_timestamp {
u_int64_t sec;
u_int64_t usec;
aligned_u64 sec;
aligned_u64 usec;
} __attribute__ ((packed));

enum nfqnl_attr_type {
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ typedef __u64 u_int64_t;
typedef __s64 int64_t;
#endif

/* this is a special 64bit data type that is 8-byte aligned */
#define aligned_u64 unsigned long long __attribute__((aligned(8)))

/*
* The type used for indexing onto a disc or disc partition.
* If required, asm/types.h can override it and define
Expand Down

0 comments on commit fe7d604

Please sign in to comment.