Home | History | Annotate | Download | only in tc

Lines Matching defs:mode

26 " [mapping mode]: map key KEY [ OPS ] ...\n"
27 " [hashing mode]: hash keys KEY-LIST ... [ perturb SECS ]\n"
140 __u32 mode = FLOW_MODE_MAP;
157 mode = FLOW_MODE_MAP;
159 mode = FLOW_MODE_HASH;
253 if (nkeys > 1 && mode != FLOW_MODE_HASH) {
254 fprintf(stderr, "Invalid mode \"map\" for multiple keys\n");
257 addattr32(n, 4096, TCA_FLOW_MODE, mode);
284 __u32 mode = *(__u32 *)RTA_DATA(tb[TCA_FLOW_MODE]);
286 switch (mode) {