Example #1
0
        public static NF_STATUS nf_addRule(NF_RULE pRule, int toHead)
        {
            updateAddressLength(ref pRule.localIpAddress);
            updateAddressLength(ref pRule.localIpAddressMask);
            updateAddressLength(ref pRule.remoteIpAddress);
            updateAddressLength(ref pRule.remoteIpAddressMask);

            return(nf_addRule(ref pRule, toHead));
        }
Example #2
0
 private static extern NF_STATUS nf_addRule(ref NF_RULE pRule, int toHead);