The DSL provides the MainPipe and PostPipe controls for users to define packet pipeline logic. The specifications of the two controls are slightly different, which are described in following sections.