diff options
-rw-r--r-- | pkg/ipstack/ipstack.go | 13 | ||||
-rwxr-xr-x | vhost | bin | 3105122 -> 0 bytes | |||
-rwxr-xr-x | vrouter | bin | 3105138 -> 0 bytes |
3 files changed, 12 insertions, 1 deletions
diff --git a/pkg/ipstack/ipstack.go b/pkg/ipstack/ipstack.go index 983ef5c..0cea26f 100644 --- a/pkg/ipstack/ipstack.go +++ b/pkg/ipstack/ipstack.go @@ -1,4 +1,15 @@ package ipstack +// code begins on line 96 after imports, constants, and structs definitions +// This class is divided as follows: +// 1) INIT FUNCTIONS +// 2) DOWN/UP FUNCTIONS +// 3) GETTER FUNCTIONS +// 4) PRINT FUNCTIONS +// 5) BASIC FUNCTIONS +// 6) PROTOCOL HANDLERS +// 7) CHECKSUM FUNCTIONS +// 8) HELPERS + import ( "encoding/binary" @@ -936,7 +947,7 @@ func ValidateChecksum(b []byte, fromHeader uint16) uint16 { return checksum } -// ******************************************* RIP HELPERS ********************************************************** +// *********************************************** HELPERS ********************************************************** // Route returns the next HOP, based on longest prefix match for a given ip func Route(src netip.Addr) (Hop, error) { Binary files differdiff --git a/vrouter b/vrouter Binary files differdeleted file mode 100755 index 97ea68a..0000000 --- a/vrouter +++ /dev/null |