Home
last modified time | relevance | path

Searched refs:invert (Results 1 – 25 of 172) sorted by relevance

1234567

/external/iptables/extensions/
Dlibip6t_physdev.c43 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
55 check_inverse(optarg, &invert, &optind, 0); in parse()
58 if (invert) in parse()
59 info->invert |= IP6T_PHYSDEV_OP_IN; in parse()
67 check_inverse(optarg, &invert, &optind, 0); in parse()
70 if (invert) in parse()
71 info->invert |= IP6T_PHYSDEV_OP_OUT; in parse()
79 check_inverse(optarg, &invert, &optind, 0); in parse()
81 if (invert) in parse()
82 info->invert |= IP6T_PHYSDEV_OP_ISIN; in parse()
[all …]
Dlibipt_physdev.c43 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
55 check_inverse(optarg, &invert, &optind, 0); in parse()
58 if (invert) in parse()
59 info->invert |= IPT_PHYSDEV_OP_IN; in parse()
67 check_inverse(optarg, &invert, &optind, 0); in parse()
70 if (invert) in parse()
71 info->invert |= IPT_PHYSDEV_OP_OUT; in parse()
79 check_inverse(optarg, &invert, &optind, 0); in parse()
81 if (invert) in parse()
82 info->invert |= IPT_PHYSDEV_OP_ISIN; in parse()
[all …]
Dlibipt_2ecn.c37 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
51 check_inverse(optarg, &invert, &optind, 0); in parse()
53 if (invert) in parse()
54 einfo->invert |= IPT_ECN_OP_MATCH_CWR; in parse()
62 check_inverse(optarg, &invert, &optind, 0); in parse()
64 if (invert) in parse()
65 einfo->invert |= IPT_ECN_OP_MATCH_ECE; in parse()
73 check_inverse(optarg, &invert, &optind, 0); in parse()
74 if (invert) in parse()
75 einfo->invert |= IPT_ECN_OP_MATCH_IP; in parse()
[all …]
Dlibip6t_policy.c168 static int parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
179 check_inverse(optarg, &invert, &optind, 0); in parse()
186 if (invert) in parse()
193 if (invert) in parse()
204 if (invert) in parse()
216 e->invert.reqid = invert; in parse()
225 e->invert.spi = invert; in parse()
239 e->invert.saddr = invert; in parse()
254 e->invert.daddr = invert; in parse()
269 e->invert.proto = invert; in parse()
[all …]
Dlibipt_policy.c128 static int parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
139 check_inverse(optarg, &invert, &optind, 0); in parse()
146 if (invert) in parse()
153 if (invert) in parse()
164 if (invert) in parse()
176 e->invert.reqid = invert; in parse()
185 e->invert.spi = invert; in parse()
199 e->invert.saddr = invert; in parse()
214 e->invert.daddr = invert; in parse()
229 e->invert.proto = invert; in parse()
[all …]
Dlibip6t_owner.c53 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
65 check_inverse(optarg, &invert, &optind, 0); in parse()
74 if (invert) in parse()
75 ownerinfo->invert |= IP6T_OWNER_UID; in parse()
81 check_inverse(optarg, &invert, &optind, 0); in parse()
89 if (invert) in parse()
90 ownerinfo->invert |= IP6T_OWNER_GID; in parse()
96 check_inverse(optarg, &invert, &optind, 0); in parse()
100 if (invert) in parse()
101 ownerinfo->invert |= IP6T_OWNER_PID; in parse()
[all …]
Dlibipt_owner.c55 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
67 check_inverse(optarg, &invert, &optind, 0); in parse()
75 if (invert) in parse()
76 ownerinfo->invert |= IPT_OWNER_UID; in parse()
82 check_inverse(optarg, &invert, &optind, 0); in parse()
90 if (invert) in parse()
91 ownerinfo->invert |= IPT_OWNER_GID; in parse()
97 check_inverse(optarg, &invert, &optind, 0); in parse()
101 if (invert) in parse()
102 ownerinfo->invert |= IPT_OWNER_PID; in parse()
[all …]
Dlibipt_tcp.c113 int invert) in parse_tcp_flags() argument
118 if (invert) in parse_tcp_flags()
150 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
162 check_inverse(optarg, &invert, &optind, 0); in parse()
164 if (invert) in parse()
173 check_inverse(optarg, &invert, &optind, 0); in parse()
175 if (invert) in parse()
185 parse_tcp_flags(tcpinfo, "SYN,RST,ACK,FIN", "SYN", invert); in parse()
194 check_inverse(optarg, &invert, &optind, 0); in parse()
202 invert); in parse()
[all …]
Dlibip6t_tcp.c112 int invert) in parse_tcp_flags() argument
117 if (invert) in parse_tcp_flags()
149 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
161 check_inverse(optarg, &invert, &optind, 0); in parse()
163 if (invert) in parse()
172 check_inverse(optarg, &invert, &optind, 0); in parse()
174 if (invert) in parse()
184 parse_tcp_flags(tcpinfo, "SYN,RST,ACK", "SYN", invert); in parse()
193 check_inverse(optarg, &invert, &optind, 0); in parse()
201 invert); in parse()
[all …]
Dlibipt_2dscp.c77 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
90 check_inverse(optarg, &invert, &optind, 0); in parse()
92 if (invert) in parse()
93 dinfo->invert = 1; in parse()
101 check_inverse(optarg, &invert, &optind, 0); in parse()
103 if (invert) in parse()
104 dinfo->invert = 1; in parse()
124 print_dscp(u_int8_t dscp, int invert, int numeric) in print_dscp() argument
126 if (invert) in print_dscp()
141 print_dscp(dinfo->dscp, dinfo->invert, numeric); in print()
[all …]
Dlibipt_recent.c86 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
97 check_inverse(optarg, &invert, &optind, 0); in parse()
99 if (invert) info->invert = 1; in parse()
107 check_inverse(optarg, &invert, &optind, 0); in parse()
109 if(invert) info->invert = 1; in parse()
117 check_inverse(optarg, &invert, &optind, 0); in parse()
119 if (invert) info->invert = 1; in parse()
127 check_inverse(optarg, &invert, &optind, 0); in parse()
129 if (invert) info->invert = 1; in parse()
184 if (info->invert) in print()
[all …]
Dlibipt_dccp.c136 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
150 check_inverse(optarg, &invert, &optind, 0); in parse()
152 if (invert) in parse()
162 check_inverse(optarg, &invert, &optind, 0); in parse()
164 if (invert) in parse()
174 check_inverse(optarg, &invert, &optind, 0); in parse()
176 if (invert) in parse()
186 check_inverse(optarg, &invert, &optind, 0); in parse()
188 if (invert) in parse()
227 int invert, int numeric) in print_ports() argument
[all …]
Dlibip6t_ah.c87 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
99 check_inverse(optarg, &invert, &optind, 0); in parse()
101 if (invert) in parse()
109 check_inverse(optarg, &invert, &optind, 0); in parse()
111 if (invert) in parse()
137 int invert) in print_spis() argument
139 const char *inv = invert ? "!" : ""; in print_spis()
141 if (min != 0 || max != 0xFFFFFFFF || invert) { in print_spis()
150 print_len(const char *name, u_int32_t len, int invert) in print_len() argument
152 const char *inv = invert ? "!" : ""; in print_len()
[all …]
Dlibipt_helper.c30 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
42 check_inverse(optarg, &invert, &invert, 0); in parse()
45 if (invert) in parse()
46 info->invert = 1; in parse()
73 printf("helper match %s\"%s\" ", info->invert ? "! " : "", info->name); in print()
82 printf("%s--helper \"%s\" ",info->invert ? "! " : "", info->name); in save()
Dlibipt_2tcpmss.c62 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
75 check_inverse(optarg, &invert, &optind, 0); in parse()
78 if (invert) in parse()
79 mssinfo->invert = 1; in parse()
89 print_tcpmss(u_int16_t mss_min, u_int16_t mss_max, int invert, int numeric) in print_tcpmss() argument
91 if (invert) in print_tcpmss()
120 mssinfo->invert, numeric); in print()
132 mssinfo->invert, 0); in save()
Dlibipt_conntrack.c188 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
201 check_inverse(optarg, &invert, &optind, 0); in parse()
204 if (invert) { in parse()
211 check_inverse(optarg, &invert, &optind, 0); in parse()
213 if(invert) in parse()
232 check_inverse(optarg, &invert, &optind, 9); in parse()
234 if (invert) in parse()
252 check_inverse(optarg, &invert, &optind, 0); in parse()
254 if (invert) in parse()
272 check_inverse(optarg, &invert, &optind, 0); in parse()
[all …]
Dlibipt_string.c172 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
205 check_inverse(optarg, &invert, &optind, 0); in parse()
207 if (invert) in parse()
208 stringinfo->invert = 1; in parse()
218 check_inverse(optarg, &invert, &optind, 0); in parse()
220 if (invert) in parse()
221 stringinfo->invert = 1; in parse()
300 printf("STRING match %s", (info->invert) ? "!" : ""); in print()
303 printf("STRING match %s", (info->invert) ? "!" : ""); in print()
322 printf("--hex-string %s", (info->invert) ? "! ": ""); in save()
[all …]
Dlibipt_condition.c28 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
40 check_inverse(optarg, &invert, &optind, 0); in parse()
48 info->invert = invert; in parse()
73 printf("condition %s%s ", (info->invert) ? "!" : "", info->name); in print()
84 printf("--condition %s\"%s\" ", (info->invert) ? "! " : "", info->name); in save()
Dlibip6t_condition.c28 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
40 check_inverse(optarg, &invert, &optind, 0); in parse()
48 info->invert = invert; in parse()
73 printf("condition %s%s ", (info->invert) ? "!" : "", info->name); in print()
84 printf("--condition %s\"%s\" ", (info->invert) ? "! " : "", info->name); in save()
Dlibipt_multiport.c163 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
174 check_inverse(argv[optind-1], &invert, &optind, 0); in parse()
182 check_inverse(argv[optind-1], &invert, &optind, 0); in parse()
190 check_inverse(argv[optind-1], &invert, &optind, 0); in parse()
201 if (invert) in parse()
213 parse_v1(int c, char **argv, int invert, unsigned int *flags, in parse_v1() argument
224 check_inverse(argv[optind-1], &invert, &optind, 0); in parse_v1()
231 check_inverse(argv[optind-1], &invert, &optind, 0); in parse_v1()
238 check_inverse(argv[optind-1], &invert, &optind, 0); in parse_v1()
248 if (invert) in parse_v1()
[all …]
Dlibip6t_multiport.c155 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
166 check_inverse(argv[optind-1], &invert, &optind, 0); in parse()
174 check_inverse(argv[optind-1], &invert, &optind, 0); in parse()
182 check_inverse(argv[optind-1], &invert, &optind, 0); in parse()
193 if (invert) in parse()
205 parse_v1(int c, char **argv, int invert, unsigned int *flags, in parse_v1() argument
216 check_inverse(argv[optind-1], &invert, &optind, 0); in parse_v1()
223 check_inverse(argv[optind-1], &invert, &optind, 0); in parse_v1()
230 check_inverse(argv[optind-1], &invert, &optind, 0); in parse_v1()
240 if (invert) in parse_v1()
[all …]
Dlibip6t_rt.c158 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
170 check_inverse(optarg, &invert, &optind, 0); in parse()
172 if (invert) in parse()
181 check_inverse(optarg, &invert, &optind, 0); in parse()
183 if (invert) in parse()
192 check_inverse(optarg, &invert, &optind, 0); in parse()
194 if (invert) in parse()
216 check_inverse(optarg, &invert, &optind, 0); in parse()
217 if (invert) in parse()
249 int invert) in print_nums() argument
[all …]
Dlibip6t_2connmark.c58 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
68 check_inverse(optarg, &invert, &optind, 0); in parse()
78 if (invert) in parse()
79 markinfo->invert = 1; in parse()
116 if (info->invert) in print()
127 if (info->invert) in save()
Dlibipt_2connmark.c58 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
68 check_inverse(optarg, &invert, &optind, 0); in parse()
78 if (invert) in parse()
79 markinfo->invert = 1; in parse()
116 if (info->invert) in print()
127 if (info->invert) in save()
Dlibip6t_mac.c58 parse(int c, char **argv, int invert, unsigned int *flags, in parse() argument
67 check_inverse(optarg, &invert, &optind, 0); in parse()
69 if (invert) in parse()
70 macinfo->invert = 1; in parse()
107 if (((struct ip6t_mac_info *)match->data)->invert) in print()
116 if (((struct ip6t_mac_info *)match->data)->invert) in save()

1234567