| /freebsd-13.1/sys/netinet/ |
| H A D | sctp_module.c | 61 .pr_protocol = IPPROTO_SCTP, 73 .pr_protocol = IPPROTO_SCTP, 89 .pr_protocol = IPPROTO_SCTP, 102 .pr_protocol = IPPROTO_SCTP, 127 error = ipproto_register(IPPROTO_SCTP); in sctp_module_load() 138 error = ip6proto_register(IPPROTO_SCTP); in sctp_module_load() 155 (void)ipproto_unregister(IPPROTO_SCTP); in sctp_module_unload() 156 (void)pf_proto_unregister(PF_INET, IPPROTO_SCTP, SOCK_STREAM); in sctp_module_unload() 157 (void)pf_proto_unregister(PF_INET, IPPROTO_SCTP, SOCK_SEQPACKET); in sctp_module_unload() 160 (void)ip6proto_unregister(IPPROTO_SCTP); in sctp_module_unload() [all …]
|
| H A D | in_proto.c | 148 .pr_protocol = IPPROTO_SCTP, 160 .pr_protocol = IPPROTO_SCTP, 324 SYSCTL_NODE(_net_inet, IPPROTO_SCTP, sctp, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
| H A D | sctp_syscalls.c | 161 if (head->so_proto->pr_protocol != IPPROTO_SCTP) { 267 if (so->so_proto->pr_protocol != IPPROTO_SCTP) { 383 if (so->so_proto->pr_protocol != IPPROTO_SCTP) { 490 if (so->so_proto->pr_protocol != IPPROTO_SCTP) {
|
| H A D | sctp_constants.h | 848 #ifndef IPPROTO_SCTP 849 #define IPPROTO_SCTP 132 /* the Official IANA number :-) */ macro
|
| /freebsd-13.1/lib/libc/net/ |
| H A D | sctp_sys_calls.c | 600 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendmsg() 627 if (getsockopt(sd, IPPROTO_SCTP, in sctp_getassocid() 667 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_send() 1024 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendv() 1038 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendv() 1051 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendv() 1066 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendv() 1075 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendv() 1083 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendv() 1114 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendv() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/bio/ |
| H A D | bss_dgram.c | 844 setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, in BIO_new_dgram_sctp() 854 setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, in BIO_new_dgram_sctp() 910 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENT, &event, in BIO_new_dgram_sctp() 927 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, in BIO_new_dgram_sctp() 1045 if (cmsg->cmsg_level != IPPROTO_SCTP) in dgram_sctp_read() 1293 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write() 1306 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write() 1316 cmsg->cmsg_level = IPPROTO_SCTP; in dgram_sctp_write() 1394 setsockopt(b->num, IPPROTO_SCTP, SCTP_NODELAY, in dgram_sctp_ctrl() 1634 setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENT, &event, in BIO_dgram_sctp_wait_for_dry() [all …]
|
| /freebsd-13.1/contrib/capsicum-test/ |
| H A D | sctp.cc | 25 int sock = socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in SctpClient() 63 int sock = socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in TEST() 136 EXPECT_NOTCAPABLE(setsockopt(cap_sock_rw, IPPROTO_SCTP, SCTP_EVENTS, &events, sizeof(events))); in TEST() 138 EXPECT_NOTCAPABLE(getsockopt(cap_sock_rw, IPPROTO_SCTP, SCTP_EVENTS, &events, &len)); in TEST() 142 EXPECT_OK(setsockopt(cap_sock_all, IPPROTO_SCTP, SCTP_EVENTS, &events, sizeof(events))); in TEST() 144 EXPECT_OK(getsockopt(cap_sock_all, IPPROTO_SCTP, SCTP_EVENTS, &events, &len)); in TEST()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | ipproto.h | 141 #ifndef IPPROTO_SCTP 142 #define IPPROTO_SCTP 132 macro
|
| H A D | print-ip6.c | 290 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) { in ip6_print() 338 case IPPROTO_SCTP: in ip6_print()
|
| H A D | ipproto.c | 51 { IPPROTO_SCTP, "SCTP" },
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
| H A D | tst.ipv4remotesctp.ksh | 91 args[4]->ipv4_protocol == IPPROTO_SCTP/ 104 args[4]->ipv4_protocol == IPPROTO_SCTP/
|
| H A D | tst.remotesctpstate.ksh | 95 args[4]->ipv4_protocol == IPPROTO_SCTP/ 109 args[4]->ipv4_protocol == IPPROTO_SCTP/
|
| H A D | tst.ipv4localsctp.ksh | 114 args[4]->ipv4_protocol == IPPROTO_SCTP/ 127 args[4]->ipv4_protocol == IPPROTO_SCTP/
|
| H A D | tst.localsctpstate.ksh | 117 args[4]->ipv4_protocol == IPPROTO_SCTP/ 131 args[4]->ipv4_protocol == IPPROTO_SCTP/
|
| /freebsd-13.1/contrib/apr/network_io/unix/ |
| H A D | sockopt.c | 233 if (sock->protocol == IPPROTO_SCTP) { in apr_socket_opt_set() 234 optlevel = IPPROTO_SCTP; in apr_socket_opt_set() 269 if (sock->protocol == IPPROTO_SCTP) { in apr_socket_opt_set() 270 optlevel = IPPROTO_SCTP; in apr_socket_opt_set()
|
| /freebsd-13.1/cddl/lib/libdtrace/ |
| H A D | ip.d | 166 #pragma D binding "1.5" IPPROTO_SCTP 167 inline short IPPROTO_SCTP = 132; variable 197 proto == IPPROTO_SCTP ? "SCTP" :
|
| /freebsd-13.1/sys/netinet/libalias/ |
| H A D | alias_sctp.h | 98 #define LINK_SCTP IPPROTO_SCTP
|
| /freebsd-13.1/usr.sbin/traceroute6/ |
| H A D | traceroute6.c | 533 useproto = IPPROTO_SCTP; in main() 582 case IPPROTO_SCTP: in main() 678 case IPPROTO_SCTP: in main() 697 if ((useproto == IPPROTO_SCTP) && (datalen & 3)) { in main() 1127 case IPPROTO_SCTP: in send_probe() 1408 case IPPROTO_SCTP: in packet_ok() 1507 case IPPROTO_SCTP: in get_uphdr()
|
| /freebsd-13.1/usr.bin/sockstat/ |
| H A D | sockstat.c | 347 sock->proto = IPPROTO_SCTP; in gather_sctp() 451 sock->proto = IPPROTO_SCTP; in gather_sctp() 1105 ((s->proto == IPPROTO_SCTP && in displaysock() 1121 s->proto == IPPROTO_SCTP && in displaysock() 1134 if (s->proto == IPPROTO_SCTP || in displaysock() 1139 case IPPROTO_SCTP: in displaysock() 1422 if (protos[i] == IPPROTO_SCTP) in main()
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | in6_proto.c | 185 .pr_protocol = IPPROTO_SCTP, 199 .pr_protocol = IPPROTO_SCTP, 427 SYSCTL_NODE(_net_inet6, IPPROTO_SCTP, sctp6, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | s_socket.c | 132 if (protocol == IPPROTO_SCTP) { in init_client() 276 if (protocol == IPPROTO_SCTP) { in do_server()
|
| /freebsd-13.1/usr.bin/procstat/ |
| H A D | procstat_files.c | 69 case IPPROTO_SCTP: in protocol_to_string() 557 sock.proto == IPPROTO_SCTP || in procstat_files()
|
| /freebsd-13.1/sbin/ipfw/ |
| H A D | nat.c | 270 return IPPROTO_SCTP; in StrToProto() 443 if (r->proto == IPPROTO_SCTP) { in setup_redir_port() 478 if (r->proto == IPPROTO_SCTP) { /* so the logic below still works */ in setup_redir_port() 538 if (r->proto == IPPROTO_SCTP) { in setup_redir_port()
|
| /freebsd-13.1/sys/kern/ |
| H A D | uipc_mbufhash.c | 115 case IPPROTO_SCTP: in m_tcpip_hash()
|
| /freebsd-13.1/sys/netpfil/ipfw/ |
| H A D | ip_fw2.c | 576 ip->ip_p = IPPROTO_SCTP; in ipfw_send_abort() 589 ip6->ip6_nxt = IPPROTO_SCTP; in ipfw_send_abort() 907 args->f_id.proto == IPPROTO_SCTP) { in send_reject6() 1025 args->f_id.proto == IPPROTO_SCTP) { in send_reject() 1564 case IPPROTO_SCTP: in ipfw_chk() 1751 case IPPROTO_SCTP: in ipfw_chk() 2082 proto != IPPROTO_SCTP) in ipfw_chk() 2244 proto == IPPROTO_SCTP) && offset == 0) { in ipfw_chk()
|