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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id D85BF7EE4B for ; Fri, 18 Oct 2013 13:59:56 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of anil@recoil.org) identity=pra; client-ip=89.16.177.154; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="avsm@dark.recoil.org"; x-sender="anil@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of avsm@dark.recoil.org) identity=mailfrom; client-ip=89.16.177.154; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="avsm@dark.recoil.org"; x-sender="avsm@dark.recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@dark.recoil.org) identity=helo; client-ip=89.16.177.154; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="avsm@dark.recoil.org"; x-sender="postmaster@dark.recoil.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcBAOAhYVJZELGal2dsb2JhbABagz+qX5VLDgEBAQEBCBYHPIIlAQEFOj8QCxgJJQ8FXIgKwGGPc4QTA5gIAYEvk307 X-IPAS-Result: AtcBAOAhYVJZELGal2dsb2JhbABagz+qX5VLDgEBAQEBCBYHPIIlAQEFOj8QCxgJJQ8FXIgKwGGPc4QTA5gIAYEvk307 X-IronPort-AV: E=Sophos;i="4.93,522,1378850400"; d="scan'208";a="37647153" Received: from recoil.dh.bytemark.co.uk (HELO dark.recoil.org) ([89.16.177.154]) by mail2-smtp-roc.national.inria.fr with SMTP; 18 Oct 2013 13:59:54 +0200 Received: (qmail 24407 invoked by uid 10000); 18 Oct 2013 11:59:55 -0000 Date: Fri, 18 Oct 2013 12:59:55 +0100 From: Anil Madhavapeddy To: rixed@happyleptic.org Cc: OCaml Mailing List Message-ID: <20131018115955.GG25839@dark.recoil.org> References: <20131018115553.GA28679@ombreroze.happyleptic.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131018115553.GA28679@ombreroze.happyleptic.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] IPv6 packet parsing On Fri, Oct 18, 2013 at 01:55:53PM +0200, rixed@happyleptic.org wrote: > IPv6 is on the TODO list for robinet[1], a small lib that parse > network traffic (with the help of bitstring which was already > suggested). It's hard to tell if this small library fits your use > case but if it does I'd gladly add support for IPv6. > > [1]: https://github.com/rixed/RobiNet One feature I'd really like to see in Bitstring is support for Bigarray, since that avoids a copy into the OCaml heap and lets us do quite high performance parsing. If I remember right, there was a patch on the Bitstring issue tracker, but it wasn't parameterised (so it's either Bistring+string or Bitstring+bigarray, which isn't ideal). -- Anil Madhavapeddy http://anil.recoil.org