Shivani Bhardwaj <shivanib134@xxxxxxxxx> wrote: > I'm unsure if the options or-set, and-set are supported in nftables. I > cannot find much about them. Please let me know if there are > translations corresponding to these options as well, I'll send another > patch then. You have to combine another mark + binop, i.e.: filter input mark set mark or 1 [ meta load mark => reg 1 ] [ bitwise reg 1 = (reg=1 & 0xfffffffe ) ^ 0x00000001 ] [ meta set mark with reg 1 ] i.e., load mark into register, or with 1 (or whatever), then set new mark based on result. Replace or with and to get --and-mark. -- 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