Haudegen has joined #mirage
_whitelogger has joined #mirage
_whitelogger has joined #mirage
jnavila has joined #mirage
jnavila has quit [Ping timeout: 246 seconds]
Nikkel has quit [Ping timeout: 264 seconds]
Nikkel has joined #mirage
<
ehirdoy>
I meant, 'raw buffer' in the above.
<
hannes>
(the mirage_solo5_net_read_2 / write)
<
ehirdoy>
@hannes Cool!! Also where can I find the OCaml caller of mirage_solo5_net_read_2?
<
ehirdoy>
freestanding?
<
hannes>
ehirdoy: in mirage-net-solo5, the second URL i posted.
<
hannes>
external solo5_net_read:
<
hannes>
Cstruct.buffer -> int -> int -> solo5_result * int = "mirage_solo5_net_read_2"
<
ehirdoy>
true. I need more coffee ;)
<
apache2>
ehirdoy: pointers are usually not exposed, are you writing C or OCaml?
<
apache2>
from the OCaml side there's Io_page.get_addr
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #mirage
jnavila has joined #mirage
<
ehirdoy>
apache2: I'm passing a Cstruct buffer from 'TCPV4.read flow' to a C function/framework. So there's no way to avoid Cstruct here, then ;)
pie_ has quit [Ping timeout: 240 seconds]
pie_ has joined #mirage
jnavila has quit [Ping timeout: 276 seconds]