class SourceMatchCodeGenerator

Code generator for source match filters. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

This is a specialized version of the import filter CodeGenerator.

It skips dest and action blocks in policies. The action block is replaced with the actual policy tagging.

NoProtoSpec (class)

NoProtoSpec

ProtoRedefined (class)

ProtoRedefined

 SourceMatchCodeGenerator (uint32_t tagstart)

SourceMatchCodeGenerator

Parameters:

tagstartthe first policy tag available.
const Element*  visit_policy (PolicyStatement& policy)

visit_policy

Reimplemented from CodeGenerator.

const Element*  visit_term (Term& term)

visit_term

Reimplemented from CodeGenerator.

const Element*  visit_proto (NodeProto& node)

visit_proto

Reimplemented from CodeGenerator.

vector<Code*>&  codes ()

codes

The targets of source match code may be multiple as different protocols may refer to different source terms. Thus many different code fragments may be generated.

Returns: seturn all the code fragments generated.


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:13 2005, using kdoc $.