Lines Matching defs:offmask
120 int off, int offmask)
128 if (sel->keys[i].off == off && sel->keys[i].offmask == offmask) {
146 sel->keys[hwm].offmask = offmask;
152 int off, int offmask)
156 return pack_key(sel, key, mask, off, offmask);
160 int off, int offmask)
173 return pack_key(sel, key, mask, off, offmask);
177 int offmask)
196 return pack_key(sel, key, mask, off, offmask);
200 static int parse_at(int *argc_p, char ***argv_p, int *off, int *offmask)
211 *offmask = -1;
215 *offmask = -1;
230 int off, int offmask)
251 if (parse_at(&argc, &argv, &off, &offmask))
255 res = pack_key32(sel, key, mask, off, offmask);
262 int off, int offmask)
283 if (parse_at(&argc, &argv, &off, &offmask))
286 res = pack_key16(sel, key, mask, off, offmask);
293 int off, int offmask)
317 if (parse_at(&argc, &argv, &off, &offmask))
321 res = pack_key8(sel, key, mask, off, offmask);
335 int offmask = 0;
346 if (parse_at(&argc, &argv, &off, &offmask))
353 if (pack_key(sel, addr.data[0], mask, off, offmask) < 0)
371 int offmask = 0;
382 if (parse_at(&argc, &argv, &off, &offmask))
390 0xFFFFFFFF, off + 4 * (i / 32), offmask);
397 mask, off + 4 * (i / 32), offmask);
417 int offmask = 0;
438 res = pack_key(sel, key, mask, off, offmask);
454 int offmask = 0;
471 if (parse_at(&argc, &argv, &off, &offmask))
476 res = pack_key8(sel, addr[i], 0xFF, off + i, offmask);
772 if (get_be16(&sel->offmask, *argv, 16))
951 key->offmask ? "nexthdr+" : "",
1313 ntohs(sel->offmask),