mirror of
https://github.com/golang/sys.git
synced 2026-02-09 04:06:04 +03:00
unix: add more RTA_* constants on Linux
Now all non-deprecated RTA_* constants as of Linux v4.18 are present. Change-Id: Ib04e233015f381ceb7c7e06b3d808f3c7948f5b4 Reviewed-on: https://go-review.googlesource.com/136456 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
1561086e64
commit
d641721ec2
@@ -581,6 +581,13 @@ const (
|
||||
RTA_PREF = C.RTA_PREF
|
||||
RTA_ENCAP_TYPE = C.RTA_ENCAP_TYPE
|
||||
RTA_ENCAP = C.RTA_ENCAP
|
||||
RTA_EXPIRES = C.RTA_EXPIRES
|
||||
RTA_PAD = C.RTA_PAD
|
||||
RTA_UID = C.RTA_UID
|
||||
RTA_TTL_PROPAGATE = C.RTA_TTL_PROPAGATE
|
||||
RTA_IP_PROTO = C.RTA_IP_PROTO
|
||||
RTA_SPORT = C.RTA_SPORT
|
||||
RTA_DPORT = C.RTA_DPORT
|
||||
RTN_UNSPEC = C.RTN_UNSPEC
|
||||
RTN_UNICAST = C.RTN_UNICAST
|
||||
RTN_LOCAL = C.RTN_LOCAL
|
||||
|
||||
Reference in New Issue
Block a user