Home
last modified time | relevance | path

Searched refs:IPPROTO_SCTP (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-13.1/sys/netinet/
H A Dsctp_module.c61 .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 Din_proto.c148 .pr_protocol = IPPROTO_SCTP,
160 .pr_protocol = IPPROTO_SCTP,
324 SYSCTL_NODE(_net_inet, IPPROTO_SCTP, sctp, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
H A Dsctp_syscalls.c161 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 Dsctp_constants.h848 #ifndef IPPROTO_SCTP
849 #define IPPROTO_SCTP 132 /* the Official IANA number :-) */ macro
/freebsd-13.1/lib/libc/net/
H A Dsctp_sys_calls.c600 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 Dbss_dgram.c844 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 Dsctp.cc25 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 Dipproto.h141 #ifndef IPPROTO_SCTP
142 #define IPPROTO_SCTP 132 macro
H A Dprint-ip6.c290 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) { in ip6_print()
338 case IPPROTO_SCTP: in ip6_print()
H A Dipproto.c51 { IPPROTO_SCTP, "SCTP" },
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4remotesctp.ksh91 args[4]->ipv4_protocol == IPPROTO_SCTP/
104 args[4]->ipv4_protocol == IPPROTO_SCTP/
H A Dtst.remotesctpstate.ksh95 args[4]->ipv4_protocol == IPPROTO_SCTP/
109 args[4]->ipv4_protocol == IPPROTO_SCTP/
H A Dtst.ipv4localsctp.ksh114 args[4]->ipv4_protocol == IPPROTO_SCTP/
127 args[4]->ipv4_protocol == IPPROTO_SCTP/
H A Dtst.localsctpstate.ksh117 args[4]->ipv4_protocol == IPPROTO_SCTP/
131 args[4]->ipv4_protocol == IPPROTO_SCTP/
/freebsd-13.1/contrib/apr/network_io/unix/
H A Dsockopt.c233 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 Dip.d166 #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 Dalias_sctp.h98 #define LINK_SCTP IPPROTO_SCTP
/freebsd-13.1/usr.sbin/traceroute6/
H A Dtraceroute6.c533 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 Dsockstat.c347 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 Din6_proto.c185 .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 Ds_socket.c132 if (protocol == IPPROTO_SCTP) { in init_client()
276 if (protocol == IPPROTO_SCTP) { in do_server()
/freebsd-13.1/usr.bin/procstat/
H A Dprocstat_files.c69 case IPPROTO_SCTP: in protocol_to_string()
557 sock.proto == IPPROTO_SCTP || in procstat_files()
/freebsd-13.1/sbin/ipfw/
H A Dnat.c270 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 Duipc_mbufhash.c115 case IPPROTO_SCTP: in m_tcpip_hash()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw2.c576 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()

123