> +const struct socket_template socket_templates[] = {
> +     [NFT_SOCKET_TRANSPARENT]        = {.token = "transparent",
> +                                        .dtype = &integer_type,
> +                                        .len = 1 * BITS_PER_BYTE,

I wanted to use len = 1 here to only make 0 and 1 possible values, but it always
printed netlink: Error: Relational expression size mismatch.

> +                                        .byteorder = BYTEORDER_HOST_ENDIAN,
> +                                       }
> +};
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to