Home | History | Annotate | Download | only in ip

Lines Matching defs:tos

32 	fprintf(stderr, "          [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]\n");
36 fprintf(stderr, " TOS := { NUMBER | inherit }\n");
63 __u8 tos = 0;
126 tos = *(__u8 *)RTA_DATA(greinfo[IFLA_GRE_TOS]);
224 } else if (!matches(*argv, "tos") ||
232 invarg("bad TOS value", *argv);
233 tos = uval;
235 tos = 1;
264 addattr_l(n, 1024, IFLA_GRE_TOS, &tos, 1);
315 int tos = *(__u8 *)RTA_DATA(tb[IFLA_GRE_TOS]);
317 fputs("tos ", f);
318 if (tos == 1)
321 fprintf(f, "0x%x ", tos);