|
| enum | FlowShortReason {
SHORT_UNKNOWN = 0
, SHORT_UNAVIALABLE_INTERFACE
, SHORT_IPV4_FWD_DIS
, SHORT_UNAVIALABLE_VRF
,
SHORT_NO_SRC_ROUTE
, SHORT_NO_DST_ROUTE
, SHORT_AUDIT_ENTRY
, SHORT_VRF_CHANGE
,
SHORT_NO_REVERSE_FLOW
, SHORT_REVERSE_FLOW_CHANGE
, SHORT_NAT_CHANGE
, SHORT_FLOW_LIMIT
,
SHORT_LINKLOCAL_SRC_NAT
, SHORT_FAILED_VROUTER_INSTALL
, SHORT_INVALID_L2_FLOW
, SHORT_FLOW_ON_TSN
,
SHORT_NO_MIRROR_ENTRY
, SHORT_SAME_FLOW_RFLOW_KEY
, SHORT_PORT_MAP_DROP
, SHORT_NO_SRC_ROUTE_L2RPF
,
SHORT_FAT_FLOW_NAT_CONFLICT
, SHORT_L3MH_PHY_INTF_DOWN
, SHORT_MAX
} |
| |
| enum | FlowDropReason {
DROP_UNKNOWN = 0
, DROP_POLICY = SHORT_MAX
, DROP_OUT_POLICY
, DROP_SG
,
DROP_OUT_SG
, DROP_REVERSE_SG
, DROP_REVERSE_OUT_SG
, DROP_FIREWALL_POLICY
,
DROP_OUT_FIREWALL_POLICY
, DROP_REVERSE_FIREWALL_POLICY
, DROP_REVERSE_OUT_FIREWALL_POLICY
, DROP_FWAAS_POLICY
,
DROP_FWAAS_OUT_POLICY
, DROP_FWAAS_REVERSE_POLICY
, DROP_FWAAS_REVERSE_OUT_POLICY
} |
| |
| enum | FlowPolicyState {
NOT_EVALUATED
, IMPLICIT_ALLOW
, IMPLICIT_DENY
, DEFAULT_GW_ICMP_OR_DNS
,
LINKLOCAL_FLOW
, MULTICAST_FLOW
, BGPROUTERSERVICE_FLOW
, NON_IP_FLOW
} |
| |
| enum | PcapType {
PCAP_CAPTURE_HOST = 1
, PCAP_FLAGS = 2
, PCAP_SOURCE_VN = 3
, PCAP_DEST_VN = 4
,
PCAP_TLV_END = 255
} |
| |
| enum | FlowEntryFlags {
NatFlow = 1 << 0
, LocalFlow = 1 << 1
, ShortFlow = 1 << 2
, LinkLocalFlow = 1 << 3
,
ReverseFlow = 1 << 4
, EcmpFlow = 1 << 5
, IngressDir = 1 << 6
, Trap = 1 << 7
,
Multicast = 1 << 8
, LinkLocalBindLocalSrcPort = 1 << 9
, TcpAckFlow = 1 << 10
, UnknownUnicastFlood = 1 << 11
,
BgpRouterService = 1 << 12
, AliasIpFlow = 1 << 13
, FabricControlFlow = 1 << 14
, FabricFlow = 1 << 15
,
HbfFlow = 1 << 16
} |
| |
| enum | HbsInterface { HBS_INTERFACE_INVALID = 0
, HBS_INTERFACE_LEFT = 1
, HBS_INTERFACE_RIGHT = 2
} |
| |
|
| | FlowEntry (FlowTable *flow_table) |
| |
| virtual | ~FlowEntry () |
| |
| void | Reset (const FlowKey &k) |
| |
| void | Reset () |
| |
| void | Copy (FlowEntry *rhs, bool update) |
| |
| void | InitFwdFlow (const PktFlowInfo *info, const PktInfo *pkt, const PktControlInfo *ctrl, const PktControlInfo *rev_ctrl, FlowEntry *rflow, Agent *agent) |
| |
| void | InitRevFlow (const PktFlowInfo *info, const PktInfo *pkt, const PktControlInfo *ctrl, const PktControlInfo *rev_ctrl, FlowEntry *rflow, Agent *agent) |
| |
| void | InitAuditFlow (uint32_t flow_idx, uint8_t gen_id) |
| |
| int | GetRefCount () |
| |
| const FlowKey & | key () const |
| |
| FlowData & | data () |
| |
| const FlowData & | data () const |
| |
| FlowTable * | flow_table () const |
| |
| bool | l3_flow () const |
| |
| uint8_t | gen_id () const |
| |
| uint32_t | flow_handle () const |
| |
| void | set_flow_handle (uint32_t flow_handle, uint8_t gen_id) |
| |
| FlowEntry * | reverse_flow_entry () |
| |
| uint32_t | flags () const |
| |
| const FlowEntry * | reverse_flow_entry () const |
| |
| void | set_reverse_flow_entry (FlowEntry *reverse_flow_entry) |
| |
| bool | is_flags_set (const FlowEntryFlags &flags) const |
| |
| void | set_flags (const FlowEntryFlags &flags) |
| |
| void | reset_flags (const FlowEntryFlags &flags) |
| |
| void | set_source_sg_id_l (const SecurityGroupList &sg_l) |
| |
| void | set_dest_sg_id_l (const SecurityGroupList &sg_l) |
| |
| int | linklocal_src_port () const |
| |
| int | linklocal_src_port_fd () const |
| |
| const std::string & | acl_assigned_vrf () const |
| |
| void | set_acl_assigned_vrf_index () |
| |
| uint32_t | acl_assigned_vrf_index () const |
| |
| uint32_t | fip () const |
| |
| VmInterfaceKey | fip_vmi () const |
| |
| uint32_t | reverse_flow_fip () const |
| |
| VmInterfaceKey | reverse_flow_vmi () const |
| |
| void | UpdateFipStatsInfo (uint32_t fip, uint32_t id, Agent *agent) |
| |
| const boost::uuids::uuid & | uuid () const |
| |
| const boost::uuids::uuid & | egress_uuid () const |
| |
| const std::string & | sg_rule_uuid () const |
| |
| const std::string & | nw_ace_uuid () const |
| |
| const std::string | fw_policy_name_uuid () const |
| |
| const std::string | fw_policy_uuid () const |
| |
| const std::string | RemotePrefix () const |
| |
| const TagList & | remote_tagset () const |
| |
| const TagList & | local_tagset () const |
| |
| const std::string & | peer_vrouter () const |
| |
| TunnelType | tunnel_type () const |
| |
| uint16_t | short_flow_reason () const |
| |
| const MacAddress & | smac () const |
| |
| const MacAddress & | dmac () const |
| |
| bool | on_tree () const |
| |
| void | set_on_tree () |
| |
| tbb::mutex & | mutex () |
| |
| const Interface * | intf_entry () const |
| |
| const VnEntry * | vn_entry () const |
| |
| VmFlowRef * | in_vm_flow_ref () |
| |
| const VmEntry * | in_vm_entry () const |
| |
| const VmEntry * | out_vm_entry () const |
| |
| const NextHop * | src_ip_nh () const |
| |
| const NextHop * | rpf_nh () const |
| |
| uint32_t | GetEcmpIndex () const |
| |
| const uint32_t | bgp_as_a_service_sport () const |
| |
| const uint32_t | bgp_as_a_service_dport () const |
| |
| const MatchPolicy & | match_p () const |
| |
| bool | ActionSet (TrafficAction::Action action) const |
| |
| bool | ImplicitDenyFlow () const |
| |
| bool | deleted () |
| |
| bool | IsShortFlow () const |
| |
| bool | IsEcmpFlow () const |
| |
| bool | IsNatFlow () const |
| |
| bool | IsIngressFlow () const |
| |
| void | ResyncFlow () |
| |
| void | RpfUpdate () |
| |
| bool | ActionRecompute () |
| |
| bool | DoPolicy () |
| |
| void | MakeShortFlow (FlowShortReason reason) |
| |
| void | SetMirrorVrfFromAction () |
| |
| void | SetHbsInfofromAction () |
| |
| void | SetVrfAssignEntry () |
| |
| void | ComputeReflexiveAction () |
| |
| uint32_t | MatchAcl (const PacketHeader &hdr, MatchAclParamsList &acl, bool add_implicit_deny, bool add_implicit_allow, FlowPolicyInfo *info) |
| |
| void | ResetPolicy () |
| |
| void | FillFlowInfo (FlowInfo &info) const |
| |
| void | GetPolicyInfo (const VnEntry *vn, const FlowEntry *rflow) |
| |
| void | GetPolicyInfo (const FlowEntry *rflow) |
| |
| void | GetPolicyInfo (const VnEntry *vn) |
| |
| void | GetPolicyInfo () |
| |
| void | UpdateL2RouteInfo () |
| |
| void | GetVrfAssignAcl () |
| |
| void | SetMirrorVrf (const uint32_t id) |
| |
| void | GetPolicy (const VnEntry *vn, const FlowEntry *rflow) |
| |
| void | GetNonLocalFlowSgList (const VmInterface *vm_port) |
| |
| void | GetLocalFlowSgList (const VmInterface *vm_port, const VmInterface *reverse_vm_port) |
| |
| void | GetSgList (const Interface *intf) |
| |
| void | GetApplicationPolicySet (const Interface *intf, const FlowEntry *rflow) |
| |
| void | SetPacketHeader (PacketHeader *hdr) |
| |
| void | SetOutPacketHeader (PacketHeader *hdr) |
| |
| void | set_deleted (bool deleted) |
| |
| void | SetAclAction (std::vector< AclAction > &acl_action_l) const |
| |
| void | UpdateReflexiveAction () |
| |
| bool | IsFabricControlFlow () const |
| |
| void | SetAclFlowSandeshData (const AclDBEntry *acl, FlowSandeshData &fe_sandesh_data, Agent *agent) const |
| |
| uint32_t | InterfaceKeyToId (Agent *agent, const VmInterfaceKey &key) |
| |
| FlowTableKSyncEntry * | ksync_entry () |
| |
| FlowStatsCollector * | fsc () const |
| |
| void | set_fsc (FlowStatsCollector *fsc) |
| |
| std::string | KeyString () const |
| |
| void | SetEventSandeshData (SandeshFlowIndexInfo *info) |
| |
| void | LogFlow (FlowEventLog::Event event, FlowTableKSyncEntry *ksync, uint32_t flow_handle, uint8_t gen_id) |
| |
| void | RevFlowDepInfo (RevFlowDepParams *params) |
| |
| uint32_t | last_event () const |
| |
| void | set_last_event (uint32_t event) |
| |
| uint8_t | GetMaxRetryAttempts () |
| |
| void | IncrementRetrycount () |
| |
| void | ResetRetryCount () |
| |
| bool | IsOnUnresolvedList () |
| |
| void | SetUnResolvedList (bool added) |
| |
| FlowPendingAction * | GetPendingAction () |
| |
| bool | trace () const |
| |
| void | set_trace (bool val) |
| |
| FlowMgmtRequest * | flow_mgmt_request () const |
| |
| void | set_flow_mgmt_request (FlowMgmtRequest *req) |
| |
| FlowEntryInfo * | flow_mgmt_info () const |
| |
| void | set_flow_mgmt_info (FlowEntryInfo *info) |
| |
| void | FillUveFwStatsInfo (FlowUveFwPolicyInfo *info, bool added) const |
| |
| void | FillUveVnAceInfo (FlowUveVnAcePolicyInfo *info) const |
| |
| bool | IsClientFlow () |
| |
| bool | IsServerFlow () |
| |
| uint16_t | allocated_port () |
| |
| void | IncrementTransactionId () |
| |
| uint32_t | GetTransactionId () |
| |
| void | SetHbsInterface (HbsInterface intf) |
| |
| HbsInterface | GetHbsInterface () |
| |
|
| void | FillUveLocalRevFlowStatsInfo (FlowUveFwPolicyInfo *info, bool added) const |
| |
| void | FillUveFwdFlowStatsInfo (FlowUveFwPolicyInfo *info, bool added) const |
| |
| void | RpfInit (const AgentRoute *rt, const IpAddress &sip) |
| |
| void | RpfSetRpfNhFields (const NextHop *rpf_nh) |
| |
| void | RpfSetRpfNhFields (const AgentRoute *rt, const NextHop *rpf_nh) |
| |
| void | RpfSetSrcIpNhFields (const AgentRoute *rt, const NextHop *src_ip_nh) |
| |
| bool | RpfFromSrcIpNh () const |
| |
| void | RpfComputeEgress () |
| |
| void | RpfComputeIngress () |
| |
| bool | InitFlowCmn (const PktFlowInfo *info, const PktControlInfo *ctrl, const PktControlInfo *rev_ctrl, FlowEntry *rflow) |
| |
| VmInterfaceKey | InterfaceIdToKey (Agent *agent, uint32_t id) |
| |
| void | GetSourceRouteInfo (const AgentRoute *rt) |
| |
| void | GetDestRouteInfo (const AgentRoute *rt) |
| |
| const std::string | InterfaceIdToVmCfgName (Agent *agent, uint32_t id) |
| |
| const VrfEntry * | GetDestinationVrf () const |
| |
| bool | SetQosConfigIndex () |
| |
| void | SetAclInfo (SessionPolicy *sp, SessionPolicy *rsp, const FlowPolicyInfo &fwd_flow_info, const FlowPolicyInfo &rev_flow_info, bool tcp_rev, bool is_sg) |
| |
| void | SessionMatch (SessionPolicy *sp, SessionPolicy *rsp, bool is_sg) |
| |
| void | UpdateReflexiveAction (SessionPolicy *sp, SessionPolicy *rsp) |
| |
| const std::string | BuildRemotePrefix (const FlowRouteRefMap &rt_list, uint32_t vr, const IpAddress &ip) const |
| |
| uint8_t | GetUnderlayGwIndex (uint32_t intf_in, const IpAddress &sip, const IpAddress &dip, uint8_t proto, uint16_t sport, uint16_t dport) const |
| |
Definition at line 460 of file flow_entry.h.