Lines Matching refs:argv
31 char **argv = *argv_p;
36 if (strcmp(*argv, "src") == 0) {
39 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey);
42 if (strcmp(*argv, "dst") == 0) {
45 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey);
52 if (strcmp(*argv, "tos") == 0 || matches(*argv, "dsfield") == 0) {
55 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey);
58 if (strcmp(*argv, "ihl") == 0) {
61 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey);
64 if (strcmp(*argv, "protocol") == 0) {
67 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey);
71 if (matches(*argv, "precedence") == 0) {
74 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey);
78 if (strcmp(*argv, "nofrag") == 0) {
81 res = parse_cmd(&argc, &argv, 1, TU32,0x3F,sel,tkey);
85 if (strcmp(*argv, "firstfrag") == 0) {
88 res = parse_cmd(&argc, &argv, 1, TU32,0x1F,sel,tkey);
91 if (strcmp(*argv, "ce") == 0) {
94 res = parse_cmd(&argc, &argv, 1, TU32,0x80,sel,tkey);
97 if (strcmp(*argv, "df") == 0) {
100 res = parse_cmd(&argc, &argv, 1, TU32,0x40,sel,tkey);
103 if (strcmp(*argv, "mf") == 0) {
106 res = parse_cmd(&argc, &argv, 1, TU32,0x20,sel,tkey);
109 if (strcmp(*argv, "dport") == 0) {
112 res = parse_cmd(&argc, &argv, 2, TU32,RU16,sel,tkey);
115 if (strcmp(*argv, "sport") == 0) {
118 res = parse_cmd(&argc, &argv, 2, TU32,RU16,sel,tkey);
121 if (strcmp(*argv, "icmp_type") == 0) {
124 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey);
127 if (strcmp(*argv, "icmp_code") == 0) {
130 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey);
137 *argv_p = argv;