Home
last modified time | relevance | path

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

/net/sctp/
Dsysctl.c95 .data = &init_net.sctp.rto_min,
100 .extra2 = &init_net.sctp.rto_max
104 .data = &init_net.sctp.rto_max,
108 .extra1 = &init_net.sctp.rto_min,
113 .data = &init_net.sctp.pf_retrans,
118 .extra2 = &init_net.sctp.ps_retrans,
122 .data = &init_net.sctp.ps_retrans,
126 .extra1 = &init_net.sctp.pf_retrans,
131 .data = &init_net.sctp.rto_initial,
140 .data = &init_net.sctp.rto_alpha,
[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()
627 struct net *net = from_timer(net, t, sctp.addr_wq_timer); in sctp_addr_wq_timeout_handler()
631 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler()
633 list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { in sctp_addr_wq_timeout_handler()
635 "entry:%p\n", __func__, &net->sctp.addr_waitq, &addrw->a.sa, in sctp_addr_wq_timeout_handler()
659 mod_timer(&net->sctp.addr_wq_timer, timeo_val); in sctp_addr_wq_timeout_handler()
664 list_for_each_entry(sp, &net->sctp.auto_asconf_splist, auto_asconf_list) { in sctp_addr_wq_timeout_handler()
682 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()
380 net->sctp.proc_net_sctp = proc_net_mkdir(net, "sctp", net->proc_net); in sctp_proc_init()
381 if (!net->sctp.proc_net_sctp) in sctp_proc_init()
383 if (!proc_create_net_single("snmp", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
386 if (!proc_create_net("eps", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
389 if (!proc_create_net("assocs", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
392 if (!proc_create_net("remaddr", 0444, net->sctp.proc_net_sctp, in sctp_proc_init()
399 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 handled by the
48 'cat /proc/net/sctp/sctp_dbg_objcnt'
55 This option sets the default sctp cookie hmac algorithm
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.c364 if (net->sctp.default_auto_asconf) { in sctp_auto_asconf_init()
365 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
366 list_add_tail(&sp->auto_asconf_list, &net->sctp.auto_asconf_splist); in sctp_auto_asconf_init()
367 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init()
1545 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close()
1555 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_close()
2281 if (sp->autoclose > net->sctp.max_autoclose) in sctp_setsockopt_autoclose()
2282 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()
3854 spin_lock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf()
3860 &sock_net(sk)->sctp.auto_asconf_splist); in sctp_setsockopt_auto_asconf()
[all …]
Dobjcnt.c102 net->sctp.proc_net_sctp, &sctp_objcnt_seq_ops); in sctp_dbg_objcnt_init()
Dinput.c183 sk = net->sctp.ctl_sock; in sctp_rcv()
852 ep = sctp_sk(net->sctp.ctl_sock)->ep; in __sctp_rcv_lookup_endpoint()
1241 if (have_auth || net->sctp.addip_noauth) in __sctp_rcv_walk_lookup()
Dsm_statefuns.c350 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1B_init()
643 if (!net->sctp.auth_enable || !asoc->peer.auth_capable) in sctp_auth_chunk_verify()
712 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1D_ce()
1300 ep = sctp_sk(net->sctp.ctl_sock)->ep; in sctp_sf_send_restart_abort()
1766 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) in sctp_sf_do_5_2_3_initack()
3787 (!net->sctp.addip_noauth && !chunk->auth)) in sctp_sf_do_asconf()
3930 (!net->sctp.addip_noauth && !asconf_ack->auth)) in sctp_sf_do_asconf_ack()
6323 sctp_sk(net->sctp.ctl_sock)); in sctp_ootb_pkt_new()
Dbind_addr.c524 switch (net->sctp.scope_policy) { in sctp_in_scope()
Dsm_make_chunk.c1992 if (net->sctp.addip_noauth) in sctp_verify_ext_param()
2371 if (!asoc->base.net->sctp.addip_noauth && in sctp_process_init()
2535 if (!net->sctp.cookie_preserve_enable) in sctp_process_param()
Dsm_sideeffect.c549 if (asoc->base.net->sctp.pf_enable && in sctp_do_8_2_transport_strike()
Dassociola.c1451 (asoc->base.sk->sk_rcvbuf >> net->sctp.rwnd_upd_shift), in sctp_peer_needs_update()
/net/netfilter/
Dnf_conntrack_proto_sctp.c141 seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]); in sctp_print_conntrack()
269 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new()
297 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new()
301 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new()
307 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new()
310 ct->proto.sctp.state = SCTP_CONNTRACK_NONE; in sctp_new()
394 sh->vtag != ct->proto.sctp.vtag[dir]) { in nf_conntrack_sctp_packet()
412 sh->vtag != ct->proto.sctp.vtag[dir]) || in nf_conntrack_sctp_packet()
414 sh->vtag != ct->proto.sctp.vtag[!dir])) in nf_conntrack_sctp_packet()
421 sh->vtag != ct->proto.sctp.vtag[dir]) || in nf_conntrack_sctp_packet()
[all …]
Dnf_conntrack_standalone.c77 ntohs(tuple->src.u.sctp.port), in print_tuple()
78 ntohs(tuple->dst.u.sctp.port)); in print_tuple()
Dnf_nat_proto.c122 hdr->source = tuple->src.u.sctp.port; in sctp_manip_pkt()
125 hdr->dest = tuple->dst.u.sctp.port; in sctp_manip_pkt()
DKconfig1537 tristate '"sctp" protocol match support'
1542 `sctp' match in order to match on SCTP source/destination ports
/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()
716 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local
717 key->tp.src = sctp->source; in key_extract_l3l4()
718 key->tp.dst = sctp->dest; in key_extract_l3l4()
/net/
DMakefile47 obj-$(CONFIG_IP_SCTP) += sctp/
DKconfig214 source "net/sctp/Kconfig"