Home
last modified time | relevance | path

Searched refs:sctp (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.15/net/sctp/
H A Dsysctl.c98 .data = &init_net.sctp.rto_min,
107 .data = &init_net.sctp.rto_max,
391 sctp.sctp_hmac_alg); in proc_sctp_do_hmac_alg()
448 tbl.data = &net->sctp.rto_min; in proc_sctp_do_rto_min()
455 net->sctp.rto_min = new_value; in proc_sctp_do_rto_min()
476 tbl.data = &net->sctp.rto_max; in proc_sctp_do_rto_max()
483 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max()
545 tbl.data = &net->sctp.udp_port; in proc_sctp_do_udp_port()
560 net->sctp.udp_port = 0; in proc_sctp_do_udp_port()
577 sctp.probe_interval); in proc_sctp_do_probe_interval()
[all …]
H A Dprotocol.c762 &net->sctp.addr_waitq); in sctp_addr_wq_mgmt()
913 net->sctp.udp4_sock = NULL; in sctp_udp_sock_start()
929 if (net->sctp.udp4_sock) { in sctp_udp_sock_stop()
933 if (net->sctp.udp6_sock) { in sctp_udp_sock_stop()
1352 net->sctp.pf_enable = 1; in sctp_defaults_init()
1378 net->sctp.addip_enable = 0; in sctp_defaults_init()
1379 net->sctp.addip_noauth = 0; in sctp_defaults_init()
1389 net->sctp.auth_enable = 0; in sctp_defaults_init()
1392 net->sctp.ecn_enable = 1; in sctp_defaults_init()
1395 net->sctp.udp_port = 0; in sctp_defaults_init()
[all …]
H A DMakefile6 obj-$(CONFIG_IP_SCTP) += sctp.o
9 sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
21 sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
22 sctp-$(CONFIG_PROC_FS) += proc.o
23 sctp-$(CONFIG_SYSCTL) += sysctl.o
25 sctp-$(subst m,y,$(CONFIG_IPV6)) += ipv6.o
H A Dproc.c68 net->sctp.sctp_statistics); in sctp_snmp_seq_show()
378 net->sctp.proc_net_sctp = proc_net_mkdir(net, "sctp", net->proc_net); in sctp_proc_init()
379 if (!net->sctp.proc_net_sctp) in sctp_proc_init()
381 if (!proc_create_net_single("snmp", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
384 if (!proc_create_net("eps", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
387 if (!proc_create_net("assocs", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
390 if (!proc_create_net("remaddr", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
397 net->sctp.proc_net_sctp = NULL; in sctp_proc_init()
H A Dendpointola.c52 ep->asconf_enable = net->sctp.addip_enable; in sctp_endpoint_init()
53 ep->auth_enable = net->sctp.auth_enable; in sctp_endpoint_init()
84 ep->sndbuf_policy = net->sctp.sndbuf_policy; in sctp_endpoint_init()
91 ep->rcvbuf_policy = net->sctp.rcvbuf_policy; in sctp_endpoint_init()
107 ep->prsctp_enable = net->sctp.prsctp_enable; in sctp_endpoint_init()
108 ep->reconf_enable = net->sctp.reconf_enable; in sctp_endpoint_init()
109 ep->ecn_enable = net->sctp.ecn_enable; in sctp_endpoint_init()
H A DKconfig35 module will be called sctp. Debug messages are handled by the
49 'cat /proc/net/sctp/sctp_dbg_objcnt'
56 This option sets the default sctp cookie hmac algorithm
H A Dtransport.c58 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); in sctp_transport_init()
68 peer->pathmaxrxt = net->sctp.max_retrans_path; in sctp_transport_init()
69 peer->pf_retrans = net->sctp.pf_retrans; in sctp_transport_init()
509 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto()
510 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto()
511 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto()
512 + (rtt >> net->sctp.rto_alpha); in sctp_transport_update_rto()
H A Dobjcnt.c102 net->sctp.proc_net_sctp, &sctp_objcnt_seq_ops); in sctp_dbg_objcnt_init()
H A Dipv6.c92 spin_lock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
93 list_add_tail_rcu(&addr->list, &net->sctp.local_addr_list); in sctp_inet6addr_event()
95 spin_unlock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
99 spin_lock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
101 &net->sctp.local_addr_list, list) { in sctp_inet6addr_event()
113 spin_unlock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
H A Dsocket.c368 if (net->sctp.default_auto_asconf) { in sctp_auto_asconf_init()
369 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
371 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
1544 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close()
1554 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_close()
2284 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()
4988 sp->max_burst = net->sctp.max_burst; in sctp_init_sock()
5025 sp->hbinterval = net->sctp.hb_interval; in sctp_init_sock()
5029 sp->pf_retrans = net->sctp.pf_retrans; in sctp_init_sock()
5030 sp->ps_retrans = net->sctp.ps_retrans; in sctp_init_sock()
[all …]
/linux-6.15/net/netfilter/
H A Dnf_conntrack_proto_sctp.c248 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new()
411 ct->proto.sctp.init[dir] = 0; in nf_conntrack_sctp_packet()
412 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
422 ct->proto.sctp.last_dir = dir; in nf_conntrack_sctp_packet()
443 ct->proto.sctp.vtag[!dir] = 0; in nf_conntrack_sctp_packet()
449 old_state = ct->proto.sctp.state; in nf_conntrack_sctp_packet()
469 if (ct->proto.sctp.init[dir] && ct->proto.sctp.init[!dir]) in nf_conntrack_sctp_packet()
470 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
471 ct->proto.sctp.init[dir] = 1; in nf_conntrack_sctp_packet()
496 if (ct->proto.sctp.init[dir] && ct->proto.sctp.init[!dir] && in nf_conntrack_sctp_packet()
[all …]
/linux-6.15/Documentation/security/
H A DSCTP.rst30 @asoc - pointer to sctp association structure.
98 /proc/sys/net/sctp/addip_enable
99 /proc/sys/net/sctp/addip_noauth_enable
117 @asoc - pointer to current sctp association structure.
127 @asoc - pointer to sctp association structure.
208 @asoc - pointer to sctp association structure.
219 Set the sctp ``@asoc sid`` to socket's sid (from ``asoc->base.sk``) with
267 @asoc - pointer to current sctp association structure.
277 @asoc - pointer to sctp association structure.
299 portcon sctp 1024-1036 system_u:object_r:sctp_ports_t:s0
[all …]
/linux-6.15/tools/testing/selftests/net/netfilter/
H A Dconntrack_sctp_collision.sh59 ip net exec "$ROUTER_NS" iptables -A INPUT -p sctp -j DROP
62 modprobe -q sctp
63 ip net exec "$CLIENT_NS" sysctl -wq net.sctp.association_max_retrans=3
/linux-6.15/Documentation/netlink/specs/
H A Dconntrack.yaml71 name: nf-ct-sctp-state
255 name: protoinfo-sctp-attrs
258 name: sctp-state
260 doc: sctp connection state
261 enum: nf-ct-sctp-state
284 name: protoinfo-sctp
286 nested-attributes: protoinfo-sctp-attrs
287 doc: conntrack sctp state information
/linux-6.15/tools/testing/selftests/net/
H A Dsctp_vrf.sh19 modprobe sctp
117 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=1 2>&1 >/dev/null
126 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=0 2>&1 >/dev/null
/linux-6.15/include/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h38 } sctp; member
/linux-6.15/include/net/netns/
H A Dconntrack.h89 struct nf_sctp_net sctp; member
/linux-6.15/net/openvswitch/
H A Dflow.c744 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local
745 key->tp.src = sctp->source; in key_extract_l3l4()
746 key->tp.dst = sctp->dest; in key_extract_l3l4()
867 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local
868 key->tp.src = sctp->source; in key_extract_l3l4()
869 key->tp.dst = sctp->dest; in key_extract_l3l4()
/linux-6.15/include/net/sctp/
H A Dsctp.h207 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field)
208 #define __SCTP_INC_STATS(net, field) __SNMP_INC_STATS((net)->sctp.sctp_statistics, field)
209 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field)
/linux-6.15/include/trace/events/
H A Dsctp.h3 #define TRACE_SYSTEM sctp
/linux-6.15/Documentation/networking/
H A Dindex.rst110 sctp
H A Dsctp.rst42 <linux-sctp@vger.kernel.org>
/linux-6.15/net/
H A DMakefile46 obj-$(CONFIG_IP_SCTP) += sctp/
/linux-6.15/usr/include/
H A DMakefile39 no-header-test += linux/sctp.h
/linux-6.15/include/net/netfilter/
H A Dnf_conntrack_tuple.h61 } sctp; member

12