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)); }
private static extern NF_STATUS nf_addRule(ref NF_RULE pRule, int toHead);