search for: nfct_bsf_cmp_k_stack

Displaying 1 result from an estimated 1 matches for "nfct_bsf_cmp_k_stack".

2023 Sep 03
0
[Bug 1062] Kernel IPv6 event filtering not working
...zel.net> --- In the ipv4 case: for (i = 0; i < f->l3proto_elems[dir]; i++) { int ip = f->l3proto[dir][i].addr & f->l3proto[dir][i].mask; j += nfct_bsf_load_attr(this, BPF_W, j); j += nfct_bsf_alu_and(this, f->l3proto[dir][i].mask, j); j += nfct_bsf_cmp_k_stack(this, ip, jt - j, j, s); } there is one comparison per address and if it matches we jump to the end of the filter. In the ipv6 case: for (i = 0; i < f->l3proto_elems_ipv6[dir]; i++) { int k, offset; for (k = 0, offset = 0; k < 4; k++, offset += 4) {...