Home
last modified time | relevance | path

Searched refs:timeouts (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v5.4/net/netfilter/
Dnf_conntrack_proto_udp.c34 return nf_udp_pernet(net)->timeouts; in udp_get_timeouts()
91 unsigned int *timeouts; in nf_conntrack_udp_packet() local
96 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udp_packet()
97 if (!timeouts) in nf_conntrack_udp_packet()
98 timeouts = udp_get_timeouts(nf_ct_net(ct)); in nf_conntrack_udp_packet()
107 unsigned long extra = timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_udp_packet()
111 extra = timeouts[UDP_CT_REPLIED]; in nf_conntrack_udp_packet()
120 timeouts[UDP_CT_UNREPLIED]); in nf_conntrack_udp_packet()
183 unsigned int *timeouts; in nf_conntrack_udplite_packet() local
188 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udplite_packet()
[all …]
Dnf_conntrack_proto_gre.c211 return gre_pernet(net)->timeouts; in gre_get_timeouts()
225 unsigned int *timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_gre_packet() local
227 if (!timeouts) in nf_conntrack_gre_packet()
228 timeouts = gre_get_timeouts(nf_ct_net(ct)); in nf_conntrack_gre_packet()
232 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet()
233 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet()
259 unsigned int *timeouts = data; in gre_timeout_nlattr_to_obj() local
262 if (!timeouts) in gre_timeout_nlattr_to_obj()
263 timeouts = gre_get_timeouts(net); in gre_timeout_nlattr_to_obj()
265 timeouts[GRE_CT_UNREPLIED] = net_gre->timeouts[GRE_CT_UNREPLIED]; in gre_timeout_nlattr_to_obj()
[all …]
Dnf_conntrack_proto_tcp.c847 unsigned int index, *timeouts; in nf_conntrack_tcp_packet() local
1113 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_tcp_packet()
1114 if (!timeouts) in nf_conntrack_tcp_packet()
1115 timeouts = tn->timeouts; in nf_conntrack_tcp_packet()
1118 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in nf_conntrack_tcp_packet()
1119 timeout = timeouts[TCP_CONNTRACK_RETRANS]; in nf_conntrack_tcp_packet()
1121 timeout = timeouts[TCP_CONNTRACK_CLOSE]; in nf_conntrack_tcp_packet()
1124 timeouts[new_state] > timeouts[TCP_CONNTRACK_UNACK]) in nf_conntrack_tcp_packet()
1125 timeout = timeouts[TCP_CONNTRACK_UNACK]; in nf_conntrack_tcp_packet()
1127 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in nf_conntrack_tcp_packet()
[all …]
Dnfnetlink_cttimeout.c382 const unsigned int *timeouts) in cttimeout_default_fill_info() argument
408 ret = l4proto->ctnl_timeout.obj_to_nlattr(skb, timeouts); in cttimeout_default_fill_info()
430 unsigned int *timeouts = NULL; in cttimeout_default_get() local
449 timeouts = &nf_icmp_pernet(net)->timeout; in cttimeout_default_get()
452 timeouts = nf_tcp_pernet(net)->timeouts; in cttimeout_default_get()
456 timeouts = nf_udp_pernet(net)->timeouts; in cttimeout_default_get()
460 timeouts = nf_dccp_pernet(net)->dccp_timeout; in cttimeout_default_get()
464 timeouts = &nf_icmpv6_pernet(net)->timeout; in cttimeout_default_get()
468 timeouts = nf_sctp_pernet(net)->timeouts; in cttimeout_default_get()
473 timeouts = nf_gre_pernet(net)->timeouts; in cttimeout_default_get()
[all …]
Dnf_conntrack_proto_sctp.c370 unsigned int *timeouts; in nf_conntrack_sctp_packet() local
473 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_sctp_packet()
474 if (!timeouts) in nf_conntrack_sctp_packet()
475 timeouts = nf_sctp_pernet(nf_ct_net(ct))->timeouts; in nf_conntrack_sctp_packet()
477 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in nf_conntrack_sctp_packet()
593 unsigned int *timeouts = data; in sctp_timeout_nlattr_to_obj() local
599 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj()
604 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in sctp_timeout_nlattr_to_obj()
608 timeouts[CTA_TIMEOUT_SCTP_UNSPEC] = timeouts[CTA_TIMEOUT_SCTP_CLOSED]; in sctp_timeout_nlattr_to_obj()
615 const unsigned int *timeouts = data; in sctp_timeout_obj_to_nlattr() local
[all …]
Dnf_conntrack_proto_dccp.c480 unsigned int *timeouts; in nf_conntrack_dccp_packet() local
561 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_dccp_packet()
562 if (!timeouts) in nf_conntrack_dccp_packet()
563 timeouts = nf_dccp_pernet(nf_ct_net(ct))->dccp_timeout; in nf_conntrack_dccp_packet()
564 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in nf_conntrack_dccp_packet()
677 unsigned int *timeouts = data; in dccp_timeout_nlattr_to_obj() local
682 timeouts[i] = dn->dccp_timeout[i]; in dccp_timeout_nlattr_to_obj()
687 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in dccp_timeout_nlattr_to_obj()
691 timeouts[CTA_TIMEOUT_DCCP_UNSPEC] = timeouts[CTA_TIMEOUT_DCCP_REQUEST]; in dccp_timeout_nlattr_to_obj()
698 const unsigned int *timeouts = data; in dccp_timeout_obj_to_nlattr() local
[all …]
Dnf_conntrack_standalone.c944 &(tn)->timeouts[TCP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_tcp_sysctl()
974 &(sn)->timeouts[SCTP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_sctp_sysctl()
1018 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE].data = &gn->timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_standalone_init_gre_sysctl()
1019 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE_STREAM].data = &gn->timeouts[GRE_CT_REPLIED]; in nf_conntrack_standalone_init_gre_sysctl()
1049 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP].data = &un->timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_standalone_init_sysctl()
1050 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM].data = &un->timeouts[UDP_CT_REPLIED]; in nf_conntrack_standalone_init_sysctl()
/Linux-v5.4/include/net/netns/
Dconntrack.h26 unsigned int timeouts[TCP_CONNTRACK_TIMEOUT_MAX]; member
39 unsigned int timeouts[UDP_CT_MAX]; member
55 unsigned int timeouts[SCTP_CONNTRACK_MAX]; member
68 unsigned int timeouts[GRE_CT_MAX]; member
/Linux-v5.4/drivers/staging/speakup/
Dserialio.c27 static int timeouts; variable
218 if ((in_synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_wait_for_xmitr()
227 timeouts = 0; in spk_wait_for_xmitr()
234 timeouts++; in spk_wait_for_xmitr()
243 timeouts++; in spk_wait_for_xmitr()
248 timeouts = 0; in spk_wait_for_xmitr()
/Linux-v5.4/include/net/netfilter/
Dnf_conntrack_timeout.h80 unsigned int *timeouts = NULL; in nf_ct_timeout_lookup() local
86 timeouts = nf_ct_timeout_data(timeout_ext); in nf_ct_timeout_lookup()
88 return timeouts; in nf_ct_timeout_lookup()
/Linux-v5.4/net/rxrpc/
Dsendmsg.c537 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg()
539 if (p->call.timeouts.hard > INT_MAX / HZ) in rxrpc_sendmsg_cmsg()
541 if (p->call.nr_timeouts >= 2 && p->call.timeouts.idle > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg()
543 if (p->call.nr_timeouts >= 3 && p->call.timeouts.normal > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg()
690 j = msecs_to_jiffies(p.call.timeouts.normal); in rxrpc_do_sendmsg()
691 if (p.call.timeouts.normal > 0 && j == 0) in rxrpc_do_sendmsg()
696 j = msecs_to_jiffies(p.call.timeouts.idle); in rxrpc_do_sendmsg()
697 if (p.call.timeouts.idle > 0 && j == 0) in rxrpc_do_sendmsg()
702 if (p.call.timeouts.hard > 0) { in rxrpc_do_sendmsg()
703 j = msecs_to_jiffies(p.call.timeouts.hard); in rxrpc_do_sendmsg()
/Linux-v5.4/net/sctp/
Dsm_sideeffect.c188 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack()
195 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack()
825 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto; in sctp_cmd_setup_t2()
880 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = in sctp_cmd_new_state()
882 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = in sctp_cmd_new_state()
945 asoc->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = t->rto; in sctp_cmd_setup_t4()
1075 asoc->timeouts[timer] *= 2; in sctp_cmd_t1_timer_update()
1076 if (asoc->timeouts[timer] > asoc->max_init_timeo) { in sctp_cmd_t1_timer_update()
1077 asoc->timeouts[timer] = asoc->max_init_timeo; in sctp_cmd_t1_timer_update()
1084 asoc->timeouts[timer]); in sctp_cmd_t1_timer_update()
[all …]
Dassociola.c122 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = asoc->rto_initial; in sctp_association_init()
123 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = asoc->rto_initial; in sctp_association_init()
124 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = asoc->rto_initial; in sctp_association_init()
130 asoc->timeouts[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD] in sctp_association_init()
133 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = asoc->sackdelay; in sctp_association_init()
134 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = sp->autoclose * HZ; in sctp_association_init()
/Linux-v5.4/Documentation/driver-api/soundwire/
Derror_handling.rst45 does not define timeouts but the MIPI SoundWire DisCo document adds
46 recommendation on timeouts. If such configurations do not complete, the
47 driver will return a -ETIMEOUT. Such timeouts are symptoms of a faulty
/Linux-v5.4/drivers/message/fusion/
Dmptctl.h397 unsigned int timeouts; /* num timeouts */ member
420 unsigned long timeouts; /* num timeouts */ member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-platform-dell-laptop52 The timeouts are expressed in seconds, minutes, hours and
67 Also note that only some timeouts are supported and that
/Linux-v5.4/Documentation/ABI/stable/
Dsysfs-class-tpm170 What: /sys/class/tpm/tpmX/device/timeouts
174 Description: The "timeouts" property shows the 4 vendor-specific values
175 for the TPM's interface spec timeouts. The use of these
176 timeouts is defined by the TPM interface spec that the chip
/Linux-v5.4/net/ipv4/
Dtcp_fastopen.c550 u32 timeouts = inet_csk(sk)->icsk_retransmits; in tcp_fastopen_active_detect_blackhole() local
559 (timeouts == 2 || (timeouts < 2 && expired))) { in tcp_fastopen_active_detect_blackhole()
/Linux-v5.4/Documentation/timers/
Dhrtimers.rst44 identified as "timeouts". Such timeouts are usually set up to cover
49 them becomes necessary. Thus the users of these timeouts can accept
55 (because most of the timeouts are deleted before completion), which
/Linux-v5.4/net/decnet/
DTODO4 o Proper timeouts on each neighbour (in routing mode) rather than
/Linux-v5.4/Documentation/media/uapi/rc/
Dlirc-set-rec-timeout.rst46 If supported by the hardware, setting it to 0 disables all hardware timeouts
/Linux-v5.4/Documentation/networking/
Dproc_net_tcp.txt21 | | | | |--> number of unrecovered RTO timeouts
/Linux-v5.4/net/netfilter/ipvs/
Dip_vs_app.c95 if (app->timeouts) { in ip_vs_app_inc_new()
97 ip_vs_create_timeout_table(app->timeouts, in ip_vs_app_inc_new()
/Linux-v5.4/Documentation/ioctl/
Dbotching-up-ioctls.rst151 * For timeouts, use absolute times. If you're a good fellow and made your
152 ioctl restartable relative timeouts tend to be too coarse and can
155 frame counter. With a spec lawyer hat on this isn't a bug since timeouts can
159 * Consider ditching any synchronous wait ioctls with timeouts and just deliver
/Linux-v5.4/arch/arm/boot/dts/
Dam335x-bonegreen-wireless.dts115 /* intruces various issues (elp wkaeup timeouts etc.) */

123