/openbmc/linux/net/sctp/ |
H A D | sysctl.c | 100 .data = &init_net.sctp.rto_min, 105 .extra2 = &init_net.sctp.rto_max 109 .data = &init_net.sctp.rto_max, 113 .extra1 = &init_net.sctp.rto_min, 118 .data = &init_net.sctp.pf_retrans, 123 .extra2 = &init_net.sctp.ps_retrans, 127 .data = &init_net.sctp.ps_retrans, 131 .extra1 = &init_net.sctp.pf_retrans, 136 .data = &init_net.sctp.rto_initial, 145 .data = &init_net.sctp.rto_alpha, [all …]
|
H A D | protocol.c | 112 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() 632 struct net *net = from_timer(net, t, sctp.addr_wq_timer); in sctp_addr_wq_timeout_handler() 636 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler() 638 list_for_each_entry_safe(addrw, temp, &net->sctp.addr_waitq, list) { in sctp_addr_wq_timeout_handler() 640 "entry:%p\n", __func__, &net->sctp.addr_waitq, &addrw->a.sa, in sctp_addr_wq_timeout_handler() 664 mod_timer(&net->sctp.addr_wq_timer, timeo_val); in sctp_addr_wq_timeout_handler() 669 list_for_each_entry(sp, &net->sctp.auto_asconf_splist, auto_asconf_list) { in sctp_addr_wq_timeout_handler() 687 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_addr_wq_timeout_handler() [all …]
|
H A D | Makefile | 6 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 D | proc.c | 68 net->sctp.sctp_statistics); in sctp_snmp_seq_show() 378 net->sctp.proc_net_sctp = proc_net_mkdir(net, "sctp", net->proc_net); in sctp_proc_init() 379 if (!net->sctp.proc_net_sctp) in sctp_proc_init() 381 if (!proc_create_net_single("snmp", 0444, net->sctp.proc_net_sctp, in sctp_proc_init() 384 if (!proc_create_net("eps", 0444, net->sctp.proc_net_sctp, in sctp_proc_init() 387 if (!proc_create_net("assocs", 0444, net->sctp.proc_net_sctp, in sctp_proc_init() 390 if (!proc_create_net("remaddr", 0444, net->sctp.proc_net_sctp, in sctp_proc_init() 397 net->sctp.proc_net_sctp = NULL; in sctp_proc_init()
|
H A D | endpointola.c | 52 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()
|
H A D | Kconfig | 35 module will be called sctp. Debug messages are handled by the 49 'cat /proc/net/sctp/sctp_dbg_objcnt' 56 This option sets the default sctp cookie hmac algorithm
|
H A D | transport.c | 58 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() 507 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto() 508 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto() 509 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto() 510 + (rtt >> net->sctp.rto_alpha); in sctp_transport_update_rto()
|
H A D | objcnt.c | 102 net->sctp.proc_net_sctp, &sctp_objcnt_seq_ops); in sctp_dbg_objcnt_init()
|
H A D | ipv6.c | 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 D | socket.c | 366 if (net->sctp.default_auto_asconf) { in sctp_auto_asconf_init() 367 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init() 368 list_add_tail(&sp->auto_asconf_list, &net->sctp.auto_asconf_splist); in sctp_auto_asconf_init() 369 spin_unlock_bh(&net->sctp.addr_wq_lock); in sctp_auto_asconf_init() 1542 spin_lock_bh(&net->sctp.addr_wq_lock); in sctp_close() 1552 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() 3855 spin_lock_bh(&sock_net(sk)->sctp.addr_wq_lock); in sctp_setsockopt_auto_asconf() 3861 &sock_net(sk)->sctp.auto_asconf_splist); in sctp_setsockopt_auto_asconf() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_proto_sctp.c | 141 seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]); in sctp_print_conntrack() 253 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new() 281 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag; in sctp_new() 285 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag; in sctp_new() 291 ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; in sctp_new() 294 ct->proto.sctp.state = SCTP_CONNTRACK_NONE; in sctp_new() 378 sh->vtag != ct->proto.sctp.vtag[dir]) { in nf_conntrack_sctp_packet() 381 sh->vtag, ct->proto.sctp.vtag[dir], dir); in nf_conntrack_sctp_packet() 398 sh->vtag != ct->proto.sctp.vtag[dir]) || in nf_conntrack_sctp_packet() 400 sh->vtag != ct->proto.sctp.vtag[!dir])) in nf_conntrack_sctp_packet() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lksctp-tools/ |
H A D | lksctp-tools_1.0.21.bb | 14 git://github.com/sctp/lksctp-tools.git;branch=master;protocol=https \ 53 RRECOMMENDS:${PN} += "kernel-module-sctp" 54 RRECOMMENDS:${PN}-utils += "kernel-module-sctp" 55 RRECOMMENDS:${PN}-ptest += "kernel-module-sctp"
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/netperf/ |
H A D | netperf_git.bb | 34 PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools," 70 RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'sctp', 'kernel-module-sctp', '', d)}"
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/ |
H A D | run-ptest | 3 if ! lsmod | grep -q sctp && ! modprobe sctp 2>/dev/null; then
|
/openbmc/linux/Documentation/security/ |
H A D | SCTP.rst | 30 @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 …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | conntrack_sctp_collision.sh | 59 ip net exec $ROUTER_NS iptables -A INPUT -p sctp -j DROP 62 modprobe sctp 63 ip net exec $CLIENT_NS sysctl -wq net.sctp.association_max_retrans=3
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | sctp_vrf.sh | 21 modprobe sctp 123 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=1 2>&1 >/dev/null 132 ip netns exec $SERVER_NS sysctl -w net.sctp.l3mdev_accept=0 2>&1 >/dev/null
|
/openbmc/linux/include/uapi/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 38 } sctp; member
|
/openbmc/linux/include/net/netns/ |
H A D | conntrack.h | 89 struct nf_sctp_net sctp; member
|
/openbmc/linux/net/openvswitch/ |
H A D | flow.c | 744 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local 745 key->tp.src = sctp->source; in key_extract_l3l4() 746 key->tp.dst = sctp->dest; in key_extract_l3l4() 867 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() local 868 key->tp.src = sctp->source; in key_extract_l3l4() 869 key->tp.dst = sctp->dest; in key_extract_l3l4()
|
/openbmc/linux/include/net/sctp/ |
H A D | sctp.h | 207 #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)
|
/openbmc/linux/Documentation/networking/ |
H A D | index.rst | 99 sctp
|
H A D | sctp.rst | 42 <linux-sctp@vger.kernel.org>
|
/openbmc/linux/include/trace/events/ |
H A D | sctp.h | 3 #define TRACE_SYSTEM sctp
|
/openbmc/linux/net/ |
H A D | Makefile | 47 obj-$(CONFIG_IP_SCTP) += sctp/
|