netdev: Add support for "patch" type