|
OpenSDN source code
|
#include <pkt_flow_info.h>

Static Public Member Functions | |
| static bool | ComputeDirection (const Interface *intf) |
| static bool | GetIngressNwPolicyAclList (const Interface *intf, const VnEntry *vn, MatchPolicy *m_policy) |
Static Public Attributes | |
| static const int | kLinkLocalInvalidFd = -1 |
| static const Ip4Address | kDefaultIpv4 |
| static const Ip6Address | kDefaultIpv6 |
| static const int | kBgpRouterServiceInvalidFd = -1 |
Definition at line 37 of file pkt_flow_info.h.
|
inline |
Definition at line 44 of file pkt_flow_info.h.
| void PktFlowInfo::Add | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::ApplyFlowLimits | ( | const PktControlInfo * | in, |
| const PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::BgpRouterServiceFromVm | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::BgpRouterServiceTranslate | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::ChangeEncap | ( | const VmInterface * | intf, |
| const PktInfo * | pkt, | ||
| PktControlInfo * | in, | ||
| PktControlInfo * | out, | ||
| bool | nat_flow | ||
| ) |
| void PktFlowInfo::ChangeEncapToOverlay | ( | const VmInterface * | intf, |
| const PktInfo * | pkt, | ||
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::ChangeFloatingIpEncap | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::ChangeVrf | ( | const PktInfo * | pkt, |
| PktControlInfo * | info, | ||
| const VrfEntry * | vrf | ||
| ) |
Definition at line 66 of file pkt_flow_info.cc.
| void PktFlowInfo::CheckLinkLocal | ( | const PktInfo * | pkt | ) |
|
static |
| void PktFlowInfo::EgressProcess | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| bool PktFlowInfo::EgressRouteAllowNatLookup | ( | const AgentRoute * | in_rt, |
| const AgentRoute * | out_rt, | ||
| uint32_t | sport, | ||
| uint32_t | dport, | ||
| const Interface * | intf | ||
| ) |
| IpAddress PktFlowInfo::FamilyToAddress | ( | Address::Family | family | ) |
Definition at line 2314 of file pkt_flow_info.cc.
| void PktFlowInfo::FloatingIpDNat | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::FloatingIpSNat | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::GenerateTrafficSeen | ( | const PktInfo * | pkt, |
| const PktControlInfo * | in | ||
| ) |
|
static |
| void PktFlowInfo::IngressProcess | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| bool PktFlowInfo::IngressRouteAllowNatLookup | ( | const AgentRoute * | in_rt, |
| const AgentRoute * | out_rt, | ||
| uint32_t | sport, | ||
| uint32_t | dport, | ||
| const Interface * | intf | ||
| ) |
| bool PktFlowInfo::IsBgpRouterServiceRoute | ( | const AgentRoute * | in_rt, |
| const AgentRoute * | out_rt, | ||
| const Interface * | intf, | ||
| uint32_t | sport, | ||
| uint32_t | dport | ||
| ) |
| void PktFlowInfo::LinkLocalPortBind | ( | const PktInfo * | pkt, |
| const PktControlInfo * | in, | ||
| FlowEntry * | flow | ||
| ) |
| void PktFlowInfo::LinkLocalServiceFromHost | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::LinkLocalServiceFromVm | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::LinkLocalServiceTranslate | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| void PktFlowInfo::NatVxlanVrfTranslate | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| bool PktFlowInfo::Process | ( | const PktInfo * | pkt, |
| PktControlInfo * | in, | ||
| PktControlInfo * | out | ||
| ) |
| bool PktFlowInfo::RouteAllowNatLookupCommon | ( | const AgentRoute * | rt, |
| uint32_t | sport, | ||
| uint32_t | dport, | ||
| const Interface * | intf | ||
| ) |
| uint8_t PktFlowInfo::RouteToPrefixLen | ( | const AgentRoute * | route | ) |
| void PktFlowInfo::SetPktInfo | ( | boost::shared_ptr< PktInfo > | info | ) |
Definition at line 2309 of file pkt_flow_info.cc.
| bool PktFlowInfo::UnknownUnicastFlow | ( | const PktInfo * | p, |
| const PktControlInfo * | in_info, | ||
| const PktControlInfo * | out_info | ||
| ) |
| void PktFlowInfo::UpdateEvictedFlowStats | ( | const PktInfo * | pkt | ) |
| void PktFlowInfo::UpdateFipStatsInfo | ( | FlowEntry * | flow, |
| FlowEntry * | rflow, | ||
| const PktInfo * | p, | ||
| const PktControlInfo * | in, | ||
| const PktControlInfo * | o | ||
| ) |
| void PktFlowInfo::UpdateRoute | ( | const AgentRoute ** | rt, |
| const VrfEntry * | vrf, | ||
| const IpAddress & | addr, | ||
| const MacAddress & | mac, | ||
| FlowRouteRefMap & | ref_map | ||
| ) |
| bool PktFlowInfo::ValidateConfig | ( | const PktInfo * | pkt, |
| PktControlInfo * | in | ||
| ) |
| bool PktFlowInfo::VrfTranslate | ( | const PktInfo * | pkt, |
| PktControlInfo * | ctrl, | ||
| PktControlInfo * | rev_flow, | ||
| const IpAddress & | src_ip, | ||
| bool | nat_flow | ||
| ) |
| const AclDBEntry* PktFlowInfo::acl |
Definition at line 176 of file pkt_flow_info.h.
| Agent* PktFlowInfo::agent |
Definition at line 149 of file pkt_flow_info.h.
| bool PktFlowInfo::alias_ip_flow |
Definition at line 209 of file pkt_flow_info.h.
| bool PktFlowInfo::bgp_router_service_flow |
Definition at line 206 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::dest_vrf |
Definition at line 173 of file pkt_flow_info.h.
| bool PktFlowInfo::disable_validation |
Definition at line 191 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::dst_policy_vrf |
Definition at line 215 of file pkt_flow_info.h.
| const VnListType* PktFlowInfo::dst_vn |
Definition at line 217 of file pkt_flow_info.h.
| bool PktFlowInfo::ecmp |
Definition at line 187 of file pkt_flow_info.h.
| Address::Family PktFlowInfo::family |
Definition at line 146 of file pkt_flow_info.h.
| bool PktFlowInfo::fip_dnat |
Definition at line 195 of file pkt_flow_info.h.
| bool PktFlowInfo::fip_snat |
Definition at line 194 of file pkt_flow_info.h.
| bool PktFlowInfo::flood_unknown_unicast |
Definition at line 203 of file pkt_flow_info.h.
| FlowRouteRefMap PktFlowInfo::flow_dest_plen_map |
Definition at line 157 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::flow_dest_vrf |
Definition at line 152 of file pkt_flow_info.h.
| FlowEntry* PktFlowInfo::flow_entry |
Definition at line 202 of file pkt_flow_info.h.
| FlowRouteRefMap PktFlowInfo::flow_source_plen_map |
Definition at line 156 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::flow_source_vrf |
Definition at line 151 of file pkt_flow_info.h.
| FlowTable* PktFlowInfo::flow_table |
Definition at line 148 of file pkt_flow_info.h.
| bool PktFlowInfo::ingress |
Definition at line 179 of file pkt_flow_info.h.
|
static |
Definition at line 42 of file pkt_flow_info.h.
|
static |
Definition at line 40 of file pkt_flow_info.h.
|
static |
Definition at line 41 of file pkt_flow_info.h.
|
static |
Definition at line 39 of file pkt_flow_info.h.
| bool PktFlowInfo::l3_flow |
Definition at line 145 of file pkt_flow_info.h.
| bool PktFlowInfo::linklocal_bind_local_port |
Definition at line 184 of file pkt_flow_info.h.
| bool PktFlowInfo::linklocal_flow |
Definition at line 182 of file pkt_flow_info.h.
| int PktFlowInfo::linklocal_src_port_fd |
Definition at line 185 of file pkt_flow_info.h.
| bool PktFlowInfo::local_flow |
Definition at line 181 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::nat_dest_vrf |
Definition at line 169 of file pkt_flow_info.h.
| bool PktFlowInfo::nat_done |
Definition at line 160 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::nat_dport |
Definition at line 164 of file pkt_flow_info.h.
| IpAddress PktFlowInfo::nat_ip_daddr |
Definition at line 162 of file pkt_flow_info.h.
| IpAddress PktFlowInfo::nat_ip_saddr |
Definition at line 161 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::nat_sport |
Definition at line 163 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::nat_vrf |
Definition at line 166 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::out_component_nh_idx |
Definition at line 188 of file pkt_flow_info.h.
| bool PktFlowInfo::overlay_route_not_found |
Definition at line 219 of file pkt_flow_info.h.
| std::string PktFlowInfo::peer_vrouter |
Definition at line 198 of file pkt_flow_info.h.
| boost::shared_ptr<PktInfo> PktFlowInfo::pkt |
Definition at line 147 of file pkt_flow_info.h.
| bool PktFlowInfo::port_allocated |
Definition at line 218 of file pkt_flow_info.h.
| bool PktFlowInfo::short_flow |
Definition at line 180 of file pkt_flow_info.h.
| uint16_t PktFlowInfo::short_flow_reason |
Definition at line 197 of file pkt_flow_info.h.
| IpAddress PktFlowInfo::snat_fip |
Definition at line 196 of file pkt_flow_info.h.
| uint32_t PktFlowInfo::src_policy_vrf |
Definition at line 214 of file pkt_flow_info.h.
| const VnListType* PktFlowInfo::src_vn |
Definition at line 216 of file pkt_flow_info.h.
| bool PktFlowInfo::tcp_ack |
Definition at line 183 of file pkt_flow_info.h.
| uint8_t PktFlowInfo::ttl |
Definition at line 211 of file pkt_flow_info.h.
| TunnelType PktFlowInfo::tunnel_type |
Definition at line 199 of file pkt_flow_info.h.
| bool PktFlowInfo::underlay_flow |
Definition at line 213 of file pkt_flow_info.h.