Searched defs:packets (Results 1 - 7 of 7) sorted by relevance

/net/netfilter/
H A Dnft_counter.c23 u64 packets; member in struct:nft_counter
34 priv->packets++;
43 u64 packets; local
48 packets = priv->packets;
53 if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(packets)))
73 priv->packets = be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_PACKETS]));
H A Dxt_qtaguid_internal.h2 * Kernel iptables module to track stats for packets based on user tags.
175 uint64_t packets; member in struct:byte_packet_counters
195 return counters->bpc[set][direction][IFS_TCP].packets
196 + counters->bpc[set][direction][IFS_UDP].packets
197 + counters->bpc[set][direction][IFS_PROTO_OTHER].packets;
H A Dxt_qtaguid.c2 * Kernel iptables module to track stats for packets based on user tags.
170 int packets)
173 counters->bpc[set][direction][ifs_proto].packets += packets;
691 cnts->bpc[cnt_set][IFS_RX][IFS_TCP].packets,
693 cnts->bpc[cnt_set][IFS_RX][IFS_UDP].packets,
695 cnts->bpc[cnt_set][IFS_RX][IFS_PROTO_OTHER].packets,
697 cnts->bpc[cnt_set][IFS_TX][IFS_TCP].packets,
699 cnts->bpc[cnt_set][IFS_TX][IFS_UDP].packets,
701 cnts->bpc[cnt_set][IFS_TX][IFS_PROTO_OTHER].packets);
166 dc_add_byte_packets(struct data_counters *counters, int set, enum ifs_tx_rx direction, enum ifs_proto ifs_proto, int bytes, int packets) argument
[all...]
/net/core/
H A Dgen_stats.c110 u32 packets; local
115 packets = bcpu->bstats.packets;
119 bstats->packets += packets;
132 bstats->packets = b->packets;
159 d->tc_stats.packets = bstats.packets;
167 sb.packets
[all...]
/net/sched/
H A Dsch_generic.c61 int *packets)
74 (*packets)++; /* GSO counts as one pkt */
83 int *packets)
88 *packets = 1;
105 try_bulk_dequeue_skb(q, skb, txq, packets);
211 static inline int qdisc_restart(struct Qdisc *q, int *packets) argument
220 skb = dequeue_skb(q, &validate, packets);
234 int packets; local
236 while (qdisc_restart(q, &packets)) {
242 quota -= packets;
58 try_bulk_dequeue_skb(struct Qdisc *q, struct sk_buff *skb, const struct netdev_queue *txq, int *packets) argument
82 dequeue_skb(struct Qdisc *q, bool *validate, int *packets) argument
[all...]
/net/mac80211/
H A Dsta_info.c1733 u64 packets = 0; local
1764 packets += sta->tx_packets[ac];
1766 sinfo->tx_packets = packets;
/net/ipv4/
H A Dtcp_input.c54 * Andi Kleen: Process packets with PSH set in the
623 * he can only send snd_cwnd unacked packets at any given time. For
746 /* Set the sk_pacing_rate to allow proper sizing of TSO packets.
749 * TCP pacing, to smooth the burst on large writes when packets
2087 * Counting packets in flight is pretty simple.
2091 * packets_out is SND.NXT-SND.UNA counted in packets.
2115 * lost packets.
2119 * packets until the most forward SACK are lost. I.e.
2122 * packets. And it loses any connection to reality when reordering
2143 * holes, caused by lost packets
2215 tcp_mark_head_lost(struct sock *sk, int packets, int mark_head) argument
[all...]

Completed in 748 milliseconds