tapv2: add "tap_flags" field to the TAPv2 interface API