<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - meta mark 0x80000000 display error"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1739#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - meta mark 0x80000000 display error"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1739">bug 1739</a>
from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
<pre>(In reply to Phil Sutter from <a href="show_bug.cgi?id=1739#c1">comment #1</a>)
<span class="quote">> It is merely a display issue at least:
>
> # nft --debug=netlink add rule t c 'meta mark and 0x80000000 != 0'
>
> ip t c
> [ meta load mark => reg 1 ]
> [ bitwise reg 1 = ( reg 1 & 0x80000000 ) ^ 0x00000000 ]
> [ cmp neq reg 1 0x00000000 ]
>
> # nft --debug=netlink list chain t c
> ip t c 2
> [ meta load mark => reg 1 ]
> [ bitwise reg 1 = ( reg 1 & 0x80000000 ) ^ 0x00000000 ]
> [ cmp neq reg 1 0x00000000 ]
>
> table ip t {
> chain c {
> meta mark != 0x00000000/1
> }
> }</span >
It is possible to disable prefix notation in meta mark if it is difficult to
understand.
0x80000000 is translated into a prefix which is /1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>