Skip to content

Commit

Permalink
Replace github.com paths so that I can install this fork
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisafa committed Jan 29, 2021
1 parent 31cc3b7 commit 28e3966
Show file tree
Hide file tree
Showing 25 changed files with 37 additions and 37 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tc [![PkgGoDev](https://pkg.go.dev/badge/github.com/florianl/go-tc)](https://pkg.go.dev/github.com/florianl/go-tc) [![Go Report Card](https://goreportcard.com/badge/github.com/florianl/go-tc)](https://goreportcard.com/report/github.com/florianl/go-tc) [![GitHub Actions](https://github.com/florianl/go-tc/workflows/Go/badge.svg?branch=master)](https://github.com/florianl/go-tc/actions) [![Coverage Status](https://coveralls.io/repos/github/florianl/go-tc/badge.svg)](https://coveralls.io/github/florianl/go-tc)
tc [![PkgGoDev](https://pkg.go.dev/badge/github.com/dennisafa/go-tc)](https://pkg.go.dev/github.com/dennisafa/go-tc) [![Go Report Card](https://goreportcard.com/badge/github.com/dennisafa/go-tc)](https://goreportcard.com/report/github.com/dennisafa/go-tc) [![GitHub Actions](https://github.com/dennisafa/go-tc/workflows/Go/badge.svg?branch=master)](https://github.com/dennisafa/go-tc/actions) [![Coverage Status](https://coveralls.io/repos/github/florianl/go-tc/badge.svg)](https://coveralls.io/github/florianl/go-tc)
==
This is a work in progress version of `tc`. It provides a [C](https://en.wikipedia.org/wiki/C_(programming_language))-binding free API to the [netlink](http://man7.org/linux/man-pages/man7/netlink.7.html) based [traffic control system](http://man7.org/linux/man-pages/man8/tc.8.html) of [rtnetlink](http://man7.org/linux/man-pages/man7/rtnetlink.7.html).

Expand Down Expand Up @@ -45,4 +45,4 @@ func main() {
This package processes information directly from the kernel and therefore it requires special privileges. You can provide this privileges by adjusting the `CAP_NET_ADMIN` capabilities.
```
setcap 'cap_net_admin=+ep' /your/executable
```
```
2 changes: 1 addition & 1 deletion attributeTcMsg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"testing"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion chain.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tc

import (
"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/mdlayher/netlink"
)

Expand Down
4 changes: 2 additions & 2 deletions chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"testing"

"github.com/florianl/go-tc/core"
"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/core"
"github.com/dennisafa/go-tc/internal/unix"
)

func TestChain(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion class.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tc
import (
"fmt"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/mdlayher/netlink"
)

Expand Down
4 changes: 2 additions & 2 deletions class_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"testing"

"github.com/florianl/go-tc/core"
"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/core"
"github.com/dennisafa/go-tc/internal/unix"
)

func TestClass(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion core/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Package core contains some generic helper functions for the package github.com/florianl/go-tc.
Package core contains some generic helper functions for the package github.com/dennisafa/go-tc.
Depending on the actual hardware in use, parameters to filters and qdiscs can vary to achieve the
same behaviour.
*/
Expand Down
4 changes: 2 additions & 2 deletions example_fqCodel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net"
"os"

"github.com/florianl/go-tc"
"github.com/florianl/go-tc/core"
"github.com/dennisafa/go-tc"
"github.com/dennisafa/go-tc/core"
"github.com/jsimonetti/rtnetlink"
"golang.org/x/sys/unix"
)
Expand Down
4 changes: 2 additions & 2 deletions example_hfsc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net"
"os"

"github.com/florianl/go-tc"
"github.com/florianl/go-tc/core"
"github.com/dennisafa/go-tc"
"github.com/dennisafa/go-tc/core"
"github.com/jsimonetti/rtnetlink"
"golang.org/x/sys/unix"
)
Expand Down
4 changes: 2 additions & 2 deletions example_htb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net"
"os"

"github.com/florianl/go-tc"
"github.com/florianl/go-tc/core"
"github.com/dennisafa/go-tc"
"github.com/dennisafa/go-tc/core"
"github.com/jsimonetti/rtnetlink"
"golang.org/x/sys/unix"
)
Expand Down
2 changes: 1 addition & 1 deletion example_monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/florianl/go-tc"
"github.com/dennisafa/go-tc"
)

// This example demonstrates how Monitor() can be used
Expand Down
4 changes: 2 additions & 2 deletions example_netem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net"
"os"

"github.com/florianl/go-tc"
"github.com/florianl/go-tc/core"
"github.com/dennisafa/go-tc"
"github.com/dennisafa/go-tc/core"
"github.com/jsimonetti/rtnetlink"
"golang.org/x/sys/unix"
)
Expand Down
4 changes: 2 additions & 2 deletions example_tbf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net"
"os"

"github.com/florianl/go-tc"
"github.com/florianl/go-tc/core"
"github.com/dennisafa/go-tc"
"github.com/dennisafa/go-tc/core"
"github.com/jsimonetti/rtnetlink"
"golang.org/x/sys/unix"
)
Expand Down
4 changes: 2 additions & 2 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net"
"os"

"github.com/florianl/go-tc"
"github.com/florianl/go-tc/core"
"github.com/dennisafa/go-tc"
"github.com/dennisafa/go-tc/core"
"github.com/jsimonetti/rtnetlink"
"golang.org/x/sys/unix"
)
Expand Down
2 changes: 1 addition & 1 deletion filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/mdlayher/netlink"
)

Expand Down
4 changes: 2 additions & 2 deletions filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"testing"

"github.com/florianl/go-tc/core"
"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/core"
"github.com/dennisafa/go-tc/internal/unix"
)

func TestFilter(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/unix/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package unix contains some constants, that are needed to use github.com/florianl/go-tc.
// Package unix contains some constants, that are needed to use github.com/dennisafa/go-tc.
// Some of these constants are copied from golang.org/x/sys/unix to make them available also to
// other OS than linux. In the end, the only source of truth will be the Linux kernel itself.
package unix
2 changes: 1 addition & 1 deletion q_pie_linux_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"testing"

"github.com/florianl/go-tc/core"
"github.com/dennisafa/go-tc/core"
"github.com/jsimonetti/rtnetlink"
"golang.org/x/sys/unix"
)
Expand Down
2 changes: 1 addition & 1 deletion qdisc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tc
import (
"fmt"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/mdlayher/netlink"
)

Expand Down
4 changes: 2 additions & 2 deletions qdisc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"errors"
"testing"

"github.com/florianl/go-tc/core"
"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/core"
"github.com/dennisafa/go-tc/internal/unix"

"github.com/mdlayher/netlink"
)
Expand Down
4 changes: 2 additions & 2 deletions ratetable.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"fmt"
"testing"

"github.com/florianl/go-tc/core"
"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/core"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/mdlayher/netlink"
)

Expand Down
2 changes: 1 addition & 1 deletion ratetable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package tc
import (
"testing"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion tc.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"time"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/josharian/native"
"github.com/mdlayher/netlink"
)
Expand Down
2 changes: 1 addition & 1 deletion tc_linux_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net"
"testing"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
)

// Get requests don't need special priviledges
Expand Down
2 changes: 1 addition & 1 deletion tc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/florianl/go-tc/internal/unix"
"github.com/dennisafa/go-tc/internal/unix"
"github.com/google/go-cmp/cmp"
"github.com/mdlayher/netlink"
"github.com/mdlayher/netlink/nltest"
Expand Down

0 comments on commit 28e3966

Please sign in to comment.