Home
last modified time | relevance | path

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

12

/linux/net/sctp/
A Dsysctl.c98 .data = &init_net.sctp.rto_min,
107 .data = &init_net.sctp.rto_max,
152 .data = &init_net.sctp.rto_beta,
447 tbl.data = &net->sctp.rto_min; in proc_sctp_do_rto_min()
454 net->sctp.rto_min = new_value; in proc_sctp_do_rto_min()
475 tbl.data = &net->sctp.rto_max; in proc_sctp_do_rto_max()
482 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max()
542 tbl.data = &net->sctp.udp_port; in proc_sctp_do_udp_port()
551 net->sctp.udp_port = new_value; in proc_sctp_do_udp_port()
556 net->sctp.udp_port = 0; in proc_sctp_do_udp_port()
[all …]
A Dprotocol.c747 &net->sctp.addr_waitq); in sctp_addr_wq_mgmt()
898 net->sctp.udp4_sock = NULL; in sctp_udp_sock_start()
914 if (net->sctp.udp4_sock) { in sctp_udp_sock_stop()
918 if (net->sctp.udp6_sock) { in sctp_udp_sock_stop()
1337 net->sctp.pf_enable = 1; in sctp_defaults_init()
1363 net->sctp.addip_enable = 0; in sctp_defaults_init()
1364 net->sctp.addip_noauth = 0; in sctp_defaults_init()
1374 net->sctp.auth_enable = 0; in sctp_defaults_init()
1377 net->sctp.ecn_enable = 1; in sctp_defaults_init()
1380 net->sctp.udp_port = 0; in sctp_defaults_init()
[all …]
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
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()
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()
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
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()
507 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto()
508 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto()
509 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto()
510 + (rtt >> net->sctp.rto_alpha); in sctp_transport_update_rto()
A Dobjcnt.c102 net->sctp.proc_net_sctp, &sctp_objcnt_seq_ops); in sctp_dbg_objcnt_init()
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()
A Dsocket.c367 if (net->sctp.default_auto_asconf) { in sctp_auto_asconf_init()
368 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
370 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
1543 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close()
1553 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_close()
2283 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()
4987 sp->max_burst = net->sctp.max_burst; in sctp_init_sock()
5024 sp->hbinterval = net->sctp.hb_interval; in sctp_init_sock()
5028 sp->pf_retrans = net->sctp.pf_retrans; in sctp_init_sock()
5029 sp->ps_retrans = net->sctp.ps_retrans; in sctp_init_sock()
[all …]
/linux/net/netfilter/
A Dnf_conntrack_proto_sctp.c253 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new()
416 ct->proto.sctp.init[dir] = 0; in nf_conntrack_sctp_packet()
417 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
427 ct->proto.sctp.last_dir = dir; in nf_conntrack_sctp_packet()
448 ct->proto.sctp.vtag[!dir] = 0; in nf_conntrack_sctp_packet()
454 old_state = ct->proto.sctp.state; in nf_conntrack_sctp_packet()
474 if (ct->proto.sctp.init[dir] && ct->proto.sctp.init[!dir]) in nf_conntrack_sctp_packet()
475 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
476 ct->proto.sctp.init[dir] = 1; in nf_conntrack_sctp_packet()
501 if (ct->proto.sctp.init[dir] && ct->proto.sctp.init[!dir] && in nf_conntrack_sctp_packet()
[all …]
/linux/Documentation/security/
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/tools/testing/selftests/net/netfilter/
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
A Dnft_queue.sh30 modprobe -q sctp
427 sctp dport 12345 queue num 10
458 sctp dport 12345 queue num 11
/linux/tools/testing/selftests/net/
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/include/uapi/linux/netfilter/
A Dnf_conntrack_tuple_common.h38 } sctp; member
/linux/include/net/netns/
A Dconntrack.h89 struct nf_sctp_net sctp; member
/linux/net/openvswitch/
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/include/net/sctp/
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/include/trace/events/
A Dsctp.h3 #define TRACE_SYSTEM sctp
/linux/Documentation/networking/
A Dindex.rst107 sctp
A Dsctp.rst42 <linux-sctp@vger.kernel.org>
/linux/net/
A DMakefile46 obj-$(CONFIG_IP_SCTP) += sctp/
/linux/include/net/netfilter/
A Dnf_conntrack_tuple.h61 } sctp; member
/linux/usr/include/
A DMakefile39 no-header-test += linux/sctp.h

Completed in 63 milliseconds

12