aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-09-20 15:58:48 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-09-20 16:07:15 +0200
commit9ba5d84192c3e03835e344d5a50f9d8b18053c64 (patch)
tree1239f9ebb58156d7daec21b7ab7b8de47e25e982 /sys/linux
parent565a5452a1e2b1ed1d3f04091be34f5bf96c2e8b (diff)
sys/linux: fix RTA_EXPIRES in rtm_ipv6_policy
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/gen/386.go10
-rw-r--r--sys/linux/gen/amd64.go10
-rw-r--r--sys/linux/gen/arm.go10
-rw-r--r--sys/linux/gen/arm64.go10
-rw-r--r--sys/linux/gen/ppc64le.go10
-rw-r--r--sys/linux/socket_netlink_route.txt2
-rw-r--r--sys/linux/socket_netlink_route_386.const1
-rw-r--r--sys/linux/socket_netlink_route_amd64.const1
-rw-r--r--sys/linux/socket_netlink_route_arm.const1
-rw-r--r--sys/linux/socket_netlink_route_arm64.const1
-rw-r--r--sys/linux/socket_netlink_route_ppc64le.const1
11 files changed, 46 insertions, 11 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index b31161e8e..8a9972fe2 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -11987,6 +11987,11 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_EXPIRES, int16], int32]", TypeSize: 8}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_FLOW, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11},
@@ -15792,7 +15797,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_EXPIRES"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, FldName: "RTA_EXPIRES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"},
}}},
@@ -37725,6 +37730,7 @@ var consts_386 = []ConstValue{
{Name: "RTA_DST", Value: 1},
{Name: "RTA_ENCAP", Value: 22},
{Name: "RTA_ENCAP_TYPE", Value: 21},
+ {Name: "RTA_EXPIRES", Value: 23},
{Name: "RTA_FLOW", Value: 11},
{Name: "RTA_GATEWAY", Value: 5},
{Name: "RTA_MARK", Value: 16},
@@ -40755,4 +40761,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "6b884952207522ecf63e8318d62464d65c51d9f7"
+const revision_386 = "2fd84bb864ea5ef7af45661663649a9cfe185cb1"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 98148eb38..c7a27e3cf 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -12212,6 +12212,11 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_EXPIRES, int16], int32]", TypeSize: 8}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_FLOW, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11},
@@ -16017,7 +16022,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_EXPIRES"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, FldName: "RTA_EXPIRES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"},
}}},
@@ -38394,6 +38399,7 @@ var consts_amd64 = []ConstValue{
{Name: "RTA_DST", Value: 1},
{Name: "RTA_ENCAP", Value: 22},
{Name: "RTA_ENCAP_TYPE", Value: 21},
+ {Name: "RTA_EXPIRES", Value: 23},
{Name: "RTA_FLOW", Value: 11},
{Name: "RTA_GATEWAY", Value: 5},
{Name: "RTA_MARK", Value: 16},
@@ -41449,4 +41455,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "48b4fad0def71eb5e9f6261961870c6c57792a91"
+const revision_amd64 = "b240c0ef02e6c8ad382698d812a82851dc5ab975"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 8bc3c8adc..acb58fdc4 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -11842,6 +11842,11 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_EXPIRES, int16], int32]", TypeSize: 8}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_FLOW, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11},
@@ -15647,7 +15652,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_EXPIRES"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, FldName: "RTA_EXPIRES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"},
}}},
@@ -37593,6 +37598,7 @@ var consts_arm = []ConstValue{
{Name: "RTA_DST", Value: 1},
{Name: "RTA_ENCAP", Value: 22},
{Name: "RTA_ENCAP_TYPE", Value: 21},
+ {Name: "RTA_EXPIRES", Value: 23},
{Name: "RTA_FLOW", Value: 11},
{Name: "RTA_GATEWAY", Value: 5},
{Name: "RTA_MARK", Value: 16},
@@ -40621,4 +40627,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "01eea65615a960a0b6363e521bb8141f342763ab"
+const revision_arm = "73f0477f8dbfa4eb728760164a7274f33cea0dfa"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index a7843237c..e6010c6ed 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -12029,6 +12029,11 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_EXPIRES, int16], int32]", TypeSize: 8}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_FLOW, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11},
@@ -15834,7 +15839,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_EXPIRES"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, FldName: "RTA_EXPIRES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"},
}}},
@@ -37829,6 +37834,7 @@ var consts_arm64 = []ConstValue{
{Name: "RTA_DST", Value: 1},
{Name: "RTA_ENCAP", Value: 22},
{Name: "RTA_ENCAP_TYPE", Value: 21},
+ {Name: "RTA_EXPIRES", Value: 23},
{Name: "RTA_FLOW", Value: 11},
{Name: "RTA_GATEWAY", Value: 5},
{Name: "RTA_MARK", Value: 16},
@@ -40843,4 +40849,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "6f45b74370a0a5edbfaf0e32821e7b242316cce8"
+const revision_arm64 = "c5dd9010dd5dbf13993a31a250918f03349f27f7"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index f43deee6c..f38c9a1fc 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -11939,6 +11939,11 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "lwtunnel_encap_types", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_EXPIRES, int16], int32]", TypeSize: 8}, Fields: []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[RTA_FLOW, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[RTA_FLOW, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11},
@@ -15744,7 +15749,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_PREF, int16], int8]"}, FldName: "RTA_PREF"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP_TYPE, int16], flags[lwtunnel_encap_types, int16]]"}, FldName: "RTA_ENCAP_TYPE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_ENCAP, int16], nl_generic_attr]"}, FldName: "RTA_ENCAP"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_EXPIRES"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[RTA_EXPIRES, int16], int32]"}, FldName: "RTA_EXPIRES"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_UID, int16], uid]"}, FldName: "RTA_UID"},
&StructType{Key: StructKey{Name: "nlattr_t[const[RTA_MARK, int16], int32]"}, FldName: "RTA_MARK"},
}}},
@@ -36128,6 +36133,7 @@ var consts_ppc64le = []ConstValue{
{Name: "RTA_DST", Value: 1},
{Name: "RTA_ENCAP", Value: 22},
{Name: "RTA_ENCAP_TYPE", Value: 21},
+ {Name: "RTA_EXPIRES", Value: 23},
{Name: "RTA_FLOW", Value: 11},
{Name: "RTA_GATEWAY", Value: 5},
{Name: "RTA_MARK", Value: 16},
@@ -38199,4 +38205,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "9b975a4915282e1af421b22b7529e04c9f85a69a"
+const revision_ppc64le = "b34fcb6fb59e9bfca3e7daa3f497a2364e1a722a"
diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt
index bbffd1afb..e6eea25f3 100644
--- a/sys/linux/socket_netlink_route.txt
+++ b/sys/linux/socket_netlink_route.txt
@@ -451,7 +451,7 @@ rtm_ipv6_policy [
RTA_ENCAP_TYPE nlattr[RTA_ENCAP_TYPE, flags[lwtunnel_encap_types, int16]]
# TODO: describe RTA_ENCAP
RTA_ENCAP nlattr[RTA_ENCAP, nl_generic_attr]
- RTA_EXPIRES nlattr[RTA_MARK, int32]
+ RTA_EXPIRES nlattr[RTA_EXPIRES, int32]
RTA_UID nlattr[RTA_UID, uid]
RTA_MARK nlattr[RTA_MARK, int32]
] [varlen]
diff --git a/sys/linux/socket_netlink_route_386.const b/sys/linux/socket_netlink_route_386.const
index 3a4276272..c8dae04e7 100644
--- a/sys/linux/socket_netlink_route_386.const
+++ b/sys/linux/socket_netlink_route_386.const
@@ -303,6 +303,7 @@ NUD_STALE = 4
RTA_DST = 1
RTA_ENCAP = 22
RTA_ENCAP_TYPE = 21
+RTA_EXPIRES = 23
RTA_FLOW = 11
RTA_GATEWAY = 5
RTA_MARK = 16
diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const
index 563e881e4..b750efe87 100644
--- a/sys/linux/socket_netlink_route_amd64.const
+++ b/sys/linux/socket_netlink_route_amd64.const
@@ -303,6 +303,7 @@ NUD_STALE = 4
RTA_DST = 1
RTA_ENCAP = 22
RTA_ENCAP_TYPE = 21
+RTA_EXPIRES = 23
RTA_FLOW = 11
RTA_GATEWAY = 5
RTA_MARK = 16
diff --git a/sys/linux/socket_netlink_route_arm.const b/sys/linux/socket_netlink_route_arm.const
index 0d81be269..03a4ec4da 100644
--- a/sys/linux/socket_netlink_route_arm.const
+++ b/sys/linux/socket_netlink_route_arm.const
@@ -303,6 +303,7 @@ NUD_STALE = 4
RTA_DST = 1
RTA_ENCAP = 22
RTA_ENCAP_TYPE = 21
+RTA_EXPIRES = 23
RTA_FLOW = 11
RTA_GATEWAY = 5
RTA_MARK = 16
diff --git a/sys/linux/socket_netlink_route_arm64.const b/sys/linux/socket_netlink_route_arm64.const
index b2f517bb6..51ebf5791 100644
--- a/sys/linux/socket_netlink_route_arm64.const
+++ b/sys/linux/socket_netlink_route_arm64.const
@@ -303,6 +303,7 @@ NUD_STALE = 4
RTA_DST = 1
RTA_ENCAP = 22
RTA_ENCAP_TYPE = 21
+RTA_EXPIRES = 23
RTA_FLOW = 11
RTA_GATEWAY = 5
RTA_MARK = 16
diff --git a/sys/linux/socket_netlink_route_ppc64le.const b/sys/linux/socket_netlink_route_ppc64le.const
index b4a212643..d0d92269e 100644
--- a/sys/linux/socket_netlink_route_ppc64le.const
+++ b/sys/linux/socket_netlink_route_ppc64le.const
@@ -303,6 +303,7 @@ NUD_STALE = 4
RTA_DST = 1
RTA_ENCAP = 22
RTA_ENCAP_TYPE = 21
+RTA_EXPIRES = 23
RTA_FLOW = 11
RTA_GATEWAY = 5
RTA_MARK = 16