strace/xlat/routing_types.in
JingPiao Chen 0ca787b5ba netlink: add a basic rtnetlink parser of route messages
* defs.h (routing_scopes): New xlat prototype.
* rtnl_route.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* netlink_route.h (decode_rtmsg): New prototype.
* netlink_route.c (route_decoders): Add RTM_DELROUTE, RTM_GETROUTE,
and RTM_NEWROUTE.
* xlat/ip_type_of_services.in: New file.
* xlat/routing_flags.in: Likewise.
* xlat/routing_protocols.in: Likewise.
* xlat/routing_table_ids.in: Likewise.
* xlat/routing_types.in: Likewise.

Co-authored-by: Fabien Siron <fabien.siron@epita.fr>
2017-08-14 01:06:38 +00:00

13 lines
174 B
Plaintext

RTN_UNSPEC 0
RTN_UNICAST 1
RTN_LOCAL 2
RTN_BROADCAST 3
RTN_ANYCAST 4
RTN_MULTICAST 5
RTN_BLACKHOLE 6
RTN_UNREACHABLE 7
RTN_PROHIBIT 8
RTN_THROW 9
RTN_NAT 10
RTN_XRESOLVE 11