OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bgp/evpn/evpn_route.cc File Reference
#include "bgp/evpn/evpn_route.h"
#include <algorithm>
#include <sstream>
#include "base/string_util.h"
#include "bgp/bgp_server.h"
#include "bgp/evpn/evpn_table.h"
Include dependency graph for bgp/evpn/evpn_route.cc:

Go to the source code of this file.

Functions

static uint32_t ReadLabel (const BgpProtoPrefix &proto_prefix, const BgpAttr *attr, size_t offset, uint32_t tag=EvpnPrefix::kNullTag)
 
static void WriteLabel (BgpProtoPrefix *proto_prefix, const BgpAttr *attr, size_t offset, uint32_t label)
 
static IpAddress ReadGwAddress (const BgpProtoPrefix &proto_prefix, size_t gw_offset, size_t ip_size)
 

Function Documentation

static IpAddress ReadGwAddress ( const BgpProtoPrefix proto_prefix,
size_t  gw_offset,
size_t  ip_size 
)
static

Definition at line 95 of file bgp/evpn/evpn_route.cc.

static uint32_t ReadLabel ( const BgpProtoPrefix proto_prefix,
const BgpAttr attr,
size_t  offset,
uint32_t  tag = EvpnPrefix::kNullTag 
)
static

Definition at line 57 of file bgp/evpn/evpn_route.cc.

Here is the call graph for this function:

static void WriteLabel ( BgpProtoPrefix proto_prefix,
const BgpAttr attr,
size_t  offset,
uint32_t  label 
)
static

Definition at line 82 of file bgp/evpn/evpn_route.cc.

Here is the call graph for this function: