this repo has no description

Merge pull request #21208 from haesbaert/release-rawlink-v1.2

[new release] rawlink (1.2)

Changed files
+45
packages
rawlink
rawlink.1.2
+45
packages/rawlink/rawlink.1.2/opam
···
+
opam-version: "2.0"
+
maintainer: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
+
authors: "Christiano F. Haesbaert <haesbaert@haesbaert.org>"
+
license: "ISC"
+
homepage: "https://github.com/haesbaert/rawlink"
+
bug-reports: "https://github.com/haesbaert/rawlink/issues"
+
dev-repo: "git+https://github.com/haesbaert/rawlink.git"
+
doc: "https://haesbaert.github.io/rawlink/"
+
build: [
+
[ "dune" "subst" ] {dev}
+
[ "dune" "build" "-p" name "-j" jobs ] ]
+
depends: [
+
"ocaml" {>= "4.03.0"}
+
"dune"
+
"lwt" {>= "2.4.7"}
+
"cstruct" {>= "6.1.0"}
+
"ppx_cstruct"
+
]
+
depexts: [
+
["linux-headers"] {os-distribution = "alpine"}
+
]
+
synopsis: "Portable library to read and write raw packets"
+
description: """
+
Rawlink is an ocaml library for sending and receiving raw packets at the link
+
layer level. Sometimes you need to have full control of the packet, including
+
building the full ethernet frame.
+
+
The API is platform independent, it uses BPF on real UNIXes and AF_SOCKET on
+
linux. Some functionality is sacrificed so that the API is portable enough.
+
+
Currently BPF and AF_PACKET are implemented, including filtering capabilities.
+
Writing a BPF program is a pain in the ass, so no facilities are provided for
+
it. If you need a BPF filter, I suggest you write a small .c file with a
+
function that returns the BPF program as a string, check `rawlink_stubs.c` for
+
an example.
+
"""
+
url {
+
src:
+
"https://github.com/haesbaert/rawlink/releases/download/v1.2/rawlink-1.2.tbz"
+
checksum: [
+
"sha256=a712be95f636466536327fd92ce476fb72a4e06e1b82a85d5b471db8289a91e4"
+
"sha512=006a1d57b6e3093c929d0c1d3a53075059d0a35196eebb0b2f444aab3c7492a86befe22de700d40fb479a789470bfe4b1e8b83f02c878cf85b1b5b9d67778aad"
+
]
+
}
+
x-commit-hash: "276729fa02c22c0a1dc747e2ab5d7cc0926ebdaa"