#include <ksync_sock.h>
|
| | KSyncSockNetlink (boost::asio::io_context &ios, int protocol) |
| |
| virtual | ~KSyncSockNetlink () |
| |
| virtual uint32_t | GetSeqno (char *data) |
| |
| virtual bool | IsMoreData (char *data) |
| |
| virtual bool | BulkDecoder (char *data, KSyncBulkSandeshContext *ctxt) |
| |
| virtual bool | Decoder (char *data, AgentSandeshContext *ctxt) |
| |
| virtual bool | Validate (char *data) |
| |
| virtual void | AsyncReceive (boost::asio::mutable_buffers_1, HandlerCb) |
| |
| virtual void | AsyncSendTo (KSyncBufferList *iovec, uint32_t seq_no, HandlerCb cb) |
| |
| virtual std::size_t | SendTo (KSyncBufferList *iovec, uint32_t seq_no) |
| |
| virtual void | Receive (boost::asio::mutable_buffers_1) |
| |
| | KSyncSock () |
| |
| virtual | ~KSyncSock () |
| |
| void | SendAsync (KSyncEntry *entry, int msg_len, char *msg, KSyncEntry::KSyncEvent event) |
| |
| std::size_t | BlockingSend (char *msg, int msg_len) |
| |
| bool | BlockingRecv () |
| |
| void | GenericSend (IoContext *ctx) |
| |
| uint32_t | AllocSeqNo (IoContext::Type type) |
| |
| uint32_t | AllocSeqNo (IoContext::Type type, uint32_t instance) |
| |
| KSyncReceiveQueue * | GetReceiveQueue (IoContext::Type type, uint32_t instance) |
| |
| KSyncReceiveQueue * | GetReceiveQueue (uint32_t seqno) |
| |
| KSyncBulkMsgContext * | LocateBulkContext (uint32_t seqno, IoContext::Type io_context_type, uint32_t work_queue_index) |
| |
| int | SendBulkMessage (KSyncBulkMsgContext *bulk_context, uint32_t seqno) |
| |
| bool | TryAddToBulk (KSyncBulkMsgContext *bulk_context, IoContext *ioc) |
| |
| void | OnEmptyQueue (bool done) |
| |
| int | tx_count () const |
| |
| const KSyncTxQueue * | send_queue () const |
| |
| const KSyncReceiveQueue * | get_receive_work_queue (uint16_t index) const |
| |
| KSyncReceiveQueue * | AllocQueue (KSyncBulkSandeshContext ctxt[], uint32_t task_id, uint32_t instance, const char *name) |
| |
| uint32_t | WaitTreeSize () const |
| |
| void | SetSeqno (uint32_t seq) |
| |
| void | SetMeasureQueueDelay (bool val) |
| |
| void | reset_use_wait_tree () |
| |
| void | set_process_data_inline () |
| |
| void | EnqueueRxProcessData (KSyncEntry *entry, KSyncEntry::KSyncEvent event) |
| |
|
| boost::asio::netlink::raw::socket | sock_ |
| |
Definition at line 516 of file ksync_sock.h.
◆ KSyncSockNetlink()
| KSyncSockNetlink::KSyncSockNetlink |
( |
boost::asio::io_context & |
ios, |
|
|
int |
protocol |
|
) |
| |
◆ ~KSyncSockNetlink()
| KSyncSockNetlink::~KSyncSockNetlink |
( |
| ) |
|
|
virtual |
◆ AsyncReceive()
| void KSyncSockNetlink::AsyncReceive |
( |
boost::asio::mutable_buffers_1 |
, |
|
|
HandlerCb |
|
|
) |
| |
|
virtual |
◆ AsyncSendTo()
◆ BulkDecoder()
◆ Decoder()
◆ GetSeqno()
| uint32_t KSyncSockNetlink::GetSeqno |
( |
char * |
data | ) |
|
|
virtual |
◆ Init()
| void KSyncSockNetlink::Init |
( |
boost::asio::io_context & |
ios, |
|
|
int |
protocol, |
|
|
bool |
use_work_queue, |
|
|
const std::string & |
cpu_pin_policy |
|
) |
| |
|
static |
◆ IsMoreData()
| bool KSyncSockNetlink::IsMoreData |
( |
char * |
data | ) |
|
|
virtual |
◆ NetlinkBulkDecoder()
| void KSyncSockNetlink::NetlinkBulkDecoder |
( |
char * |
data, |
|
|
SandeshContext * |
ctxt, |
|
|
bool |
more |
|
) |
| |
|
static |
◆ NetlinkDecoder()
| void KSyncSockNetlink::NetlinkDecoder |
( |
char * |
data, |
|
|
SandeshContext * |
ctxt |
|
) |
| |
|
static |
◆ Receive()
| void KSyncSockNetlink::Receive |
( |
boost::asio::mutable_buffers_1 |
| ) |
|
|
virtual |
◆ SendTo()
| size_t KSyncSockNetlink::SendTo |
( |
KSyncBufferList * |
iovec, |
|
|
uint32_t |
seq_no |
|
) |
| |
|
virtual |
◆ Validate()
| bool KSyncSockNetlink::Validate |
( |
char * |
data | ) |
|
|
virtual |
◆ sock_
| boost::asio::netlink::raw::socket KSyncSockNetlink::sock_ |
|
private |
The documentation for this class was generated from the following files: