Lines Matching defs:options
128 /** l2fwd macsec application command line options */
781 printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n"
966 /* Long options mapped to a short option.
968 * so that we won't conflict with short options.
989 /** Generate default options for application. */
991 l2fwd_macsec_default_options(struct l2fwd_macsec_options *options)
1000 options->portmask = 0xffffffff;
1001 options->nb_ports_per_lcore = 1;
1002 options->single_lcore = 0;
1007 if ((options->tx_portmask & (1 << portid)) != 0)
1010 if ((options->rx_portmask & (1 << portid)) != 0)
1039 l2fwd_parse_args(struct l2fwd_macsec_options *options,
1088 /* long options */
1103 options->tx_portmask = l2fwd_parse_portmask(optarg);
1104 if (options->tx_portmask == 0) {
1111 options->rx_portmask = l2fwd_parse_portmask(optarg);
1112 if (options->rx_portmask == 0) {
1132 l2fwd_macsec_default_options(options);
1261 struct l2fwd_macsec_options options = {0};
1287 ret = l2fwd_parse_args(&options, argc, argv);
1528 if (((options.tx_portmask & (1 << portid)) != 0) ||
1529 ((options.rx_portmask & (1 << portid)) != 0)) {