Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/sctp/
Dsysctl.c88 .data = &init_net.sctp.rto_initial,
97 .data = &init_net.sctp.rto_min,
102 .extra2 = &init_net.sctp.rto_max
106 .data = &init_net.sctp.rto_max,
110 .extra1 = &init_net.sctp.rto_min,
115 .data = &init_net.sctp.rto_alpha,
124 .data = &init_net.sctp.rto_beta,
133 .data = &init_net.sctp.max_burst,
142 .data = &init_net.sctp.cookie_preserve_enable,
149 .data = &init_net.sctp.sctp_hmac_alg,
[all …]
Dprotocol.c112 af->copy_addrlist(&net->sctp.local_addr_list, dev); in sctp_get_local_addr_list()
124 list_for_each_safe(pos, temp, &net->sctp.local_addr_list) { in sctp_free_local_addr_list()
140 list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { in sctp_copy_local_addr_list()
605 struct net *net = from_timer(net, t, sctp.addr_wq_timer); in sctp_addr_wq_timeout_handler()
609 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler()
611 list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { in sctp_addr_wq_timeout_handler()
613 "entry:%p\n", __func__, &net->sctp.addr_waitq, &addrw->a.sa, in sctp_addr_wq_timeout_handler()
637 mod_timer(&net->sctp.addr_wq_timer, timeo_val); in sctp_addr_wq_timeout_handler()
642 list_for_each_entry(sp, &net->sctp.auto_asconf_splist, auto_asconf_list) { in sctp_addr_wq_timeout_handler()
660 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.c68 net->sctp.sctp_statistics); in sctp_snmp_seq_show()
372 net->sctp.proc_net_sctp = proc_net_mkdir(net, "sctp", net->proc_net); in sctp_proc_init()
373 if (!net->sctp.proc_net_sctp) in sctp_proc_init()
375 if (!proc_create_net_single("snmp", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
378 if (!proc_create_net("eps", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
381 if (!proc_create_net("assocs", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
384 if (!proc_create_net("remaddr", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
391 net->sctp.proc_net_sctp = NULL; in sctp_proc_init()
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()
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()
349 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto()
350 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto()
351 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto()
352 + (rtt >> net->sctp.rto_alpha); in sctp_transport_update_rto()
DKconfig34 module will be called sctp. Debug messages are handeled by the
48 'cat /proc/net/sctp/sctp_dbg_objcnt'
55 This option sets the default sctp cookie hmac algorithm
Dobjcnt.c102 net->sctp.proc_net_sctp, &sctp_objcnt_seq_ops); in sctp_dbg_objcnt_init()
Dipv6.c91 spin_lock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
92 list_add_tail_rcu(&addr->list, &net->sctp.local_addr_list); in sctp_inet6addr_event()
94 spin_unlock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
98 spin_lock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
100 &net->sctp.local_addr_list, list) { in sctp_inet6addr_event()
111 spin_unlock_bh(&net->sctp.local_addr_lock); in sctp_inet6addr_event()
Dsocket.c1530 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close()
1540 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_close()
2276 if (sp->autoclose > net->sctp.max_autoclose) in sctp_setsockopt_autoclose()
2277 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()
3924 spin_lock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
3930 &sock_net(sk)->sctp.auto_asconf_splist); in sctp_setsockopt_auto_asconf()
3933 spin_unlock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
4384 if (!sock_net(sk)->sctp.intl_enable || !sp->frag_interleave) { in sctp_setsockopt_interleaving_supported()
5004 sp->max_burst = net->sctp.max_burst; in sctp_init_sock()
5006 sp->sctp_hmac_alg = net->sctp.sctp_hmac_alg; in sctp_init_sock()
[all …]
Dinput.c181 sk = net->sctp.ctl_sock; in sctp_rcv()
849 ep = sctp_sk(net->sctp.ctl_sock)->ep; in __sctp_rcv_lookup_endpoint()
1234 if (have_auth || net->sctp.addip_noauth) in __sctp_rcv_walk_lookup()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_proto_sctp.c150 seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]); in sctp_print_conntrack()
278 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new()
306 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new()
310 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new()
316 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new()
319 ct->proto.sctp.state = new_state; in sctp_new()
402 sh->vtag != ct->proto.sctp.vtag[dir]) { in nf_conntrack_sctp_packet()
417 if (sh->vtag != ct->proto.sctp.vtag[dir] && in nf_conntrack_sctp_packet()
418 sh->vtag != ct->proto.sctp.vtag[!dir]) in nf_conntrack_sctp_packet()
422 if (sh->vtag != ct->proto.sctp.vtag[dir] && in nf_conntrack_sctp_packet()
[all …]
/Linux-v5.4/Documentation/security/
DSCTP.rst33 @ep - pointer to sctp endpoint structure.
101 /proc/sys/net/sctp/addip_enable
102 /proc/sys/net/sctp/addip_noauth_enable
120 @ep - pointer to current sctp endpoint structure.
207 @ep - pointer to sctp endpoint structure.
218 Set the sctp ``@ep sid`` to socket's sid (from ``ep->base.sk``) with
266 @ep - pointer to current sctp endpoint structure.
298 portcon sctp 1024-1036 system_u:object_r:sctp_ports_t:s0
341 7) IPSEC is not supported as RFC 3554 - sctp/ipsec support has not been
/Linux-v5.4/include/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h38 } sctp; member
/Linux-v5.4/net/openvswitch/
Dflow.c593 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local
594 key->tp.src = sctp->source; in key_extract_l3l4()
595 key->tp.dst = sctp->dest; in key_extract_l3l4()
708 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local
709 key->tp.src = sctp->source; in key_extract_l3l4()
710 key->tp.dst = sctp->dest; in key_extract_l3l4()
/Linux-v5.4/include/net/netns/
Dconntrack.h82 struct nf_sctp_net sctp; member
/Linux-v5.4/include/net/sctp/
Dsctp.h209 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field)
210 #define __SCTP_INC_STATS(net, field) __SNMP_INC_STATS((net)->sctp.sctp_statistics, field)
211 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field)
/Linux-v5.4/include/trace/events/
Dsctp.h3 #define TRACE_SYSTEM sctp
/Linux-v5.4/net/
DMakefile48 obj-$(CONFIG_IP_SCTP) += sctp/
/Linux-v5.4/Documentation/networking/
Dsctp.txt35 <linux-sctp@vger.kernel.org>
/Linux-v5.4/include/net/netfilter/
Dnf_conntrack_tuple.h61 } sctp; member
Dnf_conntrack_l4proto.h216 return &net->ct.nf_ct_proto.sctp; in nf_sctp_pernet()
Dnf_conntrack.h35 struct ip_ct_sctp sctp; member
/Linux-v5.4/usr/include/
DMakefile48 header-test- += linux/sctp.h
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c537 u32 tcp_udp_cs = 0, sctp = 0; in hinic_set_cs_inner_l4() local
544 sctp = 1; in hinic_set_cs_inner_l4()
551 HINIC_SQ_CTRL_SET(sctp, QUEUE_INFO_SCTP); in hinic_set_cs_inner_l4()

12