aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorAlbert van der Linde <alinde@google.com>2020-08-05 10:40:47 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-08-08 14:12:06 +0200
commitf721e4a097714a9054b9fe1aadf427afbbd2c157 (patch)
tree719d83c45a3676d9df4c8f4624b2bedb42754071 /sys/linux
parentcb9c120a74bbfc083572692616096a4ee5ad11cc (diff)
sys/linux: add missing flags to rtnexthop
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/socket_netlink_route.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt
index fc319f08c..fd2d7eb70 100644
--- a/sys/linux/socket_netlink_route.txt
+++ b/sys/linux/socket_netlink_route.txt
@@ -205,7 +205,7 @@ type if_stats_msg[FAMILY] {
}
type nhmsg_get_del[FAMILY] nhmsg[FAMILY, const[0, int8], const[0, int32]]
-type nhmsg_new[FAMILY] nhmsg[FAMILY, flags[rtm_protocol, int8], flags[nh_flags, int32]]
+type nhmsg_new[FAMILY] nhmsg[FAMILY, flags[rtm_protocol, int8], flags[rtnh_flags, int32]]
type nhmsg[FAMILY, PROTOCOL, FLAGS] {
nh_family const[FAMILY, int8]
@@ -810,7 +810,7 @@ nda_cacheinfo {
rtnexthop {
rtnh_len int16
- rtnh_flags int8
+ rtnh_flags flags[rtnh_flags, int8]
rtnh_hops int8
rtnh_ifindex ifindex
}
@@ -1202,5 +1202,5 @@ br_vlan_tinfo_cmd = RTM_SETLINK, RTM_DELLINK
br_mdb_entry_state = MDB_TEMPORARY, MDB_PERMANENT
br_mdb_entry_flags = MDB_FLAGS_OFFLOAD, MDB_FLAGS_FAST_LEAVE
br_mdb_entry_sub_proto = ETH_P_IP, ETH_P_IPV6
-nh_flags = RTNH_F_DEAD, RTNH_F_PERVASIVE, RTNH_F_ONLINK, RTNH_F_OFFLOAD, RTNH_F_LINKDOWN, RTNH_F_UNRESOLVED
+rtnh_flags = RTNH_F_DEAD, RTNH_F_PERVASIVE, RTNH_F_ONLINK, RTNH_F_OFFLOAD, RTNH_F_LINKDOWN, RTNH_F_UNRESOLVED
nha_group_types = NEXTHOP_GRP_TYPE_MPATH