OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ksync_sock.cc File Reference
#include <string>
#include "base/os.h"
#include <sys/socket.h>
#include <boost/bind.hpp>
#include <base/logging.h>
#include <db/db.h>
#include <db/db_entry.h>
#include <db/db_table.h>
#include <db/db_table_partition.h>
#include "ksync_index.h"
#include "ksync_entry.h"
#include "ksync_object.h"
#include "ksync_sock.h"
#include "ksync_sock_user.h"
#include "ksync_types.h"
#include "nl_util.h"
#include "udp_util.h"
#include "vr_genetlink.h"
#include "vr_types.h"
Include dependency graph for ksync_sock.cc:

Go to the source code of this file.

Classes

struct  IoContextDisposer
 

Typedefs

typedef
boost::asio::detail::socket_option::integer
< SOL_SOCKET, SO_RCVBUFFORCE > 
ReceiveBuffForceSize
 

Functions

uint32_t GetNetlinkSeqno (char *data)
 
bool NetlinkMsgDone (char *data)
 
bool ValidateNetlink (char *data)
 
void GetNetlinkPayload (char *data, char **buf, uint32_t *buf_len)
 
void InitNetlink (nl_client *client)
 
void ResetNetlink (nl_client *client)
 
void UpdateNetlink (nl_client *client, uint32_t len, uint32_t seq_no)
 
void DecodeSandeshMessages (char *buf, uint32_t buf_len, SandeshContext *sandesh_context, uint32_t alignment)
 

Typedef Documentation

typedef boost::asio::detail::socket_option::integer<SOL_SOCKET, SO_RCVBUFFORCE> ReceiveBuffForceSize

Definition at line 40 of file ksync_sock.cc.

Function Documentation

void DecodeSandeshMessages ( char *  buf,
uint32_t  buf_len,
SandeshContext sandesh_context,
uint32_t  alignment 
)

Definition at line 147 of file ksync_sock.cc.

Here is the call graph for this function:

void GetNetlinkPayload ( char *  data,
char **  buf,
uint32_t *  buf_len 
)

Definition at line 113 of file ksync_sock.cc.

uint32_t GetNetlinkSeqno ( char *  data)

Definition at line 57 of file ksync_sock.cc.

void InitNetlink ( nl_client *  client)

Definition at line 126 of file ksync_sock.cc.

Here is the call graph for this function:

bool NetlinkMsgDone ( char *  data)

Definition at line 62 of file ksync_sock.cc.

void ResetNetlink ( nl_client *  client)

Definition at line 133 of file ksync_sock.cc.

void UpdateNetlink ( nl_client *  client,
uint32_t  len,
uint32_t  seq_no 
)

Definition at line 140 of file ksync_sock.cc.

Here is the call graph for this function:

bool ValidateNetlink ( char *  data)

Definition at line 68 of file ksync_sock.cc.

Here is the call graph for this function: