summaryrefslogtreecommitdiffstats
path: root/usr.bin/dc/inout.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-10-09 15:16:52 +0000
committermarcel <marcel@FreeBSD.org>2014-10-09 15:16:52 +0000
commit42d9d5479ec3ef6f25f954395919f8bb3d8575b2 (patch)
tree5573bb65506b33e6e4d41089b19436883a7f3e18 /usr.bin/dc/inout.c
parent53ec9839eefdeb35848c51966595f92eb4f8fc19 (diff)
downloadFreeBSD-src-42d9d5479ec3ef6f25f954395919f8bb3d8575b2.zip
FreeBSD-src-42d9d5479ec3ef6f25f954395919f8bb3d8575b2.tar.gz
Move the SCTP syscalls to netinet with the rest of the SCTP code. The
syscalls themselves are tightly coupled with the network stack and therefore should not be in the generic socket code. The following four syscalls have been marked as NOSTD so they can be dynamically registered in sctp_syscalls_init() function: sys_sctp_peeloff sys_sctp_generic_sendmsg sys_sctp_generic_sendmsg_iov sys_sctp_generic_recvmsg The syscalls are also set up to be dynamically registered when COMPAT32 option is configured. As a side effect of moving the SCTP syscalls, getsock_cap needs to be made available outside of the uipc_syscalls.c source file. A proper prototype has been added to the sys/socketvar.h header file. API tests from the SCTP reference implementation have been run to ensure compatibility. (http://code.google.com/p/sctp-refimpl/source/checkout) Submitted by: Steve Kiernan <stevek@juniper.net> Reviewed by: tuexen, rrs Obtained from: Juniper Networks, Inc.
Diffstat (limited to 'usr.bin/dc/inout.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud