Exemple #1
0
        public static NF_STATUS nf_addRuleEx(NF_RULE_EX pRule, int toHead)
        {
            updateAddressLength(ref pRule.localIpAddress);
            updateAddressLength(ref pRule.localIpAddressMask);
            updateAddressLength(ref pRule.remoteIpAddress);
            updateAddressLength(ref pRule.remoteIpAddressMask);

            return(nf_addRuleEx(ref pRule, toHead));
        }
Exemple #2
0
 private static extern NF_STATUS nf_addRuleEx(ref NF_RULE_EX pRule, int toHead);