tools: ynl-gen: make the mnl_type() method public
authorJakub Kicinski <kuba@kernel.org>
Wed, 18 Oct 2023 21:39:19 +0000 (14:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2023 10:43:35 +0000 (11:43 +0100)
commite1b347c5f7de2c1a112c2dd6e380241135e34be2
treee9e97f441a6f73b442f08506a5f98f1465e470da
parenta10f9bfe935dd49d09e1c284a73bcd322de12917
tools: ynl-gen: make the mnl_type() method public

uint/sint support will add more logic to mnl_type(),
deduplicate it and make it more accessible.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/net/ynl/ynl-gen-c.py