Re: [PATCH 1/6] Core changes for better error reporting to userspace.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 2009-06-20 23:56, Jozsef Kadlecsik wrote:
> 
>+struct xt_error_entry {
>+	__u8 errcode;
>+	__u8 match;
>+	unsigned char data[0];
>+};
>+
>+#define XT_PTR_ERR	(MAX_ERRNO+1)
>+

Also, the extensions return a positive non-zero value which is, if I
paid attention correctly, passed back up to userspace unmodified. Old
iptables may not expect that anything besides {-Inf..0} at all.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux