File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,24 @@ type Scope uint8
1111
1212type NextHopFlag int
1313
14+ const (
15+ RT_FILTER_PROTOCOL uint64 = 1 << (1 + iota )
16+ RT_FILTER_SCOPE
17+ RT_FILTER_TYPE
18+ RT_FILTER_TOS
19+ RT_FILTER_IIF
20+ RT_FILTER_OIF
21+ RT_FILTER_DST
22+ RT_FILTER_SRC
23+ RT_FILTER_GW
24+ RT_FILTER_TABLE
25+ RT_FILTER_HOPLIMIT
26+ RT_FILTER_PRIORITY
27+ RT_FILTER_MARK
28+ RT_FILTER_MASK
29+ RT_FILTER_REALM
30+ )
31+
1432type Destination interface {
1533 Family () int
1634 Decode ([]byte ) error
Original file line number Diff line number Diff line change @@ -41,23 +41,6 @@ func (s Scope) String() string {
4141 }
4242}
4343
44- const (
45- RT_FILTER_PROTOCOL uint64 = 1 << (1 + iota )
46- RT_FILTER_SCOPE
47- RT_FILTER_TYPE
48- RT_FILTER_TOS
49- RT_FILTER_IIF
50- RT_FILTER_OIF
51- RT_FILTER_DST
52- RT_FILTER_SRC
53- RT_FILTER_GW
54- RT_FILTER_TABLE
55- RT_FILTER_HOPLIMIT
56- RT_FILTER_PRIORITY
57- RT_FILTER_MARK
58- RT_FILTER_MASK
59- RT_FILTER_REALM
60- )
6144
6245const (
6346 FLAG_ONLINK NextHopFlag = unix .RTNH_F_ONLINK
You can’t perform that action at this time.
0 commit comments