5 #ifndef _vnsw_agent_services_sandesh_h_
6 #define _vnsw_agent_services_sandesh_h_
8 #include <services/services_types.h>
26 static void MacToString(
const unsigned char *mac, std::string &mac_str);
27 static std::string &
DhcpMsgType(uint32_t msg_type);
55 int FillMacHdr(
struct ether_header *eth, MacHdr &resp);
60 void FillIcmpv6Hdr(icmp6_hdr *icmp, Icmpv6Hdr &resp, int32_t len);
63 std::string &other, int32_t len);
69 std::string
FillOptionIp(uint32_t data, std::string msg);
82 ArpProto::InterfaceArpMap::const_iterator &it,
83 std::vector<InterfaceArpStats> &list);
91 #endif // _vnsw_agent_services_sandesh_h_
void HandleRequest(PktHandler::PktModuleName mod, std::string ctxt, bool more)
void Dhcpv6StatsSandesh(std::string ctxt, bool more)
void IcmpStatsSandesh(std::string ctxt, bool more)
void FillArpHdr(ether_arp *arp, ArpHdr &resp)
DISALLOW_COPY_AND_ASSIGN(ArpSandesh)
void FillPktData(PktTrace::Pkt &pkt, PktData &resp)
void FillIpv6Hdr(ip6_hdr *ip, Ipv6Hdr &resp)
std::string IpProtocol(uint16_t prot)
void PktToHexString(uint8_t *pkt, int32_t len, std::string &msg)
std::string IntToString(uint32_t val)
static std::string & Dhcpv6MsgType(uint32_t msg_type)
void FillIcmpv4Hdr(struct icmp *icmp, Icmpv4Hdr &resp)
void DhcpStatsSandesh(std::string ctxt, bool more)
void FillIcmpv6Hdr(icmp6_hdr *icmp, Icmpv6Hdr &resp, int32_t len)
void DhcpPktTrace(PktTrace::Pkt &pkt, DhcpPktSandesh *resp)
void FillDhcpv4Options(Dhcpv4Options *opt, std::string &resp, std::string &other, int32_t len)
void OtherPktTrace(PktTrace::Pkt &pkt, PktSandesh *resp)
static std::string & DhcpMsgType(uint32_t msg_type)
void FillDnsHdr(dnshdr *dns, DnsHdr &resp, int32_t dnslen)
std::string FillOptionInteger(uint32_t data, std::string msg)
ArpSandesh(SandeshResponse *resp)
bool SetArpEntry(const ArpKey &key, const ArpEntry *entry)
std::string FillOptionIp(uint32_t data, std::string msg)
void FillUdpHdr(udphdr *udp, UdpHdr &resp)
uint16_t FillVrouterHdr(PktTrace::Pkt &pkt, VrouterHdr &resp)
void PktStatsSandesh(std::string ctxt, bool more)
DISALLOW_COPY_AND_ASSIGN(ServicesSandesh)
void Icmpv6StatsSandesh(std::string ctxt, bool more)
std::string FillOptionString(char *data, int32_t len, std::string msg)
std::string IntToHexString(uint32_t val)
void MetadataHandleRequest(std::string ctxt, bool more)
void Dhcpv6PktTrace(PktTrace::Pkt &pkt, Dhcpv6PktSandesh *resp)
int FillMacHdr(struct ether_header *eth, MacHdr &resp)
static const uint8_t entries_per_sandesh
void IcmpPktTrace(PktTrace::Pkt &pkt, IcmpPktSandesh *resp)
virtual ~ServicesSandesh()
void IgmpStatsSandesh(std::string ctxt, bool more)
void DnsStatsSandesh(std::string ctxt, bool more)
void FillHostRoutes(uint8_t *data, int len, std::string &resp)
void SetInterfaceArpStatsEntry(ArpProto::InterfaceArpMap::const_iterator &it, std::vector< InterfaceArpStats > &list)
void BfdStatsSandesh(std::string ctxt, bool more)
void Icmpv6PktTrace(PktTrace::Pkt &pkt, Icmpv6PktSandesh *resp)
void FillIpv4Hdr(struct ip *ip, Ipv4Hdr &resp)
static void MacToString(const unsigned char *mac, std::string &mac_str)
void ArpStatsSandesh(std::string ctxt, bool more)
void ArpPktTrace(PktTrace::Pkt &pkt, ArpPktSandesh *resp)
void FillDhcpv4Hdr(dhcphdr *dhcp, Dhcpv4Hdr &resp, int32_t len)
void DnsPktTrace(PktTrace::Pkt &pkt, DnsPktSandesh *resp)
void FillDhcpv6Hdr(Dhcpv6Hdr *dhcp, Dhcpv6Header &resp, int32_t len)