Thank you. Worked perfectly by adding an own callback and using nftnl_rule_get_u64(t, NFTNL_RULE_HANDLE)); -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html