summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-20 22:10:09 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-20 22:10:09 +0900
commit9355715ea394cb232d933ca20e8365b126ae6302 (patch)
tree9b22046329a177a457b7d66dbe71a7e19fcd3649 /packet/bgp.go
parenta307c5bc7a4cea293400e4475ea504b4e2b450f4 (diff)
peer: update pathattr for non-route-server client
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp.go')
-rw-r--r--packet/bgp.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/packet/bgp.go b/packet/bgp.go
index db7ff88a..f8d1f637 100644
--- a/packet/bgp.go
+++ b/packet/bgp.go
@@ -49,6 +49,11 @@ const (
)
const (
+ BGP_ASPATH_ATTR_TYPE_SET = 1
+ BGP_ASPATH_ATTR_TYPE_SEQ = 2
+)
+
+const (
_ = iota
BGP_MSG_OPEN
BGP_MSG_UPDATE