Home
last modified time | relevance | path

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

/linux-4.4.14/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.c87 net->sctp.proc_net_sctp = proc_net_mkdir(net, "sctp", net->proc_net); in sctp_proc_init()
88 if (!net->sctp.proc_net_sctp) in sctp_proc_init()
109 net->sctp.proc_net_sctp = NULL; in sctp_proc_init()
129 net->sctp.proc_net_sctp = NULL; in sctp_proc_exit()
178 af->copy_addrlist(&net->sctp.local_addr_list, dev); in sctp_get_local_addr_list()
190 list_for_each_safe(pos, temp, &net->sctp.local_addr_list) { in sctp_free_local_addr_list()
205 list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { in sctp_copy_local_addr_list()
624 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler()
626 list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { in sctp_addr_wq_timeout_handler()
628 "entry:%p\n", __func__, &net->sctp.addr_waitq, &addrw->a.sa, in sctp_addr_wq_timeout_handler()
[all …]
DMakefile5 obj-$(CONFIG_IP_SCTP) += sctp.o
8 sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
17 sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
18 sctp-$(CONFIG_PROC_FS) += proc.o
19 sctp-$(CONFIG_SYSCTL) += sysctl.o
21 sctp-$(subst m,y,$(CONFIG_IPV6)) += ipv6.o
Dproc.c81 snmp_fold_field(net->sctp.sctp_statistics, in sctp_snmp_seq_show()
106 p = proc_create("snmp", S_IRUGO, net->sctp.proc_net_sctp, in sctp_snmp_proc_init()
117 remove_proc_entry("snmp", net->sctp.proc_net_sctp); in sctp_snmp_proc_exit()
270 p = proc_create("eps", S_IRUGO, net->sctp.proc_net_sctp, in sctp_eps_proc_init()
281 remove_proc_entry("eps", net->sctp.proc_net_sctp); in sctp_eps_proc_exit()
396 p = proc_create("assocs", S_IRUGO, net->sctp.proc_net_sctp, in sctp_assocs_proc_init()
407 remove_proc_entry("assocs", net->sctp.proc_net_sctp); in sctp_assocs_proc_exit()
530 remove_proc_entry("remaddr", net->sctp.proc_net_sctp); in sctp_remaddr_proc_exit()
550 p = proc_create("remaddr", S_IRUGO, net->sctp.proc_net_sctp, in sctp_remaddr_proc_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()
333 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto()
334 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto()
335 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto()
336 + (rtt >> net->sctp.rto_alpha); in sctp_transport_update_rto()
Dobjcnt.c131 net->sctp.proc_net_sctp, &sctp_objcnt_ops); in sctp_dbg_objcnt_init()
139 remove_proc_entry("sctp_dbg_objcnt", net->sctp.proc_net_sctp); in sctp_dbg_objcnt_exit()
Dendpointola.c71 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()
DKconfig33 module will be called sctp. Debug messages are handeled by the
59 'cat /proc/net/sctp/sctp_dbg_objcnt'
66 This option sets the default sctp cookie hmac algorithm
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()
Dsm_statetable.c914 if (net->sctp.prsctp_enable) { in sctp_chunk_event_lookup()
919 if (net->sctp.addip_enable) { in sctp_chunk_event_lookup()
927 if (net->sctp.auth_enable) { in sctp_chunk_event_lookup()
Dsocket.c517 if (!net->sctp.addip_enable) in sctp_send_asconf_add_ip()
721 if (!net->sctp.addip_enable) in sctp_send_asconf_del_ip()
1536 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close()
1546 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_close()
2247 if (sp->autoclose > net->sctp.max_autoclose) in sctp_setsockopt_autoclose()
2248 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()
3141 if (!net->sctp.addip_enable) in sctp_setsockopt_peer_primary_addr()
3571 spin_lock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
3577 &sock_net(sk)->sctp.auto_asconf_splist); in sctp_setsockopt_auto_asconf()
3580 spin_unlock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
[all …]
Dsm_make_chunk.c262 if (net->sctp.prsctp_enable) in sctp_make_init()
270 if (net->sctp.addip_enable) { in sctp_make_init()
356 if (net->sctp.prsctp_enable) in sctp_make_init()
1988 if (net->sctp.addip_noauth) in sctp_verify_ext_param()
1991 if (net->sctp.addip_enable && !have_auth && have_asconf) in sctp_verify_ext_param()
2007 if (net->sctp.prsctp_enable && !asoc->peer.prsctp_capable) in sctp_process_ext_param()
2019 if (net->sctp.addip_enable) in sctp_process_ext_param()
2141 if (net->sctp.addip_enable) in sctp_verify_param()
2152 if (net->sctp.prsctp_enable) in sctp_verify_param()
2351 if (!net->sctp.addip_noauth && in sctp_process_init()
[all …]
Dinput.c195 sk = net->sctp.ctl_sock; in sctp_rcv()
777 ep = sctp_sk(net->sctp.ctl_sock)->ep; in __sctp_rcv_lookup_endpoint()
1073 if (have_auth || net->sctp.addip_noauth) in __sctp_rcv_walk_lookup()
Dassociola.c105 asoc->pf_retrans = net->sctp.pf_retrans; in sctp_association_init()
236 if (net->sctp.addip_noauth) in sctp_association_init()
1431 (asoc->base.sk->sk_rcvbuf >> net->sctp.rwnd_upd_shift), in sctp_peer_needs_update()
Dsm_statefuns.c333 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1B_init()
667 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1D_ce()
765 if (!net->sctp.auth_enable || !new_asoc->peer.auth_capable) { in sctp_sf_do_5_1D_ce()
1226 ep = sctp_sk(net->sctp.ctl_sock)->ep; in sctp_sf_send_restart_abort()
1687 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) in sctp_sf_do_5_2_3_initack()
3611 if (!net->sctp.addip_noauth && !chunk->auth) in sctp_sf_do_asconf()
3728 if (!net->sctp.addip_noauth && !asconf_ack->auth) in sctp_sf_do_asconf_ack()
6046 sctp_sk(net->sctp.ctl_sock)); in sctp_ootb_pkt_new()
Dbind_addr.c501 switch (net->sctp.scope_policy) { in sctp_in_scope()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_proto_sctp.c169 tuple->src.u.sctp.port = hp->source; in sctp_pkt_to_tuple()
170 tuple->dst.u.sctp.port = hp->dest; in sctp_pkt_to_tuple()
177 tuple->src.u.sctp.port = orig->dst.u.sctp.port; in sctp_invert_tuple()
178 tuple->dst.u.sctp.port = orig->src.u.sctp.port; in sctp_invert_tuple()
187 ntohs(tuple->src.u.sctp.port), in sctp_print_tuple()
188 ntohs(tuple->dst.u.sctp.port)); in sctp_print_tuple()
197 state = ct->proto.sctp.state; in sctp_print_conntrack()
355 sh->vtag != ct->proto.sctp.vtag[dir]) { in sctp_packet()
370 if (sh->vtag != ct->proto.sctp.vtag[dir] && in sctp_packet()
371 sh->vtag != ct->proto.sctp.vtag[!dir]) in sctp_packet()
[all …]
Dnf_nat_proto_sctp.c46 hdr->source = tuple->src.u.sctp.port; in sctp_manip_pkt()
49 hdr->dest = tuple->dst.u.sctp.port; in sctp_manip_pkt()
DKconfig1359 tristate '"sctp" protocol match support'
1364 `sctp' match in order to match on SCTP source/destination ports
/linux-4.4.14/include/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h31 } sctp; member
/linux-4.4.14/include/net/sctp/
Dsctp.h178 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field)
179 #define SCTP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->sctp.sctp_statistics, field)
180 #define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field)
181 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field)
Dstructs.h246 struct sctp_sock sctp; member
/linux-4.4.14/net/openvswitch/
Dflow.c554 struct sctphdr *sctp = sctp_hdr(skb); in key_extract() local
555 key->tp.src = sctp->source; in key_extract()
556 key->tp.dst = sctp->dest; in key_extract()
672 struct sctphdr *sctp = sctp_hdr(skb); in key_extract() local
673 key->tp.src = sctp->source; in key_extract()
674 key->tp.dst = sctp->dest; in key_extract()
/linux-4.4.14/net/
DMakefile45 obj-$(CONFIG_IP_SCTP) += sctp/
DKconfig206 source "net/sctp/Kconfig"
/linux-4.4.14/Documentation/networking/
Dsctp.txt35 <linux-sctp@vger.kernel.org>
D00-INDEX191 sctp.txt
Dip-sysctl.txt1712 proc/sys/net/sctp/* Variables:
1800 http://www.ietf.org/id/draft-nishida-tsvwg-sctp-failover-05.txt
1855 a listening sctp socket to a connecting client in the INIT-ACK chunk.
1918 Control IPv4 address scoping - draft-stewart-tsvwg-sctp-ipv4-00
/linux-4.4.14/include/net/netfilter/
Dnf_conntrack_tuple.h60 } sctp; member
Dnf_conntrack.h33 struct ip_ct_sctp sctp; member
/linux-4.4.14/include/net/
Dnet_namespace.h102 struct netns_sctp sctp; member
/linux-4.4.14/include/uapi/linux/
DKbuild364 header-y += sctp.h
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_configfs.c185 CONFIGFS_ATTR(lio_target_np_, sctp);
/linux-4.4.14/
DMAINTAINERS9465 L: linux-sctp@vger.kernel.org
9468 F: Documentation/networking/sctp.txt
9469 F: include/linux/sctp.h
9470 F: include/uapi/linux/sctp.h
9471 F: include/net/sctp/
9472 F: net/sctp/