summaryrefslogtreecommitdiffstats
path: root/test/test_pipe.py
AgeCommit message (Expand)AuthorFilesLines
2020-03-27acl: API cleanupJakub Grajciar1-37/+27
2020-03-26acl: revert acl: api cleanupOle Trøan1-27/+37
2020-03-26acl: API cleanupJakub Grajciar1-37/+27
2019-11-08tests: python3 use byte strings in raw()Ole Troan1-3/+3
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto1-1/+1
2019-05-16tests: refactor. Replace literal constant w/ named constant.Paul Vinciguerra1-17/+19
2019-05-14tests: test_pipe.py. Fix missing import.Paul Vinciguerra1-4/+5
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+8
2019-03-29tests: refactor vpp_object.pyPaul Vinciguerra1-3/+0
2019-03-28Typos. A bunch of typos I've been collecting.Paul Vinciguerra1-1/+1
2019-03-06test framework: vpp_papi_provider.py - further cleanupOle Troan1-4/+4
2018-07-17VOM: support for pipesNeale Ranns1-6/+4
2018-07-07PipesNeale Ranns1-0/+255
} /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
/*
 * Copyright (c) 2020 Cisco and/or its affiliates.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

option version = "1.0.1";

enum crypto_dispatch_mode:u8
{
  CRYPTO_ASYNC_DISPATCH_POLLING = 0,
  CRYPTO_ASYNC_DISPATCH_INTERRUPT = 1,
};

enum crypto_op_class_type:u8
{
  CRYPTO_API_OP_SIMPLE = 0,
  CRYPTO_API_OP_CHAINED,
  CRYPTO_API_OP_BOTH,
};

 /** \brief crypto: use polling or interrupt dispatch
    @param client_index - opaque cookie to identify the sender
    @param context - sender context, to match reply w/ request
    @param mode - dispatch mode
*/

autoreply define crypto_set_async_dispatch
{
  u32 client_index;
  u32 context;
  vl_api_crypto_dispatch_mode_t mode;
};

 /** \brief crypto: set crypto handler
    @param client_index - opaque cookie to identify the sender
    @param context - sender context, to match reply w/ request
    @param alg_name - Name of the algorithm to add
    @param engine - Name of the engine to add
    @param oct - Operation class type (simple, chained, both)
    @param is_async - Asynchronous or not
*/

autoreply define crypto_set_handler
{
  u32 client_index;
  u32 context;
  string alg_name[32];
  string engine[16];
  vl_api_crypto_op_class_type_t oct;
  u8 is_async;
};

 /*
 * Local Variables:
 * eval: (c-set-style "gnu")
 * End:
 */