[swconfig] add portmap support to userland