net/tap: add basic flow API patterns and actions