diff options
| author | Trey Aspelund <taspelund@nvidia.com> | 2022-02-08 03:37:23 +0000 | 
|---|---|---|
| committer | Trey Aspelund <taspelund@nvidia.com> | 2022-02-10 21:36:34 +0000 | 
| commit | 95fe32880ff7c4fe454c92c92adb605e7f651617 (patch) | |
| tree | 0738693b272247ccfd174d5ea6d6358f821d3fe7 /zebra/rt_netlink.h | |
| parent | 6142a17949ce6dcc757e8878326f3967be1ade32 (diff) | |
zebra: add netlink debugs for ip rules
Adds functions to parse + decode netlink rules.
Adds RTM_NEWRULE + RTM_DELRULE to "debug zebra kernel".
Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'zebra/rt_netlink.h')
| -rw-r--r-- | zebra/rt_netlink.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rt_netlink.h b/zebra/rt_netlink.h index 93c06e555b..0a79771708 100644 --- a/zebra/rt_netlink.h +++ b/zebra/rt_netlink.h @@ -134,6 +134,8 @@ const char *rtm_rta2str(int type);  const char *neigh_rta2str(int type);  const char *ifa_rta2str(int type);  const char *nhm_rta2str(int type); +const char *frh_rta2str(int type); +const char *frh_action2str(uint8_t action);  const char *nlmsg_flags2str(uint16_t flags, char *buf, size_t buflen);  const char *if_flags2str(uint32_t flags, char *buf, size_t buflen);  const char *rtm_flags2str(uint32_t flags, char *buf, size_t buflen);  | 
