diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-04-13 13:51:38 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-04-13 13:51:38 +0200 |
commit | 91eb7c08c6cb3b8eeba1c61f5753c56dcb77f018 (patch) | |
tree | 4e3c461633b58a6cea44bb0230ee750e4bd98416 /include/linux/netfilter/ipset/ip_set_getport.h | |
parent | e3f6a652fd0e828de586a3a87b56c07f7a32259a (diff) | |
download | op-kernel-dev-91eb7c08c6cb3b8eeba1c61f5753c56dcb77f018.zip op-kernel-dev-91eb7c08c6cb3b8eeba1c61f5753c56dcb77f018.tar.gz |
netfilter: ipset: SCTP, UDPLITE support added
SCTP and UDPLITE port support added to the hash:*port* set types.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter/ipset/ip_set_getport.h')
-rw-r--r-- | include/linux/netfilter/ipset/ip_set_getport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfilter/ipset/ip_set_getport.h b/include/linux/netfilter/ipset/ip_set_getport.h index 5aebd17..90d0930 100644 --- a/include/linux/netfilter/ipset/ip_set_getport.h +++ b/include/linux/netfilter/ipset/ip_set_getport.h @@ -22,7 +22,9 @@ static inline bool ip_set_proto_with_ports(u8 proto) { switch (proto) { case IPPROTO_TCP: + case IPPROTO_SCTP: case IPPROTO_UDP: + case IPPROTO_UDPLITE: return true; } return false; |