Commit 9646f503 authored by Harald Welte's avatar Harald Welte Committed by Stephen Hemminger

[NETFILTER]: Cosmetic netfilter patch.

- moves all MODULE_{AUTHOR,DESCRIPTION,LICENSE} statements to the same
  location
- adds some missing MODULE_LICENSE(GPL) tags
- adds MODULE_DESCRIPTION and AUTHOR to all modules
parent ed3f4c8f
......@@ -25,6 +25,10 @@
#include <linux/netfilter_arp/arp_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("David S. Miller <davem@redhat.com>");
MODULE_DESCRIPTION("arptables core");
/*#define DEBUG_ARP_TABLES*/
/*#define DEBUG_ARP_TABLES_USER*/
......@@ -1324,4 +1328,3 @@ EXPORT_SYMBOL(arpt_unregister_target);
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -3,6 +3,10 @@
#include <linux/netfilter_arp/arpt_mangle.h>
#include <net/sock.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("David S. Miller <davem@redhat.com>");
MODULE_DESCRIPTION("arptables mangle table");
static unsigned int
target(struct sk_buff **pskb, unsigned int hooknum, const struct net_device *in,
const struct net_device *out, const void *targinfo, void *userinfo)
......@@ -98,4 +102,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -8,6 +8,10 @@
#include <linux/module.h>
#include <linux/netfilter_arp/arp_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("David S. Miller <davem@redhat.com>");
MODULE_DESCRIPTION("arptables filter table");
#define FILTER_VALID_HOOKS ((1 << NF_ARP_IN) | (1 << NF_ARP_OUT) | \
(1 << NF_ARP_FORWARD))
......@@ -209,4 +213,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -11,6 +11,10 @@
#include <linux/netfilter_ipv4/ip_conntrack_helper.h>
#include <linux/netfilter_ipv4/ip_conntrack_ftp.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Rusty Russell <rusty@rustcorp.com.au>");
MODULE_DESCRIPTION("ftp connection tracking helper");
/* This is slow, but it's simple. --RR */
static char ftp_buffer[65536];
......@@ -439,6 +443,5 @@ static int __init init(void)
PROVIDES_CONNTRACK(ftp);
EXPORT_SYMBOL(ip_ftp_lock);
MODULE_LICENSE("GPL");
module_init(init);
module_exit(fini);
......@@ -41,8 +41,8 @@ static unsigned int dcc_timeout = 300;
/* This is slow, but it's simple. --RR */
static char irc_buffer[65536];
MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>");
MODULE_DESCRIPTION("IRC (DCC) connection tracking module");
MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");
MODULE_DESCRIPTION("IRC (DCC) connection tracking helper");
MODULE_LICENSE("GPL");
#ifdef MODULE_PARM
MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
......
......@@ -17,7 +17,7 @@
#include <linux/netfilter_ipv4/ip_conntrack_tftp.h>
MODULE_AUTHOR("Magnus Boden <mb@ozaba.mine.nu>");
MODULE_DESCRIPTION("Netfilter connection tracking module for tftp");
MODULE_DESCRIPTION("tftp connection tracking helper");
MODULE_LICENSE("GPL");
#define MAX_PORTS 8
......
......@@ -35,7 +35,7 @@
#endif
MODULE_AUTHOR("Brian J. Murrell <netfilter@interlinx.bc.ca>");
MODULE_DESCRIPTION("Amanda network address translation module");
MODULE_DESCRIPTION("Amanda NAT helper");
MODULE_LICENSE("GPL");
/* protects amanda part of conntracks */
......
......@@ -10,6 +10,10 @@
#include <linux/netfilter_ipv4/ip_conntrack_ftp.h>
#include <linux/netfilter_ipv4/ip_conntrack_helper.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Rusty Russell <rusty@rustcorp.com.au>");
MODULE_DESCRIPTION("ftp NAT helper");
#if 0
#define DEBUGP printk
#else
......@@ -342,4 +346,3 @@ NEEDS_CONNTRACK(ftp);
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -39,7 +39,7 @@ static int ports[MAX_PORTS];
static int ports_c;
MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>");
MODULE_DESCRIPTION("IRC (DCC) network address translation module");
MODULE_DESCRIPTION("IRC (DCC) NAT helper");
MODULE_LICENSE("GPL");
#ifdef MODULE_PARM
MODULE_PARM(ports, "1-" __MODULE_STRING(MAX_PORTS) "i");
......
......@@ -56,7 +56,9 @@
#include <asm/uaccess.h>
#include <asm/checksum.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("James Morris <jmorris@intercode.com.au>");
MODULE_DESCRIPTION("Basic SNMP Application Layer Gateway");
#define SNMP_PORT 161
#define SNMP_TRAP_PORT 162
......@@ -1357,5 +1359,3 @@ module_init(init);
module_exit(fini);
MODULE_PARM(debug, "i");
MODULE_DESCRIPTION("Basic SNMP Application Layer Gateway");
MODULE_LICENSE("GPL");
......@@ -30,7 +30,7 @@
#include <linux/netfilter_ipv4/ip_nat_rule.h>
MODULE_AUTHOR("Magnus Boden <mb@ozaba.mine.nu>");
MODULE_DESCRIPTION("Netfilter NAT helper for tftp");
MODULE_DESCRIPTION("tfpt NAT helper");
MODULE_LICENSE("GPL");
#define MAX_PORTS 8
......
......@@ -25,6 +25,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("IPv4 packet filter");
/*#define DEBUG_IP_FIREWALL*/
/*#define DEBUG_ALLOW_ALL*/ /* Useful for remote debugging */
/*#define DEBUG_IP_FIREWALL_USER*/
......@@ -1845,4 +1849,3 @@ EXPORT_SYMBOL(ipt_unregister_target);
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -100,6 +100,9 @@
#include <linux/proc_fs.h>
#include <linux/stat.h>
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("ipchains backwards compatibility layer");
/* Understanding locking in this code: (thanks to Alan Cox for using
* little words to explain this to me). -- PR
*
......@@ -1842,4 +1845,3 @@ int ipfw_init_or_cleanup(int init)
#endif
return ret;
}
MODULE_LICENSE("Dual BSD/GPL");
......@@ -134,6 +134,7 @@
#include <linux/version.h>
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("ipfwadm backwards compatibility layer");
/*
* Implement IP packet firewall
......
......@@ -17,8 +17,8 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_DSCP.h>
MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>");
MODULE_DESCRIPTION("IP tables DSCP modification module");
MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");
MODULE_DESCRIPTION("iptables DSCP modification module");
MODULE_LICENSE("GPL");
static unsigned int
......
......@@ -17,6 +17,8 @@
#include <linux/netfilter_ipv4/ipt_ECN.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");
MODULE_DESCRIPTION("iptables ECN modification module");
/* set ECT codepoint from IP header.
* return 0 if there was an error. */
......
......@@ -13,6 +13,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_LOG.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables syslog logging module");
#if 0
#define DEBUGP printk
#else
......@@ -413,4 +417,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -7,6 +7,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_MARK.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>");
MODULE_DESCRIPTION("iptables MARK modification module");
static unsigned int
target(struct sk_buff **pskb,
const struct net_device *in,
......@@ -68,4 +72,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -12,6 +12,10 @@
#include <linux/netfilter_ipv4/ip_nat_rule.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables MASQUERADE target module");
#if 0
#define DEBUGP printk
#else
......@@ -213,4 +217,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -12,6 +12,10 @@
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv4/ip_nat_rule.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables REDIRECT target module");
#if 0
#define DEBUGP printk
#else
......@@ -115,4 +119,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -16,6 +16,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_REJECT.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables REJECT target module");
#if 0
#define DEBUGP printk
#else
......@@ -466,4 +470,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -12,6 +12,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_TCPMSS.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>");
MODULE_DESCRIPTION("iptables TCP MSS modification module");
#if 0
#define DEBUGP printk
#else
......@@ -250,4 +254,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -7,6 +7,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_TOS.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables TOS mangling module");
static unsigned int
target(struct sk_buff **pskb,
const struct net_device *in,
......@@ -93,4 +97,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -55,7 +55,7 @@
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>");
MODULE_DESCRIPTION("IP tables userspace logging module");
MODULE_DESCRIPTION("iptables userspace logging module");
#define ULOG_NL_EVENT 111 /* Harald's favorite number */
#define ULOG_MAXNLGROUPS 32 /* numer of nlgroups */
......
......@@ -7,6 +7,8 @@
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Yon Uriarte <yon@astaro.de>");
MODULE_DESCRIPTION("iptables AH SPI match module");
#ifdef DEBUG_CONNTRACK
#define duprintf(format, args...) printk(format , ## args)
......
......@@ -8,6 +8,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_conntrack.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>");
MODULE_DESCRIPTION("iptables connection tracking match module");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -122,4 +126,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -13,8 +13,8 @@
#include <linux/netfilter_ipv4/ipt_dscp.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>");
MODULE_DESCRIPTION("IP tables DSCP matching module");
MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");
MODULE_DESCRIPTION("iptables DSCP matching module");
MODULE_LICENSE("GPL");
static int match(const struct sk_buff *skb, const struct net_device *in,
......
......@@ -14,8 +14,8 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_ecn.h>
MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>");
MODULE_DESCRIPTION("IP tables ECN matching module");
MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");
MODULE_DESCRIPTION("iptables ECN matching module");
MODULE_LICENSE("GPL");
static inline int match_ip(const struct sk_buff *skb,
......
......@@ -7,6 +7,8 @@
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Yon Uriarte <yon@astaro.de>");
MODULE_DESCRIPTION("iptables ESP SPI match module");
#ifdef DEBUG_CONNTRACK
#define duprintf(format, args...) printk(format , ## args)
......
......@@ -17,6 +17,8 @@
#include <linux/netfilter_ipv4/ipt_helper.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Martin Josefsson <gandalf@netfilter.org>");
MODULE_DESCRIPTION("iptables helper match module");
#if 0
#define DEBUGP printk
......
......@@ -15,6 +15,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_limit.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Herve Eychenne <rv@wallfire.org>");
MODULE_DESCRIPTION("iptables rate limit match");
/* The algorithm used is the Simple Token Bucket Filter (TBF)
* see net/sched/sch_tbf.c in the linux source tree
*/
......@@ -134,4 +138,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -6,6 +6,10 @@
#include <linux/netfilter_ipv4/ipt_mac.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables mac matching module");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -64,4 +68,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -5,6 +5,10 @@
#include <linux/netfilter_ipv4/ipt_mark.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>");
MODULE_DESCRIPTION("iptables mark matching module");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -50,4 +54,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -8,6 +8,10 @@
#include <linux/netfilter_ipv4/ipt_multiport.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables multiple port match module");
#if 0
#define duprintf(format, args...) printk(format , ## args)
#else
......@@ -106,4 +110,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -11,6 +11,10 @@
#include <linux/netfilter_ipv4/ipt_owner.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>");
MODULE_DESCRIPTION("iptables owner match");
static int
match_comm(const struct sk_buff *skb, const char *comm)
{
......@@ -198,4 +202,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -8,6 +8,10 @@
#define MATCH 1
#define NOMATCH 0
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Bart De Schuymer <bdschuy@pandora.be>");
MODULE_DESCRIPTION("iptables bridge physical device match module");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -120,4 +124,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -7,6 +7,10 @@
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv4/ipt_state.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Rusty Russell <rusty@rustcorp.com.au>");
MODULE_DESCRIPTION("iptables connection tracking state match module");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -59,4 +63,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -8,6 +8,10 @@
#define TH_SYN 0x02
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>");
MODULE_DESCRIPTION("iptables TCP MSS match module");
/* Returns 1 if the mss option is set and matched by the range, 0 otherwise */
static inline int
mssoption_match(u_int16_t min, u_int16_t max,
......@@ -117,4 +121,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -5,6 +5,9 @@
#include <linux/netfilter_ipv4/ipt_tos.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("iptables TOS match module");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -50,4 +53,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -6,6 +6,10 @@
#include <linux/module.h>
#include <linux/netfilter_ipv4/ip_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables filter table");
#define FILTER_VALID_HOOKS ((1 << NF_IP_LOCAL_IN) | (1 << NF_IP_FORWARD) | (1 << NF_IP_LOCAL_OUT))
/* Standard entry. */
......@@ -200,4 +204,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -14,6 +14,10 @@
#include <net/route.h>
#include <linux/ip.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("iptables mangle table");
#define MANGLE_VALID_HOOKS ((1 << NF_IP_PRE_ROUTING) | \
(1 << NF_IP_LOCAL_IN) | \
(1 << NF_IP_FORWARD) | \
......@@ -267,4 +271,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -26,6 +26,10 @@
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("IPv6 packet filter");
#define IPV6_HDR_LEN (sizeof(struct ipv6hdr))
#define IPV6_OPTHDR_LEN (sizeof(struct ipv6_opt_hdr))
......@@ -1923,4 +1927,3 @@ EXPORT_SYMBOL(ip6t_ext_hdr);
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -7,6 +7,9 @@
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/netfilter_ipv6/ip6t_MARK.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
static unsigned int
target(struct sk_buff **pskb,
unsigned int hooknum,
......@@ -65,4 +68,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -6,6 +6,10 @@
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_DESCRIPTION("IPv6 EUI64 address checking match");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Andras Kis-Szabo <kisza@sch.bme.hu>");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -88,6 +92,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_DESCRIPTION("IPv6 EUI64 address checking match");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Andras Kis-Szabo <kisza@sch.bme.hu>");
......@@ -5,6 +5,10 @@
#include <linux/netfilter_ipv6/ip6t_length.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("James Morris <jmorris@intercode.com.au>");
MODULE_DESCRIPTION("IPv6 packet length match");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......
......@@ -15,6 +15,10 @@
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/netfilter_ipv6/ip6t_limit.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Herve Eychenne <rv@wallfire.org>");
MODULE_DESCRIPTION("rate limiting within ip6tables");
/* The algorithm used is the Simple Token Bucket Filter (TBF)
* see net/sched/sch_tbf.c in the linux source tree
*/
......@@ -136,4 +140,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -6,6 +6,10 @@
#include <linux/netfilter_ipv6/ip6t_mac.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("MAC address matching module for IPv6");
MODULE_AUTHOR("Netfilter Core Teaam <coreteam@netfilter.org>");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -66,5 +70,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("MAC address matching module for IPv6");
......@@ -5,6 +5,10 @@
#include <linux/netfilter_ipv6/ip6t_mark.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("ip6tables mark match");
static int
match(const struct sk_buff *skb,
const struct net_device *in,
......@@ -52,4 +56,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -9,6 +9,10 @@
#include <linux/netfilter_ipv6/ip6t_multiport.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("ip6tables match for multiple ports");
#if 0
#define duprintf(format, args...) printk(format , ## args)
#else
......
......@@ -6,6 +6,10 @@
#include <linux/module.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("ip6tables filter table");
#define FILTER_VALID_HOOKS ((1 << NF_IP6_LOCAL_IN) | (1 << NF_IP6_FORWARD) | (1 << NF_IP6_LOCAL_OUT))
/* Standard entry. */
......@@ -202,4 +206,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
......@@ -6,6 +6,10 @@
#include <linux/module.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
MODULE_DESCRIPTION("ip6tables mangle table");
#define MANGLE_VALID_HOOKS ((1 << NF_IP6_PRE_ROUTING) | \
(1 << NF_IP6_LOCAL_IN) | \
(1 << NF_IP6_FORWARD) | \
......@@ -279,4 +283,3 @@ static void __exit fini(void)
module_init(init);
module_exit(fini);
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment