Lines Matching refs:new_opt

33 static	opt_t	*new_opt __P((int));
125 IPM_DIRECTION '=' IPM_IN { $$ = new_opt(IPM_DIRECTION);
127 | IPM_DIRECTION '=' IPM_OUT { $$ = new_opt(IPM_DIRECTION);
131 dstip: IPM_DSTIP '=' ipv4 '/' YY_NUMBER { $$ = new_opt(IPM_DSTIP);
137 IPM_DSTPORT '=' YY_NUMBER { $$ = new_opt(IPM_DSTPORT);
139 | IPM_DSTPORT '=' YY_STR { $$ = new_opt(IPM_DSTPORT);
143 every: IPM_EVERY IPM_SECOND { $$ = new_opt(IPM_SECOND);
145 | IPM_EVERY YY_NUMBER IPM_SECONDS { $$ = new_opt(IPM_SECOND);
147 | IPM_EVERY IPM_PACKET { $$ = new_opt(IPM_PACKET);
149 | IPM_EVERY YY_NUMBER IPM_PACKETS { $$ = new_opt(IPM_PACKET);
153 group: IPM_GROUP '=' YY_NUMBER { $$ = new_opt(IPM_GROUP);
155 | IPM_GROUP '=' YY_STR { $$ = new_opt(IPM_GROUP);
160 IPM_INTERFACE '=' YY_STR { $$ = new_opt(IPM_INTERFACE);
164 logtag: IPM_LOGTAG '=' YY_NUMBER { $$ = new_opt(IPM_LOGTAG);
168 nattag: IPM_NATTAG '=' YY_STR { $$ = new_opt(IPM_NATTAG);
173 IPM_PROTOCOL '=' YY_NUMBER { $$ = new_opt(IPM_PROTOCOL);
175 | IPM_PROTOCOL '=' YY_STR { $$ = new_opt(IPM_PROTOCOL);
181 result: IPM_RESULT '=' YY_STR { $$ = new_opt(IPM_RESULT);
185 rule: IPM_RULE '=' YY_NUMBER { $$ = new_opt(IPM_RULE);
189 srcip: IPM_SRCIP '=' ipv4 '/' YY_NUMBER { $$ = new_opt(IPM_SRCIP);
195 IPM_SRCPORT '=' YY_NUMBER { $$ = new_opt(IPM_SRCPORT);
197 | IPM_SRCPORT '=' YY_STR { $$ = new_opt(IPM_SRCPORT);
201 type: IPM_TYPE '=' typeopt { $$ = new_opt(IPM_TYPE);
212 IPM_EXECUTE YY_STR { $$ = new_opt(IPM_EXECUTE);
216 save: IPM_SAVE saveopts YY_STR { $$ = new_opt(IPM_SAVE);
230 syslog: IPM_SYSLOG { $$ = new_opt(IPM_SYSLOG); }
302 static opt_t *new_opt(type)