Home
last modified time | relevance | path

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

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