MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rt_setsockopt

Function rt_setsockopt

tools/compat/rtioctl.c:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57int
58rt_setsockopt(int sockfd, int level, int optname,
59 const void *optval, socklen_t optlen)
60{
61 if (level == SOL_SOCKET && optname == SO_SETFIB) {
62 rt_sofib = *(int *)optval;
63 }
64 return 0;
65}
66
67void
68rt_close(int fd)

Callers 1

set_sofibFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected