summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-31 13:19:17 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-31 13:19:17 +0900
commit311324fab8bf7d9e39365d53f7e810af90476d85 (patch)
tree6a32784d484f30bb0abebbc393c7f8b9f270da97 /table
parent051621bf3aecbe0fd6292a3b4ee41ab42169eea1 (diff)
move packet/*.go to packet/bgp/*.go for Go's convention
Later, we move non-bgp protocol stuff like mrt under their own direcotries. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table')
-rw-r--r--table/adj.go2
-rw-r--r--table/destination.go2
-rw-r--r--table/destination_test.go2
-rw-r--r--table/message.go2
-rw-r--r--table/message_test.go2
-rw-r--r--table/path.go2
-rw-r--r--table/path_test.go2
-rw-r--r--table/policy.go2
-rw-r--r--table/policy_test.go2
-rw-r--r--table/table.go2
-rw-r--r--table/table_manager.go2
-rw-r--r--table/table_manager_test.go2
-rw-r--r--table/table_test.go2
-rw-r--r--table/vrf.go2
14 files changed, 14 insertions, 14 deletions
diff --git a/table/adj.go b/table/adj.go
index 411f74f0..a58f87aa 100644
--- a/table/adj.go
+++ b/table/adj.go
@@ -16,7 +16,7 @@
package table
import (
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"reflect"
)
diff --git a/table/destination.go b/table/destination.go
index 8f9676b1..6839c608 100644
--- a/table/destination.go
+++ b/table/destination.go
@@ -22,7 +22,7 @@ import (
log "github.com/Sirupsen/logrus"
api "github.com/osrg/gobgp/api"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"net"
"sort"
)
diff --git a/table/destination_test.go b/table/destination_test.go
index f5556175..d7498142 100644
--- a/table/destination_test.go
+++ b/table/destination_test.go
@@ -17,7 +17,7 @@ package table
import (
//"fmt"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/stretchr/testify/assert"
"net"
"testing"
diff --git a/table/message.go b/table/message.go
index 23f278bb..3d1d7e8d 100644
--- a/table/message.go
+++ b/table/message.go
@@ -18,7 +18,7 @@ package table
import (
"bytes"
log "github.com/Sirupsen/logrus"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"hash/fnv"
)
diff --git a/table/message_test.go b/table/message_test.go
index 1f559c0e..01c9ae58 100644
--- a/table/message_test.go
+++ b/table/message_test.go
@@ -16,7 +16,7 @@
package table
import (
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/stretchr/testify/assert"
"testing"
"time"
diff --git a/table/path.go b/table/path.go
index 9469fe1d..397bfbdd 100644
--- a/table/path.go
+++ b/table/path.go
@@ -21,7 +21,7 @@ import (
log "github.com/Sirupsen/logrus"
api "github.com/osrg/gobgp/api"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"math"
"net"
"sort"
diff --git a/table/path_test.go b/table/path_test.go
index e12640e2..6e7a3534 100644
--- a/table/path_test.go
+++ b/table/path_test.go
@@ -6,7 +6,7 @@ import (
"testing"
"time"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/stretchr/testify/assert"
)
diff --git a/table/policy.go b/table/policy.go
index 2e0550c6..2a8c759f 100644
--- a/table/policy.go
+++ b/table/policy.go
@@ -28,7 +28,7 @@ import (
"github.com/armon/go-radix"
api "github.com/osrg/gobgp/api"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
)
type PolicyOptions struct {
diff --git a/table/policy_test.go b/table/policy_test.go
index 38b55794..71e1a723 100644
--- a/table/policy_test.go
+++ b/table/policy_test.go
@@ -19,7 +19,7 @@ import (
"fmt"
log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/stretchr/testify/assert"
"math"
"net"
diff --git a/table/table.go b/table/table.go
index 5c19c2e4..9246c6ff 100644
--- a/table/table.go
+++ b/table/table.go
@@ -17,7 +17,7 @@ package table
import (
log "github.com/Sirupsen/logrus"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
)
type Table struct {
diff --git a/table/table_manager.go b/table/table_manager.go
index a40e1221..287c5a46 100644
--- a/table/table_manager.go
+++ b/table/table_manager.go
@@ -19,7 +19,7 @@ import (
"bytes"
"fmt"
log "github.com/Sirupsen/logrus"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"net"
"time"
)
diff --git a/table/table_manager_test.go b/table/table_manager_test.go
index 4732d3a3..38f16eaf 100644
--- a/table/table_manager_test.go
+++ b/table/table_manager_test.go
@@ -18,7 +18,7 @@ package table
import (
_ "fmt"
log "github.com/Sirupsen/logrus"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/stretchr/testify/assert"
"net"
"os"
diff --git a/table/table_test.go b/table/table_test.go
index 9cec4133..bb51a4de 100644
--- a/table/table_test.go
+++ b/table/table_test.go
@@ -16,7 +16,7 @@
package table
import (
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/stretchr/testify/assert"
"testing"
"time"
diff --git a/table/vrf.go b/table/vrf.go
index d7b429e7..16e02ed4 100644
--- a/table/vrf.go
+++ b/table/vrf.go
@@ -17,7 +17,7 @@ package table
import (
api "github.com/osrg/gobgp/api"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
)
type Vrf struct {