Package maintainers and Hackage trustees are allowed to edit certain bits
of package metadata after a release, without uploading a new tarball.
Note that the tarball itself is never changed, just the metadata that is
stored separately. For more information about metadata revisions, please
refer to the
Hackage Metadata Revisions FAQ.
No. |
Time |
User |
SHA256 |
-r2 (network-packet-linux-0.1.0.0-r2) |
2021-03-13T17:36:14Z |
rolsdorph |
8b100135cdd7d5c676dddad50a5a9b979bfd05f1043ae5225a47de3bbe506c70
|
|
Changed description
from @network-packet-linux@ makes it possible to use
the [network package](https://hackage.haskell.org/package/network)
with Linux packet sockets. Packet sockets are described
in [packet (7)](https://man7.org/linux/man-pages/man7/packet.7.html).
=== Usage
Combine functions from "Network.Socket.Address" with types from "Network.Socket.Linux" in order to
work with packet sockets.
See the "Network.Socket.Linux" module documentation or @examples/ListenToInterface.hs@ for an example.
=== About the package
As of version 3.0.0, the @network@ package provides a socket API that is
implemented in terms of the 'SocketAddress' typeclass.
@network-packet-linux@ provides 'SockAddrLl', a 'SocketAddress' instance
that corresponds to the @sockaddr_ll@ struct from @\<linux/if_packet.h\>@.
Additionally, @network-packet-linux@ provides some convenience types:
'ProtocolId' (an enumeration of the Ethernet protocol IDs defined in
@\<linux/if_ether.h\>@) and 'PacketType' (enumerating the packet types
defined in @\<linux/if_packet.h\>@).
__Hackage note__: The false dependency on `vendored-network` is an annoying
side effect of the way we pull in `network` files. Ideally the dependency
on `network` files should be an internal cabal library, but internal
libraries aren't supported for the build style we need.
to @network-packet-linux@ makes it possible to use
the [network package](https://hackage.haskell.org/package/network)
with Linux packet sockets. Packet sockets are described
in [packet (7)](https://man7.org/linux/man-pages/man7/packet.7.html).
=== Usage
Combine functions from [Network.Socket.Address](https://hackage.haskell.org/package/network/docs/Network-Socket-Address.html#g:2) with types from "Network.Socket.Linux" in order to
work with packet sockets.
See the "Network.Socket.Linux" module documentation or @examples/ListenToInterface.hs@ for an example.
=== About the package
As of version 3.0.0, the @network@ package provides a socket API that is
implemented in terms of the 'SocketAddress' typeclass.
@network-packet-linux@ provides 'SockAddrLl', a 'SocketAddress' instance
that corresponds to the @sockaddr_ll@ struct from @\<linux/if_packet.h\>@.
Additionally, @network-packet-linux@ provides some convenience types:
'ProtocolId' (an enumeration of the Ethernet protocol IDs defined in
@\<linux/if_ether.h\>@) and 'PacketType' (enumerating the packet types
defined in @\<linux/if_packet.h\>@).
__Hackage note__: The false dependency on `vendored-network` is an annoying
side effect of the way we pull in `network` files. Ideally the dependency
on `network` files should be an internal cabal library, but internal
libraries aren't supported for the build style we need.
|
-r1 (network-packet-linux-0.1.0.0-r1) |
2021-03-13T17:26:33Z |
rolsdorph |
409a497bbea990559150c08948ae4a106c7e7bba54bf5afea6c5f841d49eab2d
|
|
Changed author
Mads Rolsdorph
|
-r0 (network-packet-linux-0.1.0.0-r0) |
2021-03-13T17:23:36Z |
rolsdorph |
1172ac8b3cab0c22326400a8775a18b6c432dcf01aa32cff2d76ad4a8b79e81e
|
|
|