forked from RMerl/asuswrt-merlin
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use iptables 1.4.14 with kernel 2.6.22
- Loading branch information
Showing
2 changed files
with
24 additions
and
7 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
20 changes: 20 additions & 0 deletions
20
release/src/router/iptables-1.4.x/include/linux/netfilter/xt_ethport.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* x_tables module for matching the IPv4/IPv6 DSCP field | ||
* | ||
* (C) 2002 Harald Welte <[email protected]> | ||
* This software is distributed under GNU GPL v2, 1991 | ||
* | ||
* xt_ethport.h, 2009/06/09 | ||
*/ | ||
#ifndef _XT_ETHPORT_H | ||
#define _XT_ETHPORT_H | ||
|
||
#define XT_SKB_CB_OFFSET 0x24 /* store port number info in skb->cb[0x24] */ | ||
#define XT_ETHPORT_MAX 0x8 /* port 0-5 && cpu port(port6)*/ | ||
|
||
/* match info */ | ||
struct xt_ethport_info { | ||
u_int8_t portnum; | ||
u_int8_t invert; | ||
}; | ||
|
||
#endif /* _XT_ETHPORT_H */ |