package tcpip
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  OCaml TCP/IP networking stack, used in MirageOS
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      tcpip-9.0.1.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=fac07ce986811cf5e3d71373d92b631cc30fbef548d6da21b0917212dcf90b03
    
    
  sha512=01de13f560d58b1524c39619e4e4cb6ebbf069155eb43d0f264aa12b00e0cc8c39792719e3ca46585dd596b692b8e1e3f8c132f005ed9e2d77747c0c158bf4d9
    
    
  doc/src/tcpip.udp/udp_wire.ml.html
Source file udp_wire.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18let sizeof_udp = 8 let src_port_offset = 0 let dst_port_offset = 2 let length_offset = 4 let checksum_offset = 6 let get_src_port buf = Cstruct.BE.get_uint16 buf src_port_offset let set_src_port buf v = Cstruct.BE.set_uint16 buf src_port_offset v let get_dst_port buf = Cstruct.BE.get_uint16 buf dst_port_offset let set_dst_port buf v = Cstruct.BE.set_uint16 buf dst_port_offset v let get_length buf = Cstruct.BE.get_uint16 buf length_offset let set_length buf v = Cstruct.BE.set_uint16 buf length_offset v let get_checksum buf = Cstruct.BE.get_uint16 buf checksum_offset let set_checksum buf value = Cstruct.BE.set_uint16 buf checksum_offset value
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >