Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flow/pkts: make syntax cleaner and compact
Currently, the syntax includes direction as a part of the keyword which is against how usually keywords are done. By making direction as a mandatory argument, it is possible to make the syntax cleaner and the implementation more compact and easily extendable. Pros: - Registration table sees lesser entries - If the options have to be extended, it can be done trivially - In accordance w existing keyword implementations Note that this commit also retains the existing direction specific keywords.
- Loading branch information