Home
last modified time | relevance | path

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

12

/linux/net/sctp/
H A Dsysctl.c98 .data = &init_net.sctp.rto_min,
103 .extra2 = &init_net.sctp.rto_max
107 .data = &init_net.sctp.rto_max,
111 .extra1 = &init_net.sctp.rto_min,
116 .data = &init_net.sctp.pf_retrans,
121 .extra2 = &init_net.sctp.ps_retrans,
125 .data = &init_net.sctp.ps_retrans,
129 .extra1 = &init_net.sctp.pf_retrans,
134 .data = &init_net.sctp.rto_initial,
143 .data = &init_net.sctp.rto_alpha,
[all …]
H A Dprotocol.c115 af->copy_addrlist(&net->sctp.local_addr_list, dev); in sctp_get_local_addr_list()
127 list_for_each_safe(pos, temp, &net->sctp.local_addr_list) { in sctp_free_local_addr_list()
143 list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { in sctp_copy_local_addr_list()
603 struct net *net = timer_container_of(net, t, sctp.addr_wq_timer); in sctp_addr_wq_timeout_handler()
607 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler()
609 list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { in sctp_addr_wq_timeout_handler()
611 "entry:%p\n", __func__, &net->sctp.addr_waitq, &addrw->a.sa, in sctp_addr_wq_timeout_handler()
635 mod_timer(&net->sctp.addr_wq_timer, timeo_val); in sctp_addr_wq_timeout_handler()
640 list_for_each_entry(sp, &net->sctp.auto_asconf_splist, auto_asconf_list) { in sctp_addr_wq_timeout_handler()
658 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler()
[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 Dendpointola.c57 ep->asconf_enable = net->sctp.addip_enable; in sctp_endpoint_init()
58 ep->auth_enable = net->sctp.auth_enable; in sctp_endpoint_init()
89 ep->sndbuf_policy = net->sctp.sndbuf_policy; in sctp_endpoint_init()
96 ep->rcvbuf_policy = net->sctp.rcvbuf_policy; in sctp_endpoint_init()
112 ep->prsctp_enable = net->sctp.prsctp_enable; in sctp_endpoint_init()
113 ep->reconf_enable = net->sctp.reconf_enable; in sctp_endpoint_init()
114 ep->ecn_enable = net->sctp.ecn_enable; in sctp_endpoint_init()
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()
501 rto_beta = READ_ONCE(net->sctp.rto_beta); in sctp_transport_update_rto()
505 rto_alpha = READ_ONCE(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.c14 * lksctp developers <linux-sctp@vger.kernel.org>
57 #include <net/sctp/sctp.h>
92 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.c21 * lksctp developers <linux-sctp@vger.kernel.org>
66 #include <net/sctp/sctp.h>
67 #include <net/sctp/sm.h>
68 #include <net/sctp/stream_sched.h>
368 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()
370 list_add_tail(&sp->auto_asconf_list, &net->sctp.auto_asconf_splist); 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 in sctp_close()
[all...]
H A Dinput.c862 ep = sctp_sk(net->sctp.ctl_sock)->ep; in __sctp_rcv_lookup_endpoint()
990 l3mdev_accept = !!READ_ONCE(net->sctp.l3mdev_accept); in sctp_sk_bound_dev_eq()
1279 if (have_auth || net->sctp.addip_noauth) in __sctp_rcv_walk_lookup()
/linux/net/netfilter/
H A Dnf_conntrack_proto_sctp.c136 seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]); in sctp_print_conntrack()
248 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new()
276 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new()
280 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new()
286 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new()
289 ct->proto.sctp.state = SCTP_CONNTRACK_NONE; in sctp_new()
375 sh->vtag != ct->proto.sctp.vtag[dir]) { in nf_conntrack_sctp_packet()
378 sh->vtag, ct->proto.sctp.vtag[dir], dir); in nf_conntrack_sctp_packet()
395 sh->vtag != ct->proto.sctp.vtag[dir]) || in nf_conntrack_sctp_packet()
397 sh->vtag != ct->proto.sctp.vtag[!dir])) in nf_conntrack_sctp_packet()
[all …]
/linux/Documentation/translations/zh_CN/security/
H A DSCTP.rst35 @asoc - 指向sctp关联结构的指针。
95 /proc/sys/net/sctp/addip_enable
96 /proc/sys/net/sctp/addip_noauth_enable
113 @asoc - 指向当前sctp关联结构的指针。
123 @asoc - 指向sctp关联结构的指针。
198 @asoc - 指向sctp关联结构的指针。
209 将sctp的 ``@asoc sid`` 设置为套接字的sid(来自 ``asoc->base.sk``)
252 @asoc - 指向当前sctp关联结构的指针。
261 @asoc - 指向sctp关联结构的指针。
280 portcon sctp 1024-1036 system_u:object_r:sctp_ports_t:s0
/linux/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/tools/testing/selftests/net/
H A Dsctp_vrf.sh19 modprobe sctp
134 ip netns exec $SERVER_NS sysctl -wq net.sctp.l3mdev_accept=1
143 ip netns exec $SERVER_NS sysctl -wq net.sctp.l3mdev_accept=0
/linux/include/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h38 } sctp; member
/linux/include/net/netns/
H A Dconntrack.h76 struct nf_sctp_net sctp; member
/linux/net/openvswitch/
H A Dflow.c740 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local
741 key->tp.src = sctp->source; in key_extract_l3l4()
742 key->tp.dst = sctp->dest; in key_extract_l3l4()
863 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local
864 key->tp.src = sctp->source; in key_extract_l3l4()
865 key->tp.dst = sctp->dest; in key_extract_l3l4()
/linux/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/include/trace/events/
H A Dsctp.h3 #define TRACE_SYSTEM sctp
/linux/Documentation/networking/
H A Dindex.rst108 sctp
H A Dsctp.rst42 <linux-sctp@vger.kernel.org>
/linux/Documentation/translations/zh_CN/networking/
H A Dindex.rst126 * sctp
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_sctp_collision.sh71 ip net exec "$CLIENT_NS" sysctl -wq net.sctp.association_max_retrans=3
H A Dnft_queue.sh33 modprobe -q sctp
456 sctp dport 12345 queue num 10
488 sctp dport 12345 queue num 11
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c540 u32 tcp_udp_cs = 0, sctp = 0; in hinic_set_cs_inner_l4() local
547 sctp = 1; in hinic_set_cs_inner_l4()
554 HINIC_SQ_CTRL_SET(sctp, QUEUE_INFO_SCTP); in hinic_set_cs_inner_l4()
/linux/include/net/netfilter/
H A Dnf_conntrack.h34 struct ip_ct_sctp sctp; member

12