Lines Matching refs:retain
146 pack_key32(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pack_key32() argument
154 tkey->val = htonl(tkey->val & retain); in pack_key32()
155 tkey->mask = htonl(tkey->mask | ~retain); in pack_key32()
162 pack_key16(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pack_key16() argument
192 retain <<= stride; in pack_key16()
194 tkey->mask = retain|m[ind]; in pack_key16()
205 pack_key8(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pack_key8() argument
227 retain <<= stride; in pack_key8()
228 tkey->mask = retain|m[ind]; in pack_key8()
268 parse_cmd(int *argc_p, char ***argv_p, __u32 len, int type,__u32 retain,struct tc_pedit_sel *sel,st… in parse_cmd() argument
288 retain = val = mask = o; in parse_cmd()
294 retain = mask = o; in parse_cmd()
304 if (parse_val(&argc, &argv, &retain, TU32)) in parse_cmd()
313 res = pack_key8(retain,sel,tkey); in parse_cmd()
318 res = pack_key16(retain,sel,tkey); in parse_cmd()
323 res = pack_key32(retain,sel,tkey); in parse_cmd()
341 __u32 len, retain; in parse_offset() local
362 retain = 0xFFFFFFFF; in parse_offset()
367 retain = 0x0; in parse_offset()
372 retain = 0x0; in parse_offset()
407 res = parse_cmd(&argc, &argv, len, TU32,retain,sel,tkey); in parse_offset()