[libvirt] [PATCH 14/14] Extension for iptables rules

Eric Blake eblake at redhat.com
Thu Mar 18 19:29:17 UTC 2010


On 03/18/2010 09:18 AM, Stefan Berger wrote:
> This patch adds support for L3/L4 filtering using iptables. This adds
> support for 'tcp', 'udp', 'icmp', 'igmp', 'sctp' etc. filtering.
> 
> As mentioned in the introduction, a .c file provided by this patch
> is #include'd into a .c file. This will need work, but should be alright
> for review.
> 
> Signed-off-by: Stefan Berger <stefanb at us.ibm.com>

[same caveats as earlier in this thread...]

> +                      unsigned int priority,
> +                      int isIptablesRule)
>  {
>      ebiptablesRuleInstPtr inst;
>  
> @@ -225,6 +229,7 @@ ebiptablesAddRuleInst(virConnectPtr conn
>      inst->neededProtocolChain = neededChain;
>      inst->chainprefix = chainprefix;
>      inst->priority = priority;
> +    inst->isIptablesRule = isIptablesRule;

This should be bool, not int.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100318/7be50c52/attachment-0001.sig>


More information about the libvir-list mailing list