aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_static
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-11-06 14:47:40 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-11-07 17:13:17 +0000
commit45ec9f49bc7ee0bd3ac4f2a07ecb1d0b9280c036 (patch)
treed6d255e1b8747de69af8e798d9e273e9ee7ec80e /docs/_static
parent9d3e1b433f394781a55a4c7c39b695d08dd2563f (diff)
session: ckpair store & crypto engine as mq params
Type: feature This patch adds the logic to pass to connect & listen msg in the mq the following parameters * ckpair index * crypto engine (for now only used in quic) Change-Id: I7213d8b581cb4532a9a6b18c4b3fe021287b7733 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'docs/_static')
0 files changed, 0 insertions, 0 deletions
ght: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* 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 */
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// versions:
//  binapi-generator: v0.5.0-dev
//  VPP:              22.02-release
// source: /usr/share/vpp/api/plugins/tls_openssl.api.json

// Package tls_openssl contains generated bindings for API file tls_openssl.api.
//
// Contents:
//   2 messages
//
package tls_openssl

import (
	api "git.fd.io/govpp.git/api"
	codec "git.fd.io/govpp.git/codec"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the GoVPP api package it is being compiled against.
// A compilation error at this line likely means your copy of the
// GoVPP api package needs to be updated.
const _ = api.GoVppAPIPackageIsVersion2

const (
	APIFile    = "tls_openssl"
	APIVersion = "2.0.0"
	VersionCrc = 0x7386fbcd
)

// TLSOpensslSetEngine defines message 'tls_openssl_set_engine'.
type TLSOpensslSetEngine struct {
	AsyncEnable uint32 `binapi:"u32,name=async_enable" json:"async_enable,omitempty"`
	Engine      []byte `binapi:"u8[64],name=engine" json:"engine,omitempty"`
	Algorithm   []byte `binapi:"u8[64],name=algorithm" json:"algorithm,omitempty"`
	Ciphers     []byte `binapi:"u8[64],name=ciphers" json:"ciphers,omitempty"`
}

func (m *TLSOpensslSetEngine) Reset()               { *m = TLSOpensslSetEngine{} }
func (*TLSOpensslSetEngine) GetMessageName() string { return "tls_openssl_set_engine" }
func (*TLSOpensslSetEngine) GetCrcString() string   { return "e34d95c1" }
func (*TLSOpensslSetEngine) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *TLSOpensslSetEngine) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4      // m.AsyncEnable
	size += 1 * 64 // m.Engine
	size += 1 * 64 // m.Algorithm
	size += 1 * 64 // m.Ciphers
	return size
}
func (m *TLSOpensslSetEngine) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeUint32(m.AsyncEnable)
	buf.EncodeBytes(m.Engine, 64)
	buf.EncodeBytes(m.Algorithm, 64)
	buf.EncodeBytes(m.Ciphers, 64)
	return buf.Bytes(), nil
}
func (m *TLSOpensslSetEngine) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.AsyncEnable = buf.DecodeUint32()
	m.Engine = make([]byte, 64)
	copy(m.Engine, buf.DecodeBytes(len(m.Engine)))
	m.Algorithm = make([]byte, 64)
	copy(m.Algorithm, buf.DecodeBytes(len(m.Algorithm)))
	m.Ciphers = make([]byte, 64)
	copy(m.Ciphers, buf.DecodeBytes(len(m.Ciphers)))
	return nil
}

// TLSOpensslSetEngineReply defines message 'tls_openssl_set_engine_reply'.
type TLSOpensslSetEngineReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

func (m *TLSOpensslSetEngineReply) Reset()               { *m = TLSOpensslSetEngineReply{} }
func (*TLSOpensslSetEngineReply) GetMessageName() string { return "tls_openssl_set_engine_reply" }
func (*TLSOpensslSetEngineReply) GetCrcString() string   { return "e8d4e804" }
func (*TLSOpensslSetEngineReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *TLSOpensslSetEngineReply) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.Retval
	return size
}
func (m *TLSOpensslSetEngineReply) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeInt32(m.Retval)
	return buf.Bytes(), nil
}
func (m *TLSOpensslSetEngineReply) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.Retval = buf.DecodeInt32()
	return nil
}

func init() { file_tls_openssl_binapi_init() }
func file_tls_openssl_binapi_init() {
	api.RegisterMessage((*TLSOpensslSetEngine)(nil), "tls_openssl_set_engine_e34d95c1")
	api.RegisterMessage((*TLSOpensslSetEngineReply)(nil), "tls_openssl_set_engine_reply_e8d4e804")
}

// Messages returns list of all messages in this module.
func AllMessages() []api.Message {
	return []api.Message{
		(*TLSOpensslSetEngine)(nil),
		(*TLSOpensslSetEngineReply)(nil),
	}
}