File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
33## Unreleased
4+
5+ ## v1.0.0
6+
7+ - Initial stable commit! The API is mostly a direct translation of the previous
8+ ` github.com/mdlayher/raw ` package APIs, with some updates to make everything
9+ focused explicitly on Linux and ` AF_PACKET ` sockets. Functionally, the two
10+ packages are equivalent, and ` *raw.Conn ` is now backed by ` *packet.Conn ` in
11+ the latest version of the ` raw ` package.
Original file line number Diff line number Diff line change @@ -13,3 +13,21 @@ Go 1.12+. Older versions of Go lack critical features and APIs which are
1313necessary for this package to function correctly.
1414
1515** If you depend on this package in your applications, please use Go modules.**
16+
17+ ## History
18+
19+ One of my first major Go networking projects was
20+ [ ` github.com/mdlayher/raw ` ] ( https://github.com/mdlayher/raw ) , which provided
21+ access to Linux ` AF_PACKET ` sockets and * BSD equivalent mechanisms for sending
22+ and receiving Ethernet frames. However, the * BSD support languished and I lack
23+ the expertise and time to properly maintain code for operating systems I do not
24+ use on a daily basis.
25+
26+ Package ` packet ` is a successor to package ` raw ` , but exclusively focused on
27+ Linux and ` AF_PACKET ` sockets. The APIs are nearly identical, but with a few
28+ changes which take into account some of the lessons learned while working on
29+ ` raw ` .
30+
31+ Users are highly encouraged to migrate any existing Linux uses of ` raw ` to
32+ package ` packet ` instead. This package will be supported for the foreseeable
33+ future and will receive continued updates as necessary.
You can’t perform that action at this time.
0 commit comments