/net/netfilter/ |
D | nf_conntrack_proto_udp.c | 34 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() 112 extra = timeouts[UDP_CT_REPLIED]; in nf_conntrack_udp_packet() 123 timeouts[UDP_CT_UNREPLIED]); in nf_conntrack_udp_packet() 186 unsigned int *timeouts; in nf_conntrack_udplite_packet() local 191 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udplite_packet() [all …]
|
D | nf_conntrack_proto_gre.c | 211 return gre_pernet(net)->timeouts; in gre_get_timeouts() 222 unsigned int *timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_gre_packet() local 224 if (!timeouts) in nf_conntrack_gre_packet() 225 timeouts = gre_get_timeouts(nf_ct_net(ct)); in nf_conntrack_gre_packet() 229 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet() 230 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet() 256 unsigned int *timeouts = data; in gre_timeout_nlattr_to_obj() local 259 if (!timeouts) in gre_timeout_nlattr_to_obj() 260 timeouts = gre_get_timeouts(net); in gre_timeout_nlattr_to_obj() 262 timeouts[GRE_CT_UNREPLIED] = net_gre->timeouts[GRE_CT_UNREPLIED]; in gre_timeout_nlattr_to_obj() [all …]
|
D | nf_conntrack_proto_tcp.c | 864 unsigned int index, *timeouts; in nf_conntrack_tcp_packet() local 1129 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_tcp_packet() 1130 if (!timeouts) in nf_conntrack_tcp_packet() 1131 timeouts = tn->timeouts; in nf_conntrack_tcp_packet() 1134 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in nf_conntrack_tcp_packet() 1135 timeout = timeouts[TCP_CONNTRACK_RETRANS]; in nf_conntrack_tcp_packet() 1137 timeout = timeouts[TCP_CONNTRACK_CLOSE]; in nf_conntrack_tcp_packet() 1140 timeouts[new_state] > timeouts[TCP_CONNTRACK_UNACK]) in nf_conntrack_tcp_packet() 1141 timeout = timeouts[TCP_CONNTRACK_UNACK]; in nf_conntrack_tcp_packet() 1143 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in nf_conntrack_tcp_packet() [all …]
|
D | nf_conntrack_proto_sctp.c | 359 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() 585 unsigned int *timeouts = data; in sctp_timeout_nlattr_to_obj() local 589 if (!timeouts) in sctp_timeout_nlattr_to_obj() 590 timeouts = sn->timeouts; in sctp_timeout_nlattr_to_obj() 594 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj() 599 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in sctp_timeout_nlattr_to_obj() [all …]
|
D | nfnetlink_cttimeout.c | 377 const unsigned int *timeouts) in cttimeout_default_fill_info() argument 398 ret = l4proto->ctnl_timeout.obj_to_nlattr(skb, timeouts); in cttimeout_default_fill_info() 420 unsigned int *timeouts = NULL; in cttimeout_default_get() local 439 timeouts = &nf_icmp_pernet(net)->timeout; in cttimeout_default_get() 442 timeouts = nf_tcp_pernet(net)->timeouts; in cttimeout_default_get() 446 timeouts = nf_udp_pernet(net)->timeouts; in cttimeout_default_get() 450 timeouts = nf_dccp_pernet(net)->dccp_timeout; in cttimeout_default_get() 454 timeouts = &nf_icmpv6_pernet(net)->timeout; in cttimeout_default_get() 458 timeouts = nf_sctp_pernet(net)->timeouts; in cttimeout_default_get() 463 timeouts = nf_gre_pernet(net)->timeouts; in cttimeout_default_get() [all …]
|
D | nf_conntrack_proto_dccp.c | 520 unsigned int *timeouts; in nf_conntrack_dccp_packet() local 607 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_dccp_packet() 608 if (!timeouts) in nf_conntrack_dccp_packet() 609 timeouts = nf_dccp_pernet(nf_ct_net(ct))->dccp_timeout; in nf_conntrack_dccp_packet() 610 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in nf_conntrack_dccp_packet() 723 unsigned int *timeouts = data; in dccp_timeout_nlattr_to_obj() local 726 if (!timeouts) in dccp_timeout_nlattr_to_obj() 727 timeouts = dn->dccp_timeout; in dccp_timeout_nlattr_to_obj() 731 timeouts[i] = dn->dccp_timeout[i]; in dccp_timeout_nlattr_to_obj() 736 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in dccp_timeout_nlattr_to_obj() [all …]
|
D | nf_conntrack_standalone.c | 941 &(tn)->timeouts[TCP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_tcp_sysctl() 971 &(sn)->timeouts[SCTP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_sctp_sysctl() 1014 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE].data = &gn->timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_standalone_init_gre_sysctl() 1015 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE_STREAM].data = &gn->timeouts[GRE_CT_REPLIED]; in nf_conntrack_standalone_init_gre_sysctl() 1045 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP].data = &un->timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_standalone_init_sysctl() 1046 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM].data = &un->timeouts[UDP_CT_REPLIED]; in nf_conntrack_standalone_init_sysctl()
|
D | nft_ct.c | 792 nft_ct_timeout_parse_policy(void *timeouts, in nft_ct_timeout_parse_policy() argument 813 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeouts); in nft_ct_timeout_parse_policy()
|
/net/rxrpc/ |
D | sendmsg.c | 572 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg() 574 if (p->call.timeouts.hard > INT_MAX / HZ) in rxrpc_sendmsg_cmsg() 576 if (p->call.nr_timeouts >= 2 && p->call.timeouts.idle > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg() 578 if (p->call.nr_timeouts >= 3 && p->call.timeouts.normal > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg() 728 j = msecs_to_jiffies(p.call.timeouts.normal); in rxrpc_do_sendmsg() 729 if (p.call.timeouts.normal > 0 && j == 0) in rxrpc_do_sendmsg() 734 j = msecs_to_jiffies(p.call.timeouts.idle); in rxrpc_do_sendmsg() 735 if (p.call.timeouts.idle > 0 && j == 0) in rxrpc_do_sendmsg() 740 if (p.call.timeouts.hard > 0) { in rxrpc_do_sendmsg() 741 j = p.call.timeouts.hard * HZ; in rxrpc_do_sendmsg()
|
D | ar-internal.h | 726 } timeouts; member
|
/net/sctp/ |
D | sm_sideeffect.c | 188 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack() 195 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack() 829 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto; in sctp_cmd_setup_t2() 884 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = in sctp_cmd_new_state() 886 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = in sctp_cmd_new_state() 949 asoc->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = t->rto; in sctp_cmd_setup_t4() 1079 asoc->timeouts[timer] *= 2; in sctp_cmd_t1_timer_update() 1080 if (asoc->timeouts[timer] > asoc->max_init_timeo) { in sctp_cmd_t1_timer_update() 1081 asoc->timeouts[timer] = asoc->max_init_timeo; in sctp_cmd_t1_timer_update() 1088 asoc->timeouts[timer]); in sctp_cmd_t1_timer_update() [all …]
|
D | associola.c | 123 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = asoc->rto_initial; in sctp_association_init() 124 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = asoc->rto_initial; in sctp_association_init() 125 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = asoc->rto_initial; in sctp_association_init() 131 asoc->timeouts[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD] in sctp_association_init() 134 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = asoc->sackdelay; in sctp_association_init() 135 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = sp->autoclose * HZ; in sctp_association_init()
|
D | output.c | 606 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) { in sctp_packet_transmit() 610 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]; in sctp_packet_transmit()
|
D | sm_statefuns.c | 854 if (new_asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) in sctp_sf_do_5_1D_ce() 952 if (asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) in sctp_sf_do_5_1E_ca() 3162 if (asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) { in sctp_sf_eat_data_6_2() 4139 if (asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) { in sctp_sf_eat_fwd_tsn() 5541 if (asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) in sctp_sf_do_9_2_start_shutdown() 5622 if (asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) in sctp_sf_do_9_2_shutdown_ack()
|
/net/ipv4/ |
D | tcp_fastopen.c | 587 u32 timeouts = inet_csk(sk)->icsk_retransmits; in tcp_fastopen_active_detect_blackhole() local 596 (timeouts == 2 || (timeouts < 2 && expired))) { in tcp_fastopen_active_detect_blackhole()
|
/net/decnet/ |
D | TODO | 4 o Proper timeouts on each neighbour (in routing mode) rather than
|
/net/netfilter/ipvs/ |
D | ip_vs_app.c | 95 if (app->timeouts) { in ip_vs_app_inc_new() 97 ip_vs_create_timeout_table(app->timeouts, in ip_vs_app_inc_new()
|
/net/can/ |
D | Kconfig | 40 informs you on demand e.g. only on content updates / timeouts.
|