ipv4_common.ml
tcpip
tcpip.icmpv4
tcpip.icmpv4-socket
tcpip.ipv4
tcpip.ipv6
tcpip.stack-direct
tcpip.stack-socket
tcpip.tcp
tcpip.tcp_socket_options
tcpip.tcpv4-socket
tcpip.tcpv4v6-socket
tcpip.tcpv6-socket
tcpip.udp
tcpip.udpv4-socket
tcpip.udpv4v6-socket
tcpip.udpv6-socket
tcpip.unix
1 2 3 4 5 6 let set_checksum buf = let open Ipv4_wire in (* Set the mutable values in the ipv4 header *) set_ipv4_csum buf 0; let checksum = Tcpip_checksum.ones_complement buf in set_ipv4_csum buf checksum
1 2 3 4 5 6
let set_checksum buf = let open Ipv4_wire in (* Set the mutable values in the ipv4 header *) set_ipv4_csum buf 0; let checksum = Tcpip_checksum.ones_complement buf in set_ipv4_csum buf checksum