Home
last modified time | relevance | path

Searched refs:new_opt (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon_y.y33 static opt_t *new_opt __P((int));
125 IPM_DIRECTION '=' IPM_IN { $$ = new_opt(IPM_DIRECTION);
137 IPM_DSTPORT '=' YY_NUMBER { $$ = new_opt(IPM_DSTPORT);
139 | IPM_DSTPORT '=' YY_STR { $$ = new_opt(IPM_DSTPORT);
147 | IPM_EVERY IPM_PACKET { $$ = new_opt(IPM_PACKET);
155 | IPM_GROUP '=' YY_STR { $$ = new_opt(IPM_GROUP);
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);
230 syslog: IPM_SYSLOG { $$ = new_opt(IPM_SYSLOG); }
[all …]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c490 char *new_opt; in cpp_opt_append() local
496 new_opt = malloc_vital(opt_len + arg_len + 1); in cpp_opt_append()
498 (void) memcpy(new_opt, opt, opt_len + 1); in cpp_opt_append()
501 (void) memcpy(new_opt + opt_len, arg, arg_len + 1); in cpp_opt_append()
504 new_opt = NULL; in cpp_opt_append()
522 if (NULL != new_opt) { in cpp_opt_append()
523 *(cmd_opt.cpp_opt + cmd_opt.cpp_opt_num) = new_opt; in cpp_opt_append()