this repo has no description
1opam-version: "2.0" 2maintainer: "Christiano F. Haesbaert <haesbaert@haesbaert.org>" 3authors: "Christiano F. Haesbaert <haesbaert@haesbaert.org>" 4license: "ISC" 5homepage: "https://github.com/haesbaert/rawlink" 6bug-reports: "https://github.com/haesbaert/rawlink/issues" 7dev-repo: "git+https://github.com/haesbaert/rawlink.git" 8doc: "https://haesbaert.github.io/rawlink/" 9build: [ 10 [ "dune" "subst" ] {dev} 11 [ "dune" "build" "-p" name "-j" jobs ] ] 12depends: [ 13 "ocaml" {>= "4.09.0"} 14 "dune" {>= "3.2"} 15 "cstruct" {>= "6.1.0"} 16 "ppx_cstruct" 17] 18depexts: [ 19 ["linux-headers"] {os-distribution = "alpine"} 20] 21synopsis: "Portable library to read and write raw packets" 22description: """ 23Rawlink is an ocaml library for sending and receiving raw packets at the link 24layer level. Sometimes you need to have full control of the packet, including 25building the full ethernet frame. 26 27The API is platform independent, it uses BPF on real UNIXes and AF_SOCKET on 28linux. Some functionality is sacrificed so that the API is portable enough. 29 30Currently BPF and AF_PACKET are implemented, including filtering capabilities. 31Writing a BPF program is a pain in the ass, so no facilities are provided for 32it. If you need a BPF filter, I suggest you write a small .c file with a 33function that returns the BPF program as a string, check `rawlink_stubs.c` for 34an example. 35""" 36url { 37 src: 38 "https://github.com/haesbaert/rawlink/releases/download/v2.1/rawlink-2.1.tbz" 39 checksum: [ 40 "sha256=046b9450e71bb13f2d44efcd49e5ce75850d38bf2bf53da9e62fd96a51b386ce" 41 "sha512=9445a8362f68dcad827bbbf7e5583f2c3986c496dcfc8edc4a270824ad3ff97b3caca3e6c925924913a42cbd86adee91719922e979728056b11ec36e87054846" 42 ] 43} 44x-commit-hash: "b97abd0505b457842b901296dfb002691c4af637"