Lines Matching refs:matches
49 if ((matches(*argv, "iph") == 0) || in parse_csum_args()
50 (matches(*argv, "ip4h") == 0) || in parse_csum_args()
51 (matches(*argv, "ipv4h") == 0)) in parse_csum_args()
54 else if (matches(*argv, "icmp") == 0) in parse_csum_args()
57 else if (matches(*argv, "igmp") == 0) in parse_csum_args()
60 else if (matches(*argv, "tcp") == 0) in parse_csum_args()
63 else if (matches(*argv, "udp") == 0) in parse_csum_args()
66 else if (matches(*argv, "udplite") == 0) in parse_csum_args()
69 else if ((matches(*argv, "and") == 0) || in parse_csum_args()
70 (matches(*argv, "or") == 0) || in parse_csum_args()
71 (matches(*argv, "+") == 0)) in parse_csum_args()
99 if (matches(*argv, "csum") == 0) { in parse_csum()
109 } else if (matches(*argv, "help") == 0) { in parse_csum()
128 if (matches(*argv, "reclassify") == 0) { in parse_csum()
132 } else if (matches(*argv, "pipe") == 0) { in parse_csum()
136 } else if (matches(*argv, "drop") == 0 || in parse_csum()
137 matches(*argv, "shot") == 0) { in parse_csum()
141 } else if (matches(*argv, "continue") == 0) { in parse_csum()
145 } else if (matches(*argv, "pass") == 0) { in parse_csum()
153 if (matches(*argv, "index") == 0) { in parse_csum()