Home | History | Annotate | Download | only in tc

Lines Matching defs:offmask

118 		    int off, int offmask)
126 if (sel->keys[i].off == off && sel->keys[i].offmask == offmask) {
144 sel->keys[hwm].offmask = offmask;
150 int off, int offmask)
154 return pack_key(sel, key, mask, off, offmask);
158 int off, int offmask)
171 return pack_key(sel, key, mask, off, offmask);
174 static int pack_key8(struct tc_u32_sel *sel, __u32 key, __u32 mask, int off, int offmask)
193 return pack_key(sel, key, mask, off, offmask);
197 static int parse_at(int *argc_p, char ***argv_p, int *off, int *offmask)
208 *offmask = -1;
212 *offmask = -1;
227 int off, int offmask)
248 if (parse_at(&argc, &argv, &off, &offmask))
252 res = pack_key32(sel, key, mask, off, offmask);
259 int off, int offmask)
280 if (parse_at(&argc, &argv, &off, &offmask))
283 res = pack_key16(sel, key, mask, off, offmask);
290 int off, int offmask)
314 if (parse_at(&argc, &argv, &off, &offmask))
318 res = pack_key8(sel, key, mask, off, offmask);
332 int offmask = 0;
343 if (parse_at(&argc, &argv, &off, &offmask))
350 if (pack_key(sel, addr.data[0], mask, off, offmask) < 0)
368 int offmask = 0;
379 if (parse_at(&argc, &argv, &off, &offmask))
388 0xFFFFFFFF, off + 4 * (i / 32), offmask);
394 mask, off + 4 * (i / 32), offmask);
414 int offmask = 0;
435 res = pack_key(sel, key, mask, off, offmask);
451 int offmask = 0;
468 if (parse_at(&argc, &argv, &off, &offmask))
473 res = pack_key8(sel, addr[i], 0xFF, off + i, offmask);
770 sel->offmask = htons(mask);
940 key->offmask ? "nexthdr+" : "",
1259 ntohs(sel->offmask),