Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/sctp/
Dsysctl.c106 .data = &init_net.sctp.rto_initial,
115 .data = &init_net.sctp.rto_min,
120 .extra2 = &init_net.sctp.rto_max
124 .data = &init_net.sctp.rto_max,
128 .extra1 = &init_net.sctp.rto_min,
133 .data = &init_net.sctp.rto_alpha,
142 .data = &init_net.sctp.rto_beta,
151 .data = &init_net.sctp.max_burst,
160 .data = &init_net.sctp.cookie_preserve_enable,
167 .data = &init_net.sctp.sctp_hmac_alg,
[all …]
Dprotocol.c128 af->copy_addrlist(&net->sctp.local_addr_list, dev); in sctp_get_local_addr_list()
140 list_for_each_safe(pos, temp, &net->sctp.local_addr_list) { in sctp_free_local_addr_list()
156 list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { in sctp_copy_local_addr_list()
619 struct net *net = from_timer(net, t, sctp.addr_wq_timer); in sctp_addr_wq_timeout_handler()
623 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler()
625 list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { in sctp_addr_wq_timeout_handler()
627 "entry:%p\n", __func__, &net->sctp.addr_waitq, &addrw->a.sa, in sctp_addr_wq_timeout_handler()
651 mod_timer(&net->sctp.addr_wq_timer, timeo_val); in sctp_addr_wq_timeout_handler()
656 list_for_each_entry(sp, &net->sctp.auto_asconf_splist, auto_asconf_list) { in sctp_addr_wq_timeout_handler()
674 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler()
[all …]
DMakefile6 obj-$(CONFIG_IP_SCTP) += sctp.o
9 sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
20 sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
21 sctp-$(CONFIG_PROC_FS) += proc.o
22 sctp-$(CONFIG_SYSCTL) += sysctl.o
24 sctp-$(subst m,y,$(CONFIG_IPV6)) += ipv6.o
Dproc.c83 net->sctp.sctp_statistics); in sctp_snmp_seq_show()
387 net->sctp.proc_net_sctp = proc_net_mkdir(net, "sctp", net->proc_net); in sctp_proc_init()
388 if (!net->sctp.proc_net_sctp) in sctp_proc_init()
390 if (!proc_create_net_single("snmp", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
393 if (!proc_create_net("eps", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
396 if (!proc_create_net("assocs", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
399 if (!proc_create_net("remaddr", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
406 net->sctp.proc_net_sctp = NULL; in sctp_proc_init()
Dendpointola.c70 ep->auth_enable = net->sctp.auth_enable; in sctp_endpoint_init()
104 if (net->sctp.addip_enable) { in sctp_endpoint_init()
137 ep->sndbuf_policy = net->sctp.sndbuf_policy; in sctp_endpoint_init()
144 ep->rcvbuf_policy = net->sctp.rcvbuf_policy; in sctp_endpoint_init()
167 ep->prsctp_enable = net->sctp.prsctp_enable; in sctp_endpoint_init()
168 ep->reconf_enable = net->sctp.reconf_enable; in sctp_endpoint_init()
Dtransport.c73 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); in sctp_transport_init()
83 peer->pathmaxrxt = net->sctp.max_retrans_path; in sctp_transport_init()
84 peer->pf_retrans = net->sctp.pf_retrans; in sctp_transport_init()
363 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto()
364 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto()
365 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto()
366 + (rtt >> net->sctp.rto_alpha); in sctp_transport_update_rto()
DKconfig33 module will be called sctp. Debug messages are handeled by the
47 'cat /proc/net/sctp/sctp_dbg_objcnt'
54 This option sets the default sctp cookie hmac algorithm
Dsm_statetable.c994 if (net->sctp.prsctp_enable) { in sctp_chunk_event_lookup()
999 if (net->sctp.addip_enable) { in sctp_chunk_event_lookup()
1007 if (net->sctp.reconf_enable) in sctp_chunk_event_lookup()
1011 if (net->sctp.auth_enable) { in sctp_chunk_event_lookup()
Dobjcnt.c117 net->sctp.proc_net_sctp, &sctp_objcnt_seq_ops); in sctp_dbg_objcnt_init()
Dipv6.c107 spin_lock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
108 list_add_tail_rcu(&addr->list, &net->sctp.local_addr_list); in sctp_inet6addr_event()
110 spin_unlock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
114 spin_lock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
116 &net->sctp.local_addr_list, list) { in sctp_inet6addr_event()
127 spin_unlock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
Dsocket.c575 if (!net->sctp.addip_enable) in sctp_send_asconf_add_ip()
779 if (!net->sctp.addip_enable) in sctp_send_asconf_del_ip()
1575 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close()
1585 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_close()
2379 if (sp->autoclose > net->sctp.max_autoclose) in sctp_setsockopt_autoclose()
2380 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()
3387 if (!net->sctp.addip_enable) in sctp_setsockopt_peer_primary_addr()
3861 spin_lock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
3867 &sock_net(sk)->sctp.auto_asconf_splist); in sctp_setsockopt_auto_asconf()
3870 spin_unlock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
[all …]
/Linux-v4.19/net/netfilter/
Dnf_conntrack_proto_sctp.c151 return &net->ct.nf_ct_proto.sctp; in sctp_pernet()
158 seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]); in sctp_print_conntrack()
307 sh->vtag != ct->proto.sctp.vtag[dir]) { in sctp_packet()
322 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet()
323 sh->vtag != ct->proto.sctp.vtag[!dir]) in sctp_packet()
327 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet()
328 sh->vtag != ct->proto.sctp.vtag[!dir] && in sctp_packet()
333 if (sh->vtag != ct->proto.sctp.vtag[dir]) in sctp_packet()
337 if (ct->proto.sctp.vtag[dir] == 0) { in sctp_packet()
340 ct->proto.sctp.vtag[dir] = sh->vtag; in sctp_packet()
[all …]
Dnf_nat_proto_sctp.c52 hdr->source = tuple->src.u.sctp.port; in sctp_manip_pkt()
55 hdr->dest = tuple->dst.u.sctp.port; in sctp_manip_pkt()
/Linux-v4.19/Documentation/security/
Dindex.rst12 LSM-sctp
13 SELinux-sctp
DSELinux-sctp.rst7 ``Documentation/security/LSM-sctp.rst`` describes the following SCTP security
22 @ep - pointer to sctp endpoint structure.
33 Set the sctp ``@ep sid`` to socket's sid (from ``ep->base.sk``) with
67 ``Documentation/security/LSM-sctp.rst`` gives a summary of the ``@optname``
81 @ep - pointer to current sctp endpoint structure.
113 portcon sctp 1024-1036 system_u:object_r:sctp_ports_t:s0
156 7) IPSEC is not supported as RFC 3554 - sctp/ipsec support has not been
DLSM-sctp.rst15 described in ``Documentation/security/SELinux-sctp.rst``
24 @ep - pointer to sctp endpoint structure.
92 /proc/sys/net/sctp/addip_enable
93 /proc/sys/net/sctp/addip_noauth_enable
111 @ep - pointer to current sctp endpoint structure.
/Linux-v4.19/include/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h38 } sctp; member
/Linux-v4.19/net/openvswitch/
Dflow.c670 struct sctphdr *sctp = sctp_hdr(skb); in key_extract() local
671 key->tp.src = sctp->source; in key_extract()
672 key->tp.dst = sctp->dest; in key_extract()
783 struct sctphdr *sctp = sctp_hdr(skb); in key_extract() local
784 key->tp.src = sctp->source; in key_extract()
785 key->tp.dst = sctp->dest; in key_extract()
/Linux-v4.19/include/net/netns/
Dconntrack.h83 struct nf_sctp_net sctp; member
/Linux-v4.19/include/net/sctp/
Dsctp.h224 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field)
225 #define __SCTP_INC_STATS(net, field) __SNMP_INC_STATS((net)->sctp.sctp_statistics, field)
226 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field)
/Linux-v4.19/include/trace/events/
Dsctp.h3 #define TRACE_SYSTEM sctp
/Linux-v4.19/Documentation/networking/
Dsctp.txt35 <linux-sctp@vger.kernel.org>
/Linux-v4.19/net/
DMakefile48 obj-$(CONFIG_IP_SCTP) += sctp/
/Linux-v4.19/include/net/netfilter/
Dnf_conntrack_tuple.h61 } sctp; member
Dnf_conntrack.h34 struct ip_ct_sctp sctp; member

12