• Home
  • Raw
  • Download

Lines Matching refs:offmask

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