12345678910111213141516171819202122232425262728293031323334353637383940(*
* Copyright (c) 2014 Anil Madhavapeddy <anil@recoil.org>
* Copyright (c) 2014 Nicolas Ojeda Bar <n.oje.bar@gmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)typet=unittypeerror=Tcpip.Ip.errortypeipaddr=Ipaddr.V6.ttypecallback=src:ipaddr->dst:ipaddr->Cstruct.t->unitLwt.ttypeprefix=Ipaddr.V6.Prefix.tletpp_error=Tcpip.Ip.pp_errorletpp_ipaddr=Ipaddr.V6.ppletpp_prefix=Ipaddr.V6.Prefix.ppletmtu_~dst:_=1500-Ipv6_wire.sizeof_ipv6letdisconnect()=Lwt.return_unitletconnect()=Lwt.return_unitletinput_~tcp:_~udp:_~default:__=Lwt.return_unitletwrite_?fragment:_?ttl:_?src:___?size:___=Lwt.fail(Failure"Not implemented")letget_ip_=[Ipaddr.V6.unspecified]letconfigured_ips_=[Ipaddr.V6.Prefix.of_string_exn"::/0"]letsrc_~dst:_=raise(Failure"Not implemented")letpseudoheader_?src:____=raise(Failure"Not implemented")