unix: add remaining RTA_* constants for use with rtnetlink on Linux

Change-Id: Ie48ba8d5bacc73b69d1b964d55ae4d443ab46aac
Reviewed-on: https://go-review.googlesource.com/134116
Run-TryBot: Matt Layher <mdlayher@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Matt Layher
2018-09-07 20:22:04 +00:00
committed by Ian Lance Taylor
parent 8cf3aee429
commit 917fdcba13
13 changed files with 91 additions and 0 deletions
+7
View File
@@ -574,6 +574,13 @@ const (
RTA_FLOW = C.RTA_FLOW
RTA_CACHEINFO = C.RTA_CACHEINFO
RTA_TABLE = C.RTA_TABLE
RTA_MARK = C.RTA_MARK
RTA_MFC_STATS = C.RTA_MFC_STATS
RTA_VIA = C.RTA_VIA
RTA_NEWDST = C.RTA_NEWDST
RTA_PREF = C.RTA_PREF
RTA_ENCAP_TYPE = C.RTA_ENCAP_TYPE
RTA_ENCAP = C.RTA_ENCAP
RTN_UNSPEC = C.RTN_UNSPEC
RTN_UNICAST = C.RTN_UNICAST
RTN_LOCAL = C.RTN_LOCAL