/net/netfilter/ |
H A D | xt_connbytes.c | 28 u_int64_t pkts = 0; local 72 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); 76 pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); 81 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets) + 85 if (pkts != 0) 86 what = div64_u64(bytes, pkts);
|
H A D | nfnetlink_acct.c | 33 atomic64_t pkts; member in struct:nf_acct 69 atomic64_set(&matching->pkts, 0); 87 atomic64_set(&nfacct->pkts, 102 u64 pkts, bytes; local 118 pkts = atomic64_xchg(&acct->pkts, 0); 121 pkts = atomic64_read(&acct->pkts); 124 if (nla_put_be64(skb, NFACCT_PKTS, cpu_to_be64(pkts)) || 334 atomic64_inc(&nfacct->pkts); [all...] |
H A D | nf_conntrack_netlink.c | 213 dump_counters(struct sk_buff *skb, u64 pkts, u64 bytes, argument 223 if (nla_put_be64(skb, CTA_COUNTERS_PACKETS, cpu_to_be64(pkts)) || 240 u64 pkts, bytes; local 247 pkts = atomic64_xchg(&acct[dir].packets, 0); 250 pkts = atomic64_read(&acct[dir].packets); 253 return dump_counters(skb, pkts, bytes, dir);
|
/net/netfilter/ipvs/ |
H A D | ip_vs_core.c | 1567 int ret, pkts; local 1712 pkts = sysctl_sync_threshold(ipvs); 1714 pkts = atomic_add_return(1, &cp->in_pkts); 1717 ip_vs_sync_conn(net, cp, pkts);
|
H A D | ip_vs_sync.c | 429 * pkts: conn packets, use sysctl_sync_threshold to avoid packet check 433 * for state changes or only once when pkts matches sync_threshold 438 struct ip_vs_conn *cp, int pkts) 498 pkts % sync_period != sysctl_sync_threshold(ipvs)) 501 pkts != sysctl_sync_threshold(ipvs)) 515 int pkts) 531 if (!ip_vs_sync_conn_needed(ipvs, cp, pkts)) 599 pkts = atomic_add_return(1, &cp->in_pkts); 601 pkts = sysctl_sync_threshold(ipvs); 602 ip_vs_sync_conn(net, cp->control, pkts); 437 ip_vs_sync_conn_needed(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) argument 514 ip_vs_sync_conn_v0(struct net *net, struct ip_vs_conn *cp, int pkts) argument 611 ip_vs_sync_conn(struct net *net, struct ip_vs_conn *cp, int pkts) argument [all...] |
/net/wireless/ |
H A D | rdev-ops.h | 677 struct net_device *dev, u32 rate, u32 pkts, u32 intvl) 680 trace_rdev_set_cqm_txe_config(&rdev->wiphy, dev, rate, pkts, intvl); 681 ret = rdev->ops->set_cqm_txe_config(&rdev->wiphy, dev, rate, pkts, 676 rdev_set_cqm_txe_config(struct cfg80211_registered_device *rdev, struct net_device *dev, u32 rate, u32 pkts, u32 intvl) argument
|
H A D | nl80211.c | 7466 u32 rate, u32 pkts, u32 intvl) 7484 return rdev_set_cqm_txe_config(rdev, dev, rate, pkts, intvl); 7536 u32 rate, pkts, intvl; local 7538 pkts = nla_get_u32(attrs[NL80211_ATTR_CQM_TXE_PKTS]); 7540 err = nl80211_set_cqm_txe(info, rate, pkts, intvl); 7465 nl80211_set_cqm_txe(struct genl_info *info, u32 rate, u32 pkts, u32 intvl) argument
|
/net/ipv4/ |
H A D | tcp_output.c | 178 static inline void tcp_event_ack_sent(struct sock *sk, unsigned int pkts) argument 180 tcp_dec_quickack_mode(sk, pkts);
|