Creates a filter with no action.
| 48 | public: |
| 49 | // Creates a filter with no action. |
| 50 | Filter(const Handle& _parent, |
| 51 | const Classifier& _classifier, |
| 52 | const Option<Priority>& _priority, |
| 53 | const Option<Handle>& _handle, |
| 54 | const Option<Handle>& _classid) |
| 55 | : parent(_parent), |
| 56 | classifier(_classifier), |
| 57 | priority(_priority), |
| 58 | handle(_handle), |
| 59 | classid(_classid) {} |
| 60 | |
| 61 | // TODO(jieyu): Support arbitrary number of actions. |
| 62 | template <typename Action> |