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);
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_PACKE
[all...]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c496 char *new_opt; local
502 new_opt = malloc_vital(opt_len + arg_len + 1);
504 (void) memcpy(new_opt, opt, opt_len + 1);
507 (void) memcpy(new_opt + opt_len, arg, arg_len + 1);
510 new_opt = NULL;
528 if (NULL != new_opt) {
529 *(cmd_opt.cpp_opt + cmd_opt.cpp_opt_num) = new_opt;

Completed in 53 milliseconds