MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / ssockopt

Function ssockopt

g2all/900/lapse.js:420–427  ·  view source on GitHub ↗
(sd, level, optname, optval, optlen)

Source from the content-addressed store, hash-verified

418}
419
420function ssockopt(sd, level, optname, optval, optlen) {
421 if (optlen === undefined) {
422 optlen = optval.size;
423 }
424
425 const addr = optval.addr;
426 setsockopt(sd, level, optname, addr, optlen);
427}
428
429function get_rthdr(sd, buf, len) {
430 return gsockopt(sd, IPPROTO_IPV6, IPV6_RTHDR, buf, len);

Callers 8

set_rthdrFunction · 0.70
double_free_reqs2Function · 0.70
make_aliased_pktoptsFunction · 0.70
kread64Function · 0.70
make_kernel_arwFunction · 0.70
copyinMethod · 0.70
copyoutMethod · 0.70
_readMethod · 0.70

Calls 1

setsockoptFunction · 0.70

Tested by

no test coverage detected