Home
last modified time | relevance | path

Searched refs:pkts (Results 1 – 11 of 11) sorted by relevance

/net/netfilter/
Dxt_connbytes.c28 u_int64_t pkts = 0; in connbytes_mt() local
74 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
78 pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
83 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets) + in connbytes_mt()
87 if (pkts != 0) in connbytes_mt()
88 what = div64_u64(bytes, pkts); in connbytes_mt()
Dnfnetlink_acct.c31 atomic64_t pkts; member
79 atomic64_set(&matching->pkts, 0); in nfnl_acct_new()
123 atomic64_set(&nfacct->pkts, in nfnl_acct_new()
138 u64 pkts, bytes; in nfnl_acct_fill_info() local
156 pkts = atomic64_xchg(&acct->pkts, 0); in nfnl_acct_fill_info()
162 pkts = atomic64_read(&acct->pkts); in nfnl_acct_fill_info()
165 if (nla_put_be64(skb, NFACCT_PKTS, cpu_to_be64(pkts), in nfnl_acct_fill_info()
441 atomic64_inc(&nfacct->pkts); in nfnl_acct_update()
478 atomic64_read(&nfacct->pkts) : atomic64_read(&nfacct->bytes); in nfnl_acct_overquota()
Dnf_tables_core.c225 stats->pkts++; in nft_do_chain()
Dnf_tables_api.c906 u64 pkts, bytes; in nft_dump_stats() local
914 pkts = cpu_stats->pkts; in nft_dump_stats()
917 total.pkts += pkts; in nft_dump_stats()
924 if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.pkts), in nft_dump_stats()
1159 stats->pkts = be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_PACKETS])); in nft_stats_alloc()
Dnf_conntrack_netlink.c226 u64 pkts, bytes; in dump_counters() local
229 pkts = atomic64_xchg(&counter[dir].packets, 0); in dump_counters()
232 pkts = atomic64_read(&counter[dir].packets); in dump_counters()
240 if (nla_put_be64(skb, CTA_COUNTERS_PACKETS, cpu_to_be64(pkts), in dump_counters()
/net/netfilter/ipvs/
Dip_vs_sync.c458 struct ip_vs_conn *cp, int pkts) in ip_vs_sync_conn_needed() argument
521 pkts % sync_period != sysctl_sync_threshold(ipvs)) in ip_vs_sync_conn_needed()
524 pkts != sysctl_sync_threshold(ipvs)) in ip_vs_sync_conn_needed()
538 int pkts) in ip_vs_sync_conn_v0() argument
553 if (!ip_vs_sync_conn_needed(ipvs, cp, pkts)) in ip_vs_sync_conn_v0()
615 pkts = atomic_add_return(1, &cp->in_pkts); in ip_vs_sync_conn_v0()
617 pkts = sysctl_sync_threshold(ipvs); in ip_vs_sync_conn_v0()
618 ip_vs_sync_conn(ipvs, cp, pkts); in ip_vs_sync_conn_v0()
627 void ip_vs_sync_conn(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) in ip_vs_sync_conn() argument
639 ip_vs_sync_conn_v0(ipvs, cp, pkts); in ip_vs_sync_conn()
[all …]
Dip_vs_core.c1850 int ret, pkts; in ip_vs_in() local
2001 pkts = sysctl_sync_threshold(ipvs); in ip_vs_in()
2003 pkts = atomic_add_return(1, &cp->in_pkts); in ip_vs_in()
2006 ip_vs_sync_conn(ipvs, cp, pkts); in ip_vs_in()
/net/wireless/
Drdev-ops.h730 struct net_device *dev, u32 rate, u32 pkts, u32 intvl) in rdev_set_cqm_txe_config() argument
733 trace_rdev_set_cqm_txe_config(&rdev->wiphy, dev, rate, pkts, intvl); in rdev_set_cqm_txe_config()
734 ret = rdev->ops->set_cqm_txe_config(&rdev->wiphy, dev, rate, pkts, in rdev_set_cqm_txe_config()
Dtrace.h1309 u32 pkts, u32 intvl),
1310 TP_ARGS(wiphy, netdev, rate, pkts, intvl),
1315 __field(u32, pkts)
1322 __entry->pkts = pkts;
1326 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->rate, __entry->pkts,
Dnl80211.c9307 u32 rate, u32 pkts, u32 intvl) in nl80211_set_cqm_txe() argument
9323 return rdev_set_cqm_txe_config(rdev, dev, rate, pkts, intvl); in nl80211_set_cqm_txe()
9377 u32 pkts = nla_get_u32(attrs[NL80211_ATTR_CQM_TXE_PKTS]); in nl80211_set_cqm() local
9380 return nl80211_set_cqm_txe(info, rate, pkts, intvl); in nl80211_set_cqm()
/net/ipv4/
Dtcp_output.c177 static inline void tcp_event_ack_sent(struct sock *sk, unsigned int pkts) in tcp_event_ack_sent() argument
179 tcp_dec_quickack_mode(sk, pkts); in tcp_event_ack_sent()