MCPcopy Index your code
hub / github.com/F-Stack/f-stack / ff_setsockopt_freebsd

Function ff_setsockopt_freebsd

lib/ff_syscall_wrapper.c:993–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991}
992
993int
994ff_setsockopt_freebsd(int s, int level, int optname,
995 const void *optval, socklen_t optlen)
996{
997 int rc;
998
999 if ((rc = kern_setsockopt(curthread, s, level, optname,
1000 __DECONST(void *, optval), UIO_USERSPACE, optlen)))
1001 goto kern_fail;
1002
1003 return (rc);
1004
1005kern_fail:
1006 ff_os_errno(rc);
1007 return (-1);
1008}
1009
1010int
1011ff_ioctl(int fd, unsigned long request, ...)

Callers 1

handle_ipfw_msgFunction · 0.85

Calls 2

kern_setsockoptFunction · 0.85
ff_os_errnoFunction · 0.85

Tested by

no test coverage detected