#include <cmn/agent_cmn.h>
#include <base/address_util.h>
#include <pkt/pkt_types.h>
#include "flow_proto.h"
#include "flow_trace_filter.h"
Go to the source code of this file.
|
static bool | Ip4Match (const Ip4Address &ip1, const Ip4Address &ip2, const Ip4Address &mask) |
|
static bool | Ip6Match (const Ip6Address &ip1, const Ip6Address &ip2, const Ip6Address &mask) |
|
static bool | ValidateIPv4 (const std::string &addr, uint8_t plen) |
|
static bool | ValidateIPv6 (const std::string &addr, uint8_t plen) |
|
static void | ErrorResponse (const std::string &msg, const std::string &context) |
|
static bool | Validate (const std::string &context, uint8_t proto_start, uint8_t proto_end, uint16_t src_port_start, uint16_t src_port_end, uint16_t dst_port_start, uint16_t dst_port_end) |
|
static void | SandeshResponse (FlowTraceFilter *ipv4, FlowTraceFilter *ipv6, const std::string &context) |
|
static void ErrorResponse |
( |
const std::string & |
msg, |
|
|
const std::string & |
context |
|
) |
| |
|
static |
static bool Validate |
( |
const std::string & |
context, |
|
|
uint8_t |
proto_start, |
|
|
uint8_t |
proto_end, |
|
|
uint16_t |
src_port_start, |
|
|
uint16_t |
src_port_end, |
|
|
uint16_t |
dst_port_start, |
|
|
uint16_t |
dst_port_end |
|
) |
| |
|
static |
static bool ValidateIPv4 |
( |
const std::string & |
addr, |
|
|
uint8_t |
plen |
|
) |
| |
|
static |
static bool ValidateIPv6 |
( |
const std::string & |
addr, |
|
|
uint8_t |
plen |
|
) |
| |
|
static |