-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/kaber/nf-2.6.26
- Loading branch information
Showing
105 changed files
with
2,383 additions
and
1,032 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#ifndef _NF_CONNTRACK_DCCP_H | ||
#define _NF_CONNTRACK_DCCP_H | ||
|
||
/* Exposed to userspace over nfnetlink */ | ||
enum ct_dccp_states { | ||
CT_DCCP_NONE, | ||
CT_DCCP_REQUEST, | ||
CT_DCCP_RESPOND, | ||
CT_DCCP_PARTOPEN, | ||
CT_DCCP_OPEN, | ||
CT_DCCP_CLOSEREQ, | ||
CT_DCCP_CLOSING, | ||
CT_DCCP_TIMEWAIT, | ||
CT_DCCP_IGNORE, | ||
CT_DCCP_INVALID, | ||
__CT_DCCP_MAX | ||
}; | ||
#define CT_DCCP_MAX (__CT_DCCP_MAX - 1) | ||
|
||
enum ct_dccp_roles { | ||
CT_DCCP_ROLE_CLIENT, | ||
CT_DCCP_ROLE_SERVER, | ||
__CT_DCCP_ROLE_MAX | ||
}; | ||
#define CT_DCCP_ROLE_MAX (__CT_DCCP_ROLE_MAX - 1) | ||
|
||
#ifdef __KERNEL__ | ||
#include <net/netfilter/nf_conntrack_tuple.h> | ||
|
||
struct nf_ct_dccp { | ||
u_int8_t role[IP_CT_DIR_MAX]; | ||
u_int8_t state; | ||
u_int8_t last_pkt; | ||
u_int8_t last_dir; | ||
u_int64_t handshake_seq; | ||
}; | ||
|
||
#endif /* __KERNEL__ */ | ||
|
||
#endif /* _NF_CONNTRACK_DCCP_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef __LINUX_BRIDGE_EBT_NFLOG_H | ||
#define __LINUX_BRIDGE_EBT_NFLOG_H | ||
|
||
#define EBT_NFLOG_MASK 0x0 | ||
|
||
#define EBT_NFLOG_PREFIX_SIZE 64 | ||
#define EBT_NFLOG_WATCHER "nflog" | ||
|
||
#define EBT_NFLOG_DEFAULT_GROUP 0x1 | ||
#define EBT_NFLOG_DEFAULT_THRESHOLD 1 | ||
|
||
struct ebt_nflog_info { | ||
u_int32_t len; | ||
u_int16_t group; | ||
u_int16_t threshold; | ||
u_int16_t flags; | ||
u_int16_t pad; | ||
char prefix[EBT_NFLOG_PREFIX_SIZE]; | ||
}; | ||
|
||
#endif /* __LINUX_BRIDGE_EBT_NFLOG_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.