Home | History | Annotate | Download | only in tc

Lines Matching refs:xor

37 "OPS      := [ or NUM | and NUM | xor NUM | rshift NUM | addend NUM ]\n"
91 static void transfer_bitop(__u32 *mask, __u32 *xor, __u32 m, __u32 x)
93 *xor = x ^ (*xor & m);
138 __u32 mask = ~0U, xor = 0;
171 transfer_bitop(&mask, &xor, tmp, 0);
178 transfer_bitop(&mask, &xor, ~tmp, tmp);
179 } else if (matches(*argv, "xor") == 0) {
182 fprintf(stderr, "Illegal \"xor\"\n");
185 transfer_bitop(&mask, &xor, ~0, tmp);
259 if (mask != ~0 || xor != 0) {
261 addattr32(n, 4096, TCA_FLOW_XOR, xor);
317 __u32 xor = mask & val;
321 if (xor != 0)
322 fprintf(f, "xor 0x%.8x ", xor);