23b1d0c Add helper methods for determining what protocol layer is used

Authored and Committed by berrange 10 years ago
    Add helper methods for determining what protocol layer is used
    
    Add virNWFilterRuleIsProtocol{Ethernet,IPv4,IPv6} helper methods
    to avoid having to write a giant switch statements with many cases.
    
    Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
    
        
file modified
+26 -0
file modified
+14 -0
file modified
+3 -0