From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id CE7527EE4B for ; Fri, 18 Oct 2013 07:33:35 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of steph@glondu.net) identity=pra; client-ip=138.231.136.39; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="steph@glondu.net"; x-sender="steph@glondu.net"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of steph@glondu.net) identity=mailfrom; client-ip=138.231.136.39; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="steph@glondu.net"; x-sender="steph@glondu.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@redisdead.crans.org designates 138.231.136.39 as permitted sender) identity=helo; client-ip=138.231.136.39; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="steph@glondu.net"; x-sender="postmaster@redisdead.crans.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8BAO7GYFKK54gnl2dsb2JhbABagz+De7pugSkWDgEBAQEBCBYHPIImAQUjVRELGgIFFgsCAgkDAgECAUUTCAKIAgQIriCSMQSBKY4vFoJUgT8DmAmGO45y X-IPAS-Result: Ao8BAO7GYFKK54gnl2dsb2JhbABagz+De7pugSkWDgEBAQEBCBYHPIImAQUjVRELGgIFFgsCAgkDAgECAUUTCAKIAgQIriCSMQSBKY4vFoJUgT8DmAmGO45y X-IronPort-AV: E=Sophos;i="4.93,520,1378850400"; d="scan'208";a="30815696" Received: from redisdead.crans.org ([138.231.136.39]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 18 Oct 2013 07:33:35 +0200 Received: from [10.125.1.2] (fbx.up7.fr [81.56.96.177]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by redisdead.crans.org (Postfix) with ESMTPSA id B5E85228F for ; Fri, 18 Oct 2013 07:33:33 +0200 (CEST) Message-ID: <5260C82C.9070904@glondu.net> Date: Fri, 18 Oct 2013 07:33:32 +0200 From: =?UTF-8?B?U3TDqXBoYW5lIEdsb25kdQ==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: caml-list@inria.fr References: In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: id=49881AD3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] IPv6 packet parsing Le 18/10/2013 06:15, Johan Mazel a =C3=A9crit : > I am aware of several implementation for IPv4 packet parsing > (ocaml-packet, melange, promiwag and maybe others that I missed). > However, up to my knowledge, none of these implementations offer IPv6 > parsing functionnalities. > I would like to know if there is anything available ? Using bitstring makes parsing binary structures such as IPv6 (and IPv4) packets easy: https://github.com/glondu/netacct-crans/blob/master/netacct-crans.ml Cheers, --=20 St=C3=A9phane