summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-09-15 20:49:08 +0200
committerJo-Philipp Wich <jo@mein.io>2021-09-15 21:09:18 +0200
commitdd86e1dadab228c1a20bdb5504d216706cdd8624 (patch)
treea00d6f73947ee018c0757e093fa4464aa09f328b /include
parent74fdb97662fd3edfd52f7ff477e10490270c0d83 (diff)
rtnl: automatically derive message family from certain address attrs
# ucode -mrtnl -Rs 'printf("%.J", rtnl.request(rtnl.const.RTM_GETROUTE, 0, { dst: "8.8.8.8" }))' { "family": 2, "tos": 0, "protocol": 0, "scope": 0, "type": 1, "flags": 512, "dst": "8.8.8.8/32", "oif": "onboard", "gateway": "10.11.12.13", "prefsrc": "10.11.12.7", "cacheinfo": { "clntref": 2, "lastuse": 0, "expires": 0, "error": 0, "used": 0, "id": 0, "ts": 0, "tsage": 0 }, "table": 254, "uid": 0 } Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions