Searched refs:packets (Results 1 - 200 of 1644) sorted by relevance

123456789

/linux-4.1.27/sound/firewire/
H A Dpackets-buffer.h8 * struct iso_packets_buffer - manages a buffer for many packets
9 * @iso_buffer: the memory containing the packets
10 * @packets: an array, with each element pointing to one packet
17 } *packets; member in struct:iso_packets_buffer
H A Dpackets-buffer.c2 * helpers for managing a buffer for many packets
11 #include "packets-buffer.h"
14 * iso_packets_buffer_init - allocates the memory for packets
17 * @count: the number of packets
30 b->packets = kmalloc(count * sizeof(*b->packets), GFP_KERNEL); iso_packets_buffer_init()
31 if (!b->packets) { iso_packets_buffer_init()
53 b->packets[i].buffer = p + offset_in_page; iso_packets_buffer_init()
54 b->packets[i].offset = page_index * PAGE_SIZE + offset_in_page; iso_packets_buffer_init()
60 kfree(b->packets); iso_packets_buffer_init()
75 kfree(b->packets); iso_packets_buffer_destroy()
H A DMakefile1 snd-firewire-lib-objs := lib.o iso-resources.o packets-buffer.o \
H A Damdtp.h8 #include "packets-buffer.h"
19 * @CIP_SYNC_TO_DEVICE: In sync to device mode, time stamp in out packets is
20 * generated by in packets. Defaultly this driver generates timestamp.
21 * @CIP_EMPTY_WITH_TAG0: Only for in-stream. Empty in-packets have TAG0.
24 * @CIP_WRONG_DBS: Only for in-stream. The value of dbs is wrong in in-packets.
97 * Then this AMDTP packets can transfer maximum 8 MIDI data streams.
154 /* quirk: fixed interval of dbc between previos/current packets. */
H A Damdtp.c146 * Currently firewire-lib processes 16 packets in one software amdtp_stream_add_pcm_hw_constraints()
227 /* additional buffering needed to adjust for no-data packets */ amdtp_stream_set_parameters()
335 * 2) packets with a rounded-up number of blocks occur as early calculate_data_blocks()
611 s->buffer.packets[s->packet_index].offset); queue_packet()
651 buffer = s->buffer.packets[s->packet_index].buffer; handle_out_packet()
790 unsigned int i, syt, packets = header_length / 4; out_stream_callback() local
797 cycle += QUEUE_LENGTH - packets; out_stream_callback()
799 for (i = 0; i < packets; ++i) { out_stream_callback()
811 unsigned int p, syt, packets, payload_quadlets; in_stream_callback() local
814 /* The number of packets in buffer */ in_stream_callback()
815 packets = header_length / IN_PACKET_HEADER_SIZE; in_stream_callback()
817 for (p = 0; p < packets; p++) { in_stream_callback()
821 buffer = s->buffer.packets[s->packet_index].buffer; in_stream_callback()
845 /* when sync to device, flush the packets for slave stream */ in_stream_callback()
885 * amdtp_stream_start - start transferring packets
1023 * amdtp_stream_stop - stop sending packets
/linux-4.1.27/drivers/net/ethernet/pasemi/
H A Dpasemi_mac_ethtool.c33 { "rx-packets" },
34 { "rx-broadcast-packets" },
35 { "rx-multicast-packets" },
41 { "rx-64-byte-packets" },
42 { "rx-65-127-byte-packets" },
43 { "rx-128-255-byte-packets" },
44 { "rx-256-511-byte-packets" },
45 { "rx-512-1023-byte-packets" },
46 { "rx-1024-1518-byte-packets" },
49 { "tx-packets" },
50 { "tx-broadcast-packets" },
51 { "tx-multicast-packets" },
58 { "tx-64-byte-packets" },
59 { "tx-65-127-byte-packets" },
60 { "tx-128-255-byte-packets" },
61 { "tx-256-511-byte-packets" },
62 { "tx-512-1023-byte-packets" },
63 { "tx-1024-1518-byte-packets" },
/linux-4.1.27/include/uapi/linux/
H A Dgen_stats.h20 * @packets: number of seen packets
24 __u32 packets; member in struct:gnet_stats_basic
28 __u32 packets; member in struct:gnet_stats_basic_packed
55 * @drops: number of dropped packets
H A Dif_pppol2tp.h31 __u16 s_tunnel, s_session; /* For matching incoming packets */
32 __u16 d_tunnel, d_session; /* For sending outgoing packets */
43 __u16 s_tunnel, s_session; /* For matching incoming packets */
44 __u16 d_tunnel, d_session; /* For sending outgoing packets */
59 __u32 s_tunnel, s_session; /* For matching incoming packets */
60 __u32 d_tunnel, d_session; /* For sending outgoing packets */
68 __u32 s_tunnel, s_session; /* For matching incoming packets */
69 __u32 d_tunnel, d_session; /* For sending outgoing packets */
76 * SENDSEQ - 0 => don't send packets with sequence numbers
77 * 1 => send packets with sequence numbers
79 * 1 => drop receive packets without sequence numbers
99 PPPOL2TP_MSG_DATA = (1 << 3), /* data packets */
H A Dppp_defs.h77 * What to do with network protocol (NP) packets.
94 __u32 ppp_ipackets; /* packets received */
100 __u32 ppp_opackets; /* packets sent */
106 __u32 vjs_packets; /* outbound packets */
107 __u32 vjs_compressed; /* outbound compressed packets */
110 __u32 vjs_uncompressedin; /* inbound uncompressed packets */
111 __u32 vjs_compressedin; /* inbound compressed packets */
112 __u32 vjs_errorin; /* inbound unknown type packets */
113 __u32 vjs_tossed; /* inbound packets tossed because of error */
118 __u32 unc_packets; /* total uncompressed packets */
120 __u32 comp_packets; /* compressed packets */
122 __u32 inc_packets; /* incompressible packets */
H A Dif_tun.h73 #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */
74 #define TUN_F_TSO4 0x02 /* I can handle TSO for IPv4 packets */
75 #define TUN_F_TSO6 0x04 /* I can handle TSO for IPv6 packets */
77 #define TUN_F_UFO 0x10 /* I can handle UFO packets */
79 /* Protocol info prepended to the packets (when IFF_NO_PI is not set) */
90 * all packets (promisc mode).
91 * If the filter is enabled in order to accept broadcast packets
94 #define TUN_FLT_ALLMULTI 0x0001 /* Accept all multicast packets */
H A Dnet_tstamp.h2 * Userspace API for hardware time stamping of network packets
63 * Enables hardware time stamping for outgoing packets;
71 * Enables time stamping for outgoing packets just as
73 * directly into Sync packets. In this case, transmitted Sync
74 * packets will not received a time stamp via the socket error
88 /* return value: time stamp all packets requested plus some others */
H A Dpkt_sched.h8 no more precise mechanism to classify packets.
34 __u32 packets; /* Number of enqueued packets */ member in struct:tc_stats
118 __u32 limit; /* Queue length: bytes for bfifo, packets for pfifo */
147 * buffer any incoming packets
148 * TCQ_PLUG_RELEASE_ONE: Dequeue packets from queue head
150 * TCQ_PLUG_RELEASE_INDEFINITE: Dequeue all packets from queue.
151 * Stop buffering packets until the next TCQ_PLUG_BUFFER
193 __u32 limit; /* Maximal packets in queue */
201 __u32 prob_mark; /* Marked packets, below max threshold */
202 __u32 forced_mark; /* Marked packets, after max threshold */
203 __u32 prob_mark_head; /* Marked packets, below max threshold */
204 __u32 forced_mark_head;/* Marked packets, after max threshold */
209 unsigned int depth; /* max number of packets per flow */
258 __u32 marked; /* Marked packets */
291 __u32 packets; member in struct:tc_gred_qopt
317 __u32 limit; /* Hard queue length (packets) */
318 __u32 qth_min; /* Min average threshold (packets) */
319 __u32 qth_max; /* Max average threshold (packets) */
330 __u32 marked; /* Marked packets */
355 __u32 direct_pkts; /* count of non shaped packets */
374 __u32 giants; /* too big packets (rate will not be accurate) */
536 __u32 limit; /* fifo limit (packets) */
696 __u32 ecn_mark; /* number of packets we ECN marked instead of dropped */
725 __u32 ecn_mark; /* number of packets we ECN marked
728 __u32 new_flow_count; /* number of time packets
759 TCA_FQ_PLIMIT, /* limit of total number of packets in queue */
761 TCA_FQ_FLOW_PLIMIT, /* limit of packets per flow */
842 __u32 packets_in; /* total number of packets enqueued */
843 __u32 dropped; /* packets dropped due to pie_action */
846 __u32 ecn_mark; /* packets marked with ecn*/
H A Dncp_mount.h30 __kernel_pid_t wdog_pid; /* Who cares for our watchdog packets? */
53 long wdog_pid; /* Who cares for our watchdog packets? */
H A Datmarp.h17 #define ATMARP_MAX_UNRES_PACKETS 5 /* queue that many packets while
H A Dppp-ioctl.h26 #define SC_CCP_OPEN 0x00000040 /* Look at CCP packets */
27 #define SC_CCP_UP 0x00000080 /* May send/recv compressed packets */
28 #define SC_ENABLE_IP 0x00000100 /* IP packets may be exchanged */
41 #define SC_MUST_COMP 0x00400000 /* no uncompressed packets may be sent or received */
H A Dudp.h31 #define UDP_ENCAP 100 /* Set the socket to accept encapsulated packets */
H A Dif_link.h9 __u32 rx_packets; /* total packets received */
10 __u32 tx_packets; /* total packets transmitted */
13 __u32 rx_errors; /* bad packets received */
17 __u32 multicast; /* multicast packets received */
42 __u64 rx_packets; /* total packets received */
43 __u64 tx_packets; /* total packets transmitted */
46 __u64 rx_errors; /* bad packets received */
50 __u64 multicast; /* multicast packets received */
H A Dif_packet.h200 * Case 1. Block has 'N'(N >=1) packets and TMO'd(timed out)
207 * Case 2. Block has zero packets and TMO'd
210 * Case 3. Block has 'N' packets and NO TMO.
215 * Case a) ZERO packets
216 * No packets to deal with but atleast you know the
218 * Case b) Non-zero packets
H A Dfirewire-cdev.h112 * involve response packets. This includes unified write transactions,
114 * packets. @rcode indicates success or failure of such transmissions.
216 * %FW_CDEV_IOC_FLUSH_ISO, or when there have been so many completed packets
224 * is a multiple of 4 and &header contains timestamps of all packets up until
230 * The headers stripped of all packets up until and including the interrupt
236 * packets received in this interrupt event. The client can now iterate
237 * through the mmap()'ed DMA buffer according to this number of packets and
761 * packets are queued for this entry.
765 * If the @control.SYNC flag is set, the context drops all packets until a
773 * be written to, not even by the next packet. I.e., packets received in
775 * entry has queued multiple packets, the PAYLOAD_LENGTH is divided equally
780 * multiple receive packets is completed when its last packet is completed.
786 * of packets to be placed into the buffer chunk is not known beforehand.
789 * for header, payload, padding, and trailer bytes of one or more packets.
804 * struct fw_cdev_queue_iso - Queue isochronous packets for I/O
805 * @packets: Userspace pointer to an array of &fw_cdev_iso_packet
807 * @size: Size of the @packets array, in bytes
810 * Queue a number of isochronous packets for reception or transmission.
817 * The kernel may or may not queue all packets, but will write back updated
818 * values of the @packets, @data and @size fields, so the ioctl can be
825 __u64 packets; member in struct:fw_cdev_queue_iso
841 * @sync: Determines the value to wait for for receive packets that have
844 * Determines the tag values for which packets will be accepted.
864 * struct fw_cdev_flush_iso - flush completed iso packets
868 * report any completed packets.
907 * isochronous packets with system time.
1013 * @data[1] needs to be the bitwise inverse of @data[0]. VersaPHY packets
1025 * struct fw_cdev_receive_phy_packets - start reception of PHY packets
1029 * incoming PHY packets from any node on the same bus as the device.
H A Dopenvswitch.h72 * @OVS_DP_ATTR_STATS: Statistics about packets that have passed through the
108 __u64 rx_packets; /* total packets received */
109 __u64 tx_packets; /* total packets transmitted */
112 __u64 rx_errors; /* bad packets received */
222 * among which OVS_PACKET_CMD_MISS upcalls will be distributed for packets
226 * packets sent or received through the vport.
290 __u64 n_packets; /* Number of matched packets. */
438 * the actions to take for packets that match the key. Always present in
447 * TCP flags seen on packets in this flow. Only present in notifications for
504 * @OVS_SAMPLE_ATTR_PROBABILITY: 32-bit fraction of packets to sample with
505 * @OVS_ACTION_ATTR_SAMPLE. A value of 0 samples no packets, a value of
506 * %UINT32_MAX samples all packets and intermediate values sample intermediate
507 * fractions of packets.
614 * top of the packets MPLS label stack. Set the ethertype of the
H A Dif_hippi.h55 int rx_packets; /* total packets received */
56 int tx_packets; /* total packets transmitted */
57 int rx_errors; /* bad packets received */
H A Datmmpc.h26 __be32 in_dst_ip; /* IP address this ingress MPC sends packets to */
37 __be32 eg_dst_ip; /* IP address to which ingress MPC sends packets */
H A Dip_vs.h89 #define IP_VS_CONN_F_NOOUTPUT 0x0080 /* no output packets */
165 __u32 inpkts; /* incoming packets */
166 __u32 outpkts; /* outgoing packets */
423 IPVS_STATS_ATTR_INPKTS, /* incoming packets */
424 IPVS_STATS_ATTR_OUTPKTS, /* outgoing packets */
H A Ddccp.h67 * struct dccp_hdr_ack_bits - acknowledgment bits common to most packets
208 /* DCCP priorities for outgoing/queued packets */
H A Dmroute.h109 unsigned long icount; /* In packets */
110 unsigned long ocount; /* Out packets */
H A Dmroute6.h109 unsigned long icount; /* In packets */
110 unsigned long ocount; /* Out packets */
H A Datmbr2684.h91 int min_size; /* we will pad smaller packets than this */
H A Dpg.h28 current ATAPI devices, command packets are assumed to be exactly
/linux-4.1.27/samples/bpf/
H A Dsockex2_user.c10 __u64 packets; member in struct:pair
41 printf("ip %s bytes %lld packets %lld\n", main()
43 value.bytes, value.packets); main()
H A Dsock_example.c15 * how many packets of given protocol were seen on eth0
83 printf("TCP %lld UDP %lld ICMP %lld packets\n", test_sock()
H A Dtracex1_kern.c24 * looks for packets on loobpack device and prints them bpf_prog1()
H A Dsockex2_kern.c187 long packets; member in struct:pair
211 __sync_fetch_and_add(&value->packets, 1); bpf_prog2()
/linux-4.1.27/drivers/input/joystick/iforce/
H A DMakefile9 iforce-y := iforce-ff.o iforce-main.o iforce-packets.o
/linux-4.1.27/net/netfilter/
H A Dnft_counter.c23 u64 packets; member in struct:nft_counter
34 priv->packets++; nft_counter_eval()
43 u64 packets; nft_counter_dump() local
48 packets = priv->packets; nft_counter_dump()
53 if (nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(packets))) nft_counter_dump()
73 priv->packets = be64_to_cpu(nla_get_be64(tb[NFTA_COUNTER_PACKETS])); nft_counter_init()
H A Dxt_connbytes.c16 MODULE_DESCRIPTION("Xtables: Number of packets/bytes per connection matching");
45 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); connbytes_mt()
48 what = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); connbytes_mt()
51 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); connbytes_mt()
52 what += atomic64_read(&counters[IP_CT_DIR_REPLY].packets); connbytes_mt()
74 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); connbytes_mt()
78 pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); connbytes_mt()
83 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets) + connbytes_mt()
84 atomic64_read(&counters[IP_CT_DIR_REPLY].packets); connbytes_mt()
H A Dxt_TRACE.c1 /* This is a module which is used to mark packets for tracing.
H A Dxt_cluster.c98 /* This match assumes that all nodes see the same packets. This can be xt_cluster_mt()
102 * address. Thus, your switch will flood the same packets to the xt_cluster_mt()
109 * by TCP and others for packets coming to this node. For that reason, xt_cluster_mt()
112 * know, matches should not alter packets, but we are doing this here xt_cluster_mt()
H A Dnf_conntrack_acct.c50 seq_printf(s, "packets=%llu bytes=%llu ", seq_print_acct()
51 (unsigned long long)atomic64_read(&counter[dir].packets), seq_print_acct()
H A Dxt_CONNSECMARK.c2 * This module is used to copy security markings from packets
4 * back to packets. This would normally be performed in conjunction
H A Dnf_conntrack_broadcast.c35 /* we're only interested in locally generated packets */ nf_conntrack_broadcast_help()
H A Dxt_bpf.c1 /* Xtables module to match packets using a BPF filter.
H A Dxt_quota.c37 /* we do not allow even small packets from now on */ quota_mt()
H A Dxt_AUDIT.c2 * Creates audit record for dropped/accepted packets
28 MODULE_DESCRIPTION("Xtables: creates audit records for dropped/accepted packets");
H A Dxt_ecn.c100 pr_info("cannot match TCP bits in rule for non-tcp packets\n"); ecn_mt_check4()
142 pr_info("cannot match TCP bits in rule for non-tcp packets\n"); ecn_mt_check6()
/linux-4.1.27/drivers/net/ethernet/atheros/alx/
H A Dhw.h392 u64 rx_ok; /* good RX packets */
393 u64 rx_bcast; /* good RX broadcast packets */
394 u64 rx_mcast; /* good RX multicast packets */
396 u64 rx_ctrl; /* RX control packets other than pause frames */
397 u64 rx_fcs_err; /* RX packets with bad FCS */
398 u64 rx_len_err; /* RX packets with length != actual size */
400 u64 rx_runt; /* RX packets < 64 bytes with good FCS */
401 u64 rx_frag; /* RX packets < 64 bytes with bad FCS */
402 u64 rx_sz_64B; /* 64 byte RX packets */
403 u64 rx_sz_127B; /* 65-127 byte RX packets */
404 u64 rx_sz_255B; /* 128-255 byte RX packets */
405 u64 rx_sz_511B; /* 256-511 byte RX packets */
406 u64 rx_sz_1023B; /* 512-1023 byte RX packets */
407 u64 rx_sz_1518B; /* 1024-1518 byte RX packets */
408 u64 rx_sz_max; /* 1519 byte to MTU RX packets */
409 u64 rx_ov_sz; /* truncated RX packets, size > MTU */
415 u64 rx_err_addr; /* packets dropped due to address filtering */
418 u64 tx_ok; /* good TX packets */
419 u64 tx_bcast; /* good TX broadcast packets */
420 u64 tx_mcast; /* good TX multicast packets */
422 u64 tx_exc_defer; /* TX packets deferred excessively */
424 u64 tx_defer; /* TX packets deferred */
426 u64 tx_sz_64B; /* 64 byte TX packets */
427 u64 tx_sz_127B; /* 65-127 byte TX packets */
428 u64 tx_sz_255B; /* 128-255 byte TX packets */
429 u64 tx_sz_511B; /* 256-511 byte TX packets */
430 u64 tx_sz_1023B; /* 512-1023 byte TX packets */
431 u64 tx_sz_1518B; /* 1024-1518 byte TX packets */
432 u64 tx_sz_max; /* 1519 byte to MTU TX packets */
433 u64 tx_single_col; /* packets TX after a single collision */
434 u64 tx_multi_col; /* packets TX after multiple collisions */
435 u64 tx_late_col; /* TX packets with late collisions */
436 u64 tx_abort_col; /* TX packets aborted w/excessive collisions */
437 u64 tx_underrun; /* TX packets aborted due to TX FIFO underrun
443 u64 tx_len_err; /* TX packets where length != actual size */
444 u64 tx_trunc; /* TX packets truncated due to size > MTU */
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-pip.h186 /* Inbound packets marked to be dropped by the IPD */
192 /* Number of packets processed by PIP */
193 uint32_t packets; member in struct:__anon1988
195 * Number of identified L2 multicast packets. Does not
196 * include broadcast packets. Only includes packets whose
201 * Number of identified L2 broadcast packets. Does not
202 * include multicast packets. Only includes packets whose
206 /* Number of 64B packets */
208 /* Number of 65-127B packets */
210 /* Number of 128-255B packets */
212 /* Number of 256-511B packets */
214 /* Number of 512-1023B packets */
216 /* Number of 1024-1518B packets */
218 /* Number of 1519-max packets */
220 /* Number of packets with FCS or Align opcode errors */
222 /* Number of packets with length < min */
224 /* Number of packets with length < min and FCS error */
226 /* Number of packets with length > max */
228 /* Number of packets with length > max and FCS error */
230 /* Number of packets without GMX/SPX/PCI errors received by PIP */
233 * Total number of octets from all packets received by PIP,
237 /* Number of packets with GMX/SPX/PCI errors received by PIP */
314 * @qos: QoS queue for packets matching this watcher
335 * @qos: QoS queue for packets matching this watcher
350 * @qos: QoS queue for packets matching this watcher
410 status->packets = stat2.s.pkts; cvmx_pip_get_port_status()
434 if (status->inb_packets > status->packets) cvmx_pip_get_port_status()
436 status->inb_packets - status->packets; cvmx_pip_get_port_status()
H A Dcvmx-helper-rgmii.h49 * Put an RGMII interface in loopback mode. Internal packets sent
51 * received packets will echo back out.
96 * causes packets sent by the port to be received by Octeon. External loopback
97 * causes packets received from the wire to sent out again.
H A Dcvmx-helper-sgmii.h90 * causes packets sent by the port to be received by Octeon. External loopback
91 * causes packets received from the wire to sent out again.
H A Dcvmx-helper-xaui.h90 * causes packets sent by the port to be received by Octeon. External loopback
91 * causes packets received from the wire to sent out again.
H A Dcvmx-config.h127 * packets. You might want to skip the IPD enable if configuration
135 * to incoming packets.
/linux-4.1.27/drivers/firewire/
H A Dnosy-user.h18 * Format of packets returned from the kernel driver:
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_SECMARK.h11 * packets are being marked for.
H A Dxt_limit.h14 __u32 avg; /* Average secs between packets * scale */
H A Dxt_hashlimit.h29 __u32 avg; /* Average secs between packets * scale */
53 __u32 avg; /* Average secs between packets * scale */
H A Dxt_set.h69 struct ip_set_counter_match0 packets; member in struct:xt_set_info_match_v3
88 struct ip_set_counter_match packets; member in struct:xt_set_info_match_v4
H A Dnfnetlink_log.h4 /* This file describes the netlink messages (i.e. 'protocol packets'),
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debt_limit.h15 __u32 avg; /* Average secs between packets * scale */
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
H A Dip6t_ipv6header.h1 /* ipv6header match - matches IPv6 packets based
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
H A Dwl18xx.h86 /* number of packets to queue up for a link in PS */
92 /* Should have less than this number of packets in queue of a slow
97 /* Should have less than this number of packets in queue of a fast
102 /* Should have less than this number of packets in queue of a slow
103 * link before we stop queuing up packets for it.
107 /* Should have less than this number of packets in queue of a fast
108 * link before we stop queuing up packets for it.
116 /* Cumulative counter of released packets per AC */
119 /* Cumulative counter of freed packets per HLID */
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
H A Datl1.h324 u32 rx_ok; /* good RX packets */
325 u32 rx_bcast; /* good RX broadcast packets */
326 u32 rx_mcast; /* good RX multicast packets */
328 u32 rx_ctrl; /* RX control packets other than pause frames */
329 u32 rx_fcs_err; /* RX packets with bad FCS */
330 u32 rx_len_err; /* RX packets with length != actual size */
332 u32 rx_runt; /* RX packets < 64 bytes with good FCS */
333 u32 rx_frag; /* RX packets < 64 bytes with bad FCS */
334 u32 rx_sz_64; /* 64 byte RX packets */
340 u32 rx_sz_1519_max; /* 1519 byte to MTU RX packets */
341 u32 rx_sz_ov; /* truncated RX packets > MTU */
347 u32 rx_err_addr; /* packets dropped due to address filtering */
350 u32 tx_ok; /* good TX packets */
351 u32 tx_bcast; /* good TX broadcast packets */
352 u32 tx_mcast; /* good TX multicast packets */
354 u32 tx_exc_defer; /* TX packets deferred excessively */
356 u32 tx_defer; /* TX packets deferred */
358 u32 tx_sz_64; /* 64 byte TX packets */
364 u32 tx_sz_1519_max; /* 1519 byte to MTU TX packets */
365 u32 tx_1_col; /* packets TX after a single collision */
366 u32 tx_2_col; /* packets TX after multiple collisions */
367 u32 tx_late_col; /* TX packets with late collisions */
368 u32 tx_abort_col; /* TX packets aborted w/excessive collisions */
369 u32 tx_underrun; /* TX packets aborted due to TX FIFO underrun
373 u32 tx_len_err; /* TX packets where length != actual size */
374 u32 tx_trunc; /* TX packets truncated due to size > MTU */
679 u64 excecol; /* TX packets w/ excessive collisions */
680 u64 deffer; /* TX packets deferred */
681 u64 scc; /* packets TX after a single collision */
682 u64 mcc; /* packets TX after multiple collisions */
683 u64 latecol; /* TX packets w/ late collisions */
684 u64 tx_underun; /* TX packets aborted due to TX FIFO underrun
686 u64 tx_trunc; /* TX packets truncated due to size > MTU */
687 u64 rx_pause; /* num Pause packets received. */
725 * packets should add 4 bytes */
/linux-4.1.27/drivers/net/
H A Dnlmon.c10 u64 packets; member in struct:pcpu_lstats
22 stats->packets++; nlmon_xmit()
83 u64 bytes = 0, packets = 0; nlmon_get_stats64() local
95 tpackets = nl_stats->packets; for_each_possible_cpu()
98 packets += tpackets; for_each_possible_cpu()
102 stats->rx_packets = packets;
H A Dloopback.c21 * on packets received on the loopback
62 u64 packets; member in struct:pcpu_lstats
93 lb_stats->packets++; loopback_xmit()
104 u64 packets = 0; loopback_get_stats64() local
116 tpackets = lb_stats->packets; for_each_possible_cpu()
119 packets += tpackets; for_each_possible_cpu()
121 stats->rx_packets = packets;
122 stats->tx_packets = packets;
H A Dveth.c30 u64 packets; member in struct:pcpu_vstats
126 stats->packets++; veth_xmit()
145 result->packets = 0; veth_stats_one()
149 u64 packets, bytes; for_each_possible_cpu() local
154 packets = stats->packets; for_each_possible_cpu()
157 result->packets += packets; for_each_possible_cpu()
172 tot->tx_packets = one.packets; veth_get_stats64()
179 tot->rx_packets = one.packets; veth_get_stats64()
H A Ddummy.c4 route through, but not to actually transmit packets.
24 misguided packets.
/linux-4.1.27/include/linux/netfilter/
H A Dnf_conntrack_tcp.h21 u_int8_t retrans; /* Number of retransmitted packets */
27 /* For SYN packets while we may be out-of-sync */
/linux-4.1.27/include/linux/
H A Drxrpc.h57 #define RXRPC_SECURITY_PLAIN 0 /* plain secure-checksummed packets only */
58 #define RXRPC_SECURITY_AUTH 1 /* authenticated packets */
59 #define RXRPC_SECURITY_ENCRYPT 2 /* encrypted packets */
H A Dinet_lro.h62 int pkt_aggr_cnt; /* counts aggregated packets */
80 #define LRO_F_NAPI 1 /* Pass packets to stack via NAPI */
82 from received packets and eth protocol
94 int max_aggr; /* Max number of LRO packets to be aggregated */
H A DmISDNdsp.h35 int unordered; /* data is unordered (packets have index) */
H A Darcdevice.h68 #define D_TX 256 /* show tx packets */
69 #define D_RX 512 /* show rx packets */
122 * ARCnet registers work That's why RFC1201 defines "exception" packets.
175 #define NORMALconf 0x00 /* 1-249 byte packets */
176 #define EXTconf 0x08 /* 250-504 byte packets */
210 * to us. Mostly for partially-received split packets.
216 numpackets; /* number of packets in split */
H A Dkgdb.h158 * kgdb_arch_handle_exception - Handle architecture specific GDB packets.
166 * This function MUST handle the 'c' and 's' command packets,
167 * as well packets to set / remove a hardware breakpoint, if used.
168 * If there are additional packets which the hardware needs to handle,
170 * process more packets, and a %0 or %1 if it wants to exit from the
H A Dtcp.h215 u32 retrans_out; /* Retransmitted packets out */
226 * Options received (usually on last packet, some only on SYN packets).
240 u32 prr_delivered; /* Number of newly delivered packets to
248 u32 lost_out; /* Lost packets */
249 u32 sacked_out; /* SACK'd packets */
250 u32 fackets_out; /* FACK'd packets */
/linux-4.1.27/net/sched/
H A Dsch_plug.c61 /* If true, the dequeue function releases all packets
63 * a pass-through queue for newly arriving packets.
70 /* Number of packets (output) from the current speculatively
75 /* Number of packets corresponding to the recently finished
83 * Number of packets from the head of the queue, that can
111 /* No more packets to dequeue. Block the queue plug_dequeue()
154 * buffer any incoming packets
155 * TCQ_PLUG_RELEASE_ONE: Dequeue packets from queue head
157 * TCQ_PLUG_RELEASE_INDEFINITE: Dequeue all packets from queue.
158 * Stop buffering packets until the next TCQ_PLUG_BUFFER
184 /* Add packets from the last complete buffer to the plug_change()
185 * packets to be released set. plug_change()
H A Dsch_pie.c43 u32 limit; /* number of packets that can be enqueued */
64 u32 packets_in; /* total number of packets enqueued */
65 u32 dropped; /* packets dropped due to pie_action */
68 u32 ecn_mark; /* packets marked with ECN */
84 params->limit = 1000; /* default of 1000 packets */ pie_params_init()
116 /* If we have fewer than 2 mtu-sized packets, disable drop_early, drop_early()
123 * probablity. Smaller packets will have lower drop prob in this case drop_early()
230 /* Drop excess packets if new limit is lower */ pie_change()
250 /* If current queue is about 10 packets or more and dq_count is unset pie_process_dequeue()
251 * we have enough packets to calculate the drain rate. Save pie_process_dequeue()
261 * the dq_count to -1 as we don't have enough packets to calculate the pie_process_dequeue()
H A Dsch_fq.c14 * All packets belonging to a socket are considered as a 'flow'.
22 * bunch of packets, and this packet scheduler adds delay between
23 * packets to respect rate limitation.
29 * - Use a special fifo for high prio packets
33 * rb trees, for performance reasons (its expected to send additional packets,
68 int qlen; /* number of packets in flow queue */
90 struct fq_flow internal; /* for non classified or high prio packets */
95 u32 flow_plimit; /* max packets per flow */
320 * We special case tcp retransmits to be transmitted before other packets.
485 /* Do not pace locally generated ack packets */ fq_dequeue()
501 * Really, providers of too big packets should be fixed ! fq_dequeue()
H A Dsch_generic.c61 int *packets) try_bulk_dequeue_skb()
74 (*packets)++; /* GSO counts as one pkt */ try_bulk_dequeue_skb()
83 int *packets) dequeue_skb()
88 *packets = 1; dequeue_skb()
105 try_bulk_dequeue_skb(q, skb, txq, packets); dequeue_skb()
211 static inline int qdisc_restart(struct Qdisc *q, int *packets) qdisc_restart() argument
220 skb = dequeue_skb(q, &validate, packets); qdisc_restart()
234 int packets; __qdisc_run() local
236 while (qdisc_restart(q, &packets)) { __qdisc_run()
242 quota -= packets; __qdisc_run()
58 try_bulk_dequeue_skb(struct Qdisc *q, struct sk_buff *skb, const struct netdev_queue *txq, int *packets) try_bulk_dequeue_skb() argument
82 dequeue_skb(struct Qdisc *q, bool *validate, int *packets) dequeue_skb() argument
H A Dact_connmark.c64 /* using overlimits stats to count how many packets marked */ tcf_connmark()
78 /* using overlimits stats to count how many packets marked */ tcf_connmark()
H A Dact_gact.c38 if (!gact->tcfg_pval || gact->tcf_bstats.packets % gact->tcfg_pval) gact_determ()
133 gact->tcf_bstats.packets++; tcf_gact()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
H A Datl1c.h319 unsigned long rx_fcs_err; /* The number of packets with bad FCS. */
320 unsigned long rx_len_err; /* The number of packets with mismatch of length field and actual size. */
322 unsigned long rx_runt; /* The number of packets received that are less than 64 byte long and with good FCS. */
323 unsigned long rx_frag; /* The number of packets received that are less than 64 byte long and with bad FCS. */
324 unsigned long rx_sz_64; /* The number of good and bad packets received that are 64 byte long. */
325 unsigned long rx_sz_65_127; /* The number of good and bad packets received that are between 65 and 127-byte long. */
326 unsigned long rx_sz_128_255; /* The number of good and bad packets received that are between 128 and 255-byte long. */
327 unsigned long rx_sz_256_511; /* The number of good and bad packets received that are between 256 and 511-byte long. */
328 unsigned long rx_sz_512_1023; /* The number of good and bad packets received that are between 512 and 1023-byte long. */
329 unsigned long rx_sz_1024_1518; /* The number of good and bad packets received that are between 1024 and 1518-byte long. */
330 unsigned long rx_sz_1519_max; /* The number of good and bad packets received that are between 1519-byte and MTU. */
331 unsigned long rx_sz_ov; /* The number of good and bad packets received that are more than MTU size truncated by Selene. */
337 unsigned long rx_err_addr; /* The number of packets dropped due to address filtering. */
344 unsigned long tx_exc_defer; /* The number of packets transmitted with excessive deferral. */
345 unsigned long tx_ctrl; /* The number of packets transmitted is a control frame, excluding Pause frame. */
346 unsigned long tx_defer; /* The number of packets transmitted that is deferred. */
348 unsigned long tx_sz_64; /* The number of good and bad packets transmitted that are 64 byte long. */
349 unsigned long tx_sz_65_127; /* The number of good and bad packets transmitted that are between 65 and 127-byte long. */
350 unsigned long tx_sz_128_255; /* The number of good and bad packets transmitted that are between 128 and 255-byte long. */
351 unsigned long tx_sz_256_511; /* The number of good and bad packets transmitted that are between 256 and 511-byte long. */
352 unsigned long tx_sz_512_1023; /* The number of good and bad packets transmitted that are between 512 and 1023-byte long. */
353 unsigned long tx_sz_1024_1518; /* The number of good and bad packets transmitted that are between 1024 and 1518-byte long. */
354 unsigned long tx_sz_1519_max; /* The number of good and bad packets transmitted that are between 1519-byte and MTU. */
355 unsigned long tx_1_col; /* The number of packets subsequently transmitted successfully with a single prior collision. */
356 unsigned long tx_2_col; /* The number of packets subsequently transmitted successfully with multiple prior collisions. */
357 unsigned long tx_late_col; /* The number of packets transmitted with late collisions. */
358 unsigned long tx_abort_col; /* The number of transmit packets aborted due to excessive collisions. */
359 unsigned long tx_underrun; /* The number of transmit packets aborted due to transmit FIFO underrun, or TRD FIFO underrun */
361 unsigned long tx_len_err; /* The number of transmit packets with length field does NOT match the actual frame size. */
362 unsigned long tx_trunc; /* The number of transmit packets truncated due to size exceeding MTU. */
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e.h266 unsigned long rx_fcs_err; /* The number of packets with bad FCS. */
267 unsigned long rx_len_err; /* The number of packets with mismatch of length field and actual size. */
269 unsigned long rx_runt; /* The number of packets received that are less than 64 byte long and with good FCS. */
270 unsigned long rx_frag; /* The number of packets received that are less than 64 byte long and with bad FCS. */
271 unsigned long rx_sz_64; /* The number of good and bad packets received that are 64 byte long. */
272 unsigned long rx_sz_65_127; /* The number of good and bad packets received that are between 65 and 127-byte long. */
273 unsigned long rx_sz_128_255; /* The number of good and bad packets received that are between 128 and 255-byte long. */
274 unsigned long rx_sz_256_511; /* The number of good and bad packets received that are between 256 and 511-byte long. */
275 unsigned long rx_sz_512_1023; /* The number of good and bad packets received that are between 512 and 1023-byte long. */
276 unsigned long rx_sz_1024_1518; /* The number of good and bad packets received that are between 1024 and 1518-byte long. */
277 unsigned long rx_sz_1519_max; /* The number of good and bad packets received that are between 1519-byte and MTU. */
278 unsigned long rx_sz_ov; /* The number of good and bad packets received that are more than MTU size truncated by Selene. */
284 unsigned long rx_err_addr; /* The number of packets dropped due to address filtering. */
291 unsigned long tx_exc_defer; /* The number of packets transmitted with excessive deferral. */
292 unsigned long tx_ctrl; /* The number of packets transmitted is a control frame, excluding Pause frame. */
293 unsigned long tx_defer; /* The number of packets transmitted that is deferred. */
295 unsigned long tx_sz_64; /* The number of good and bad packets transmitted that are 64 byte long. */
296 unsigned long tx_sz_65_127; /* The number of good and bad packets transmitted that are between 65 and 127-byte long. */
297 unsigned long tx_sz_128_255; /* The number of good and bad packets transmitted that are between 128 and 255-byte long. */
298 unsigned long tx_sz_256_511; /* The number of good and bad packets transmitted that are between 256 and 511-byte long. */
299 unsigned long tx_sz_512_1023; /* The number of good and bad packets transmitted that are between 512 and 1023-byte long. */
300 unsigned long tx_sz_1024_1518; /* The number of good and bad packets transmitted that are between 1024 and 1518-byte long. */
301 unsigned long tx_sz_1519_max; /* The number of good and bad packets transmitted that are between 1519-byte and MTU. */
302 unsigned long tx_1_col; /* The number of packets subsequently transmitted successfully with a single prior collision. */
303 unsigned long tx_2_col; /* The number of packets subsequently transmitted successfully with multiple prior collisions. */
304 unsigned long tx_late_col; /* The number of packets transmitted with late collisions. */
305 unsigned long tx_abort_col; /* The number of transmit packets aborted due to excessive collisions. */
306 unsigned long tx_underrun; /* The number of transmit packets aborted due to transmit FIFO underrun, or TRD FIFO underrun */
308 unsigned long tx_len_err; /* The number of transmit packets with length field does NOT match the actual frame size. */
309 unsigned long tx_trunc; /* The number of transmit packets truncated due to size exceeding MTU. */
/linux-4.1.27/net/vmw_vsock/
H A Dvmci_transport.h28 /* The resource ID on which control packets are sent. */
31 /* The resource ID on which control packets are sent to the hypervisor. */
62 /* Control packet type for STREAM sockets. DGRAMs have no control packets nor
63 * special packet header for data packets, they are just raw VMCI DGRAM
64 * messages. For STREAMs, control packets are sent over the control channel
/linux-4.1.27/include/net/
H A Ddn_route.h34 /* Mask for types of routing packets */
36 /* Types of routing packets */
42 /* Types of control packets */
43 #define DN_RT_CNTL_MSK 0x0f /* Mask for control packets */
68 * packets to the originating host.
80 __le16 rt_local_src; /* Source used for forwarding packets */
H A Dslhc_vj.h58 * toward small packets (see comments on MTU/MSS below), changes
156 int32 sls_o_nontcp; /* outbound non-TCP packets */
157 int32 sls_o_tcp; /* outbound TCP packets */
158 int32 sls_o_uncompressed; /* outbound uncompressed packets */
159 int32 sls_o_compressed; /* outbound compressed packets */
163 int32 sls_i_uncompressed; /* inbound uncompressed packets */
164 int32 sls_i_compressed; /* inbound compressed packets */
165 int32 sls_i_error; /* inbound error packets */
166 int32 sls_i_tossed; /* inbound packets tossed because of error */
H A Dudplite.h41 * checksum. UDP-Lite (like IPv6) mandates checksums, hence packets udplite_checksum_init()
91 * into several packets, each with its own header. udplite_csum_outgoing()
94 * Since packets with coverage length > packet length are udplite_csum_outgoing()
H A Dip6_tunnel.h11 /* capable of sending packets */
13 /* capable of receiving packets */
H A Dred.h72 If you want to allow bursts of L packets of size S,
146 int qcount; /* Number of packets since last random
240 * that the calculation is driven by outgoing packets. red_calc_qavg_from_idle_time()
247 * dummy packets as a burst after idle time, i.e. red_calc_qavg_from_idle_time()
/linux-4.1.27/net/core/
H A Dgen_stats.c113 u32 packets; for_each_possible_cpu() local
118 packets = bcpu->bstats.packets; for_each_possible_cpu()
122 bstats->packets += packets; for_each_possible_cpu()
135 bstats->packets = b->packets; __gnet_stats_copy_basic()
162 d->tc_stats.packets = bstats.packets; gnet_stats_copy_basic()
170 sb.packets = bstats.packets; gnet_stats_copy_basic()
201 /* we have some time before reaching 2^32 packets per second */ gnet_stats_copy_rate_est()
/linux-4.1.27/arch/tile/include/hv/
H A Ddrv_xgbe_impl.h61 * Default numbers of packets for IPP drivers. These values are chosen
65 /** The default number of small packets. */
67 /** The default number of large packets. */
69 /** The default number of jumbo packets. */
79 /** A queue of packets.
81 * This structure partially defines a queue of packets waiting to be
106 * This queue has 10 slots, and thus can hold 9 packets (_last_packet_plus_one
108 * there are valid, unread packets in slots 2, 3, 4, and 5. The remaining
192 * An object for providing Ethernet packets to a process.
196 /** The queue of packets waiting to be received. */
211 /** Number of packets allowed to be outstanding. */
213 /** First VA available for packets. */
215 /** First VA in second range available for packets. */
219 /** The packets themselves. */
239 /** Number of packets left to be received before we send a credit update. */
H A Ddrv_mpipe_intf.h210 * receive packets -- on the specified link. Other processes may also
228 * receive packets -- on the specified link. No other processes may
382 * the incoming data rate, by either delivering or dropping packets. The
386 * will <em>not</em> be sent if packets cannot be delivered because
404 * does not limit the packets received on its channel, although the
406 * address is not used when transmitting packets, although applications
413 /** Determine whether to discard egress packets on link down. If this value
414 * is nonzero, packets sent on this link while the link is down will be
415 * discarded. If this value is zero, no packets will be sent on this link
491 * loops transmitted packets back to the receiver, inside the Tile
496 * loops transmitted packets back to the receiver, inside the external
584 /** Number of ingress packets dropped for any reason. */
586 /** Number of ingress packets dropped because a buffer stack was empty. */
588 /** Number of ingress packets dropped or truncated due to lack of space in
591 /** Number of ingress packets dropped by the classifier or load balancer */
593 /** Total number of ingress packets. */
595 /** Total number of egress packets. */
H A Dnetio_intf.h251 This is expected behavior for short packets, since it's impossible to
376 * This structure represents information about packets which have
507 * large, such as those that cache enormous numbers of packets or wish
877 * size, given enough input packets, it will eventually wrap around to zero;
879 * handed out by different IPPs are not disjoint, so two packets from
903 * (Since the ordinal is of finite size, given enough input packets,
906 * different IPPs are not disjoint, so two packets from different IPPs
907 * may have identical ordinals; similarly, packets distributed to
988 * For TCP and UDP packets, this hash is calculated by hashing together
994 * For IPv4 or IPv6 packets which are neither TCP nor UDP, the flow hash is
997 * For MPLS-encapsulated packets, the flow hash is derived by hashing
1000 * For all other packets the flow hash is computed from the source
1147 * Note that packets for which @ref NETIO_PKT_ETHERTYPE_RECOGNIZED()
1261 * Note that packets for which @ref NETIO_PKT_ETHERTYPE_RECOGNIZED()
1484 * size, given enough input packets, it will eventually wrap around to zero;
1486 * handed out by different IPPs are not disjoint, so two packets from
1512 * (Since the ordinal is of finite size, given enough input packets,
1515 * different IPPs are not disjoint, so two packets from different IPPs
1516 * may have identical ordinals; similarly, packets distributed to
1571 * For TCP and UDP packets, this hash is calculated by hashing together
1577 * For IPv4 or IPv6 packets which are neither TCP nor UDP, the flow hash is
1580 * For MPLS-encapsulated packets, the flow hash is derived by hashing
1583 * For all other packets the flow hash is computed from the source
1809 * 16-bit Internet checksum on transmitted packets. The application
1858 * 16-bit Internet checksum on transmitted packets. The application
2193 - Whether the application will be receiving packets on this queue
2196 - Whether the application will be transmitting packets on this queue,
2204 its packets' L2 headers (::NETIO_TAG_NONE, ::NETIO_TAG_BRCM,
2238 of ingress packets that can be received on this queue without
2241 number of packets are already pending there, the new packet
2255 packets, since packets delivered to queues for which no tiles have
2418 to consume, and thus the number of packets which may be sent before
2422 allowing a single vector send operation to process more packets.
2463 /** This registration may call routines which receive packets. */
2466 /** This registration may not call routines which receive packets. */
2469 /** This registration may call routines which transmit packets. */
2472 /** This registration may call routines which transmit packets with
2476 /** This registration may not call routines which transmit packets. */
2524 Whenever the link is not up, packets will not be sent or received:
2525 netio_get_packet() will return ::NETIO_NOPKT once all queued packets
2578 /** Minimum number of receive packets. */
2581 /** Lower bound on the maximum number of receive packets; may be higher
2601 * An object for providing Ethernet packets to a process.
2666 * packets with one NetIO call. The structure should be initialized by
2784 * 32-bit number) is the count of packets which were completely dropped and
2786 * if the value is treated as a 32-bit number) is the count of packets
2861 /** Number of packets which have been received by the IPP and forwarded
2866 /** Number of packets which have been dropped by the IPP, because they could
2882 /** Number of packets dropped because no worker was able to accept a new
2890 /** Number of packets dropped because no small buffers were available.
2897 /** Number of packets dropped because no large buffers were available.
2904 /** Number of packets dropped because no jumbo buffers were available.
H A Dnetio_errors.h63 * be queued until some of the queued packets are actually transmitted. */
84 /** Too many tiles have registered to transmit packets. */
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_stats.h80 * transmission of packets
87 /* Total time in microseconds that transmission of packets has been
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dworkarounds.h25 /* Truncated IPv4 packets can confuse the TX packet parser */
44 /* Leak overlength packets rather than free */
H A Dselftest.c42 * Falcon only performs RSS on TCP/UDP packets.
72 * @flush: Drop all packets in efx_loopback_rx_packet
73 * @packet_count: Number of packets being used in this test
90 /* How long to wait for all the packets to arrive (in ms) */
495 "received packets in %s loopback test\n", efx_end_loopback()
520 /* Determine how many packets to send */ efx_test_loopback()
530 "TX queue %d testing %s loopback with %d packets\n", efx_test_loopback()
549 /* Wait a while to ensure there are no packets efx_test_loopback()
558 "of %d packets\n", tx_queue->queue, LOOPBACK_MODE(efx), efx_test_loopback()
611 * all received packets will be dropped. Mark the state as efx_test_loopbacks()
612 * "flushing" so all inflight packets are dropped */ efx_test_loopbacks()
/linux-4.1.27/include/linux/netfilter/ipset/
H A Dip_set.h96 u64 packets; member in struct:ip_set_ext
108 atomic64_t packets; member in struct:ip_set_counter
292 ip_set_add_packets(u64 packets, struct ip_set_counter *counter) ip_set_add_packets() argument
294 atomic64_add((long long)packets, &(counter)->packets); ip_set_add_packets()
306 return (u64)atomic64_read(&(counter)->packets); ip_set_get_packets()
314 if (ext->packets != ULLONG_MAX && ip_set_update_counter()
317 ip_set_add_packets(ext->packets, counter); ip_set_update_counter()
320 mext->packets = ip_set_get_packets(counter); ip_set_update_counter()
377 if (ext->packets != ULLONG_MAX) ip_set_init_counter()
378 atomic64_set(&(counter)->packets, (long long)(ext->packets)); ip_set_init_counter()
561 { .bytes = (skb)->len, .packets = 1, \
565 { .bytes = ULLONG_MAX, .packets = ULLONG_MAX, \
/linux-4.1.27/drivers/staging/octeon/
H A Dethernet-rx.c69 * The interrupt occurs whenever the POW has packets in our group.
91 * Ignore length errors on min size packets. Some cvm_oct_check_rcv_error()
92 * equipment incorrectly pads packets to 64+4FCS cvm_oct_check_rcv_error()
93 * instead of 60+4FCS. Note these packets still get cvm_oct_check_rcv_error()
171 * @budget: Maximum number of packets to receive.
173 * Returns the number of packets processed.
244 /* Immediately throw away all packets with receive errors */ cvm_oct_napi_poll()
283 * moves for IP packets. cvm_oct_napi_poll()
339 * Only accept packets for devices that are cvm_oct_napi_poll()
430 * cvm_oct_poll_controller - poll for receive packets
H A Dethernet.c67 "\tPOW group to receive packets from. All ethernet hardware\n"
68 "\twill be configured to send incoming packets to this POW\n"
69 "\tgroup. Also any other software can submit packets to this\n"
75 "\tPOW group to send packets to other software on. This\n"
85 "\tapplication changes the config, packets will still be\n"
87 "\tto allow a CVMX app to intercept all packets from the\n"
133 * processing will refill it. If it were drained, no packets cvm_oct_rx_refill_worker()
242 priv->stats.tx_packets += tx_status.packets; cvm_oct_common_get_stats()
284 * Limit the MTU to make sure the ethernet packets are between cvm_oct_common_change_mtu()
303 /* Signal errors on packets larger than the MTU */ cvm_oct_common_change_mtu()
308 * Set the hardware to truncate packets larger cvm_oct_common_change_mtu()
320 * Set the hardware to truncate packets larger than cvm_oct_common_change_mtu()
351 /* Force accept multicast packets */ cvm_oct_common_set_multicast_list()
354 /* Force reject multicast packets */ cvm_oct_common_set_multicast_list()
364 /* Filter packets based on the CAM */ cvm_oct_common_set_multicast_list()
809 * 150 uS: about 10 1500-byte packets at 1GE. cvm_oct_probe()
H A Dethernet-defines.h35 * requires all received packets to be copied.
38 * This allows the driver to receive packets without copying them. It also
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmc9194.h66 #define TCR_FDUPLX 0x0800 /* receive packets sent out */
69 #define TCR_PAD_ENABLE 0x0080 /* pads short packets to 64 bytes */
73 /* QUESTION: do I want to enable padding of short packets ? */
83 #define RCR_ENABLE 0x100 /* IFF this is set, we can receive packets */
84 #define RCR_ALMUL 0x4 /* receive all multicast packets */
116 #define MC_ALLOC 0x20 /* or with number of 256 byte packets */
235 . IM_RCV_INT, for happy received packets
/linux-4.1.27/net/l2tp/
H A Dl2tp_core.h33 L2TP_MSG_DATA = (1 << 3), /* data packets */
53 * packets and transmit outgoing ones.
61 unsigned int recv_seq:1; /* expect receive packets with
63 unsigned int send_seq:1; /* send packets with sequence
119 unsigned int recv_seq:1; /* expect receive packets with
121 unsigned int send_seq:1; /* send packets with sequence
149 * sessions so incoming packets can be sorted out
/linux-4.1.27/sound/usb/
H A Dcard.h45 int packets; /* number of packets per urb */ member in struct:snd_urb_ctx
46 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */
71 int packets; member in struct:snd_usb_endpoint::snd_usb_packet_info
101 int skip_packets; /* quirks for devices to ignore the first n packets
126 unsigned int pkt_offset_adj; /* Bytes to drop from beginning of packets (for non-compliant devices) */
132 unsigned int frame_limit; /* limits number of packets in URB */
H A Dendpoint.c45 * packets for playback and record. Thus, the bus streaming and the audio
205 for (i = 0; i < ctx->packets; ++i) { prepare_outbound_urb()
218 urb->number_of_packets = ctx->packets; prepare_outbound_urb()
267 for (i = 0; i < urb_ctx->packets; i++) { prepare_inbound_urb()
274 urb->number_of_packets = urb_ctx->packets; prepare_inbound_urb()
287 * or there are no packets that have been prepared, this function does
292 * inbound and outbound packets to their submitters.
328 for (i = 0; i < packet->packets; i++) queue_pending_output_urbs()
689 /* how many packets will contain an entire ALSA period? */ data_ep_set_params()
695 /* how many packets are needed in each URB? */ data_ep_set_params()
713 u->packets = urb_packs; data_ep_set_params()
714 u->buffer_size = maxsize * u->packets; data_ep_set_params()
717 u->packets++; /* for transfer delimiter */ data_ep_set_params()
718 u->urb = usb_alloc_urb(u->packets, GFP_KERNEL); data_ep_set_params()
758 u->packets = 1; sync_ep_set_params()
1059 for (i = 0; i < in_ctx->packets; i++) snd_usb_handle_sync_urb()
1064 * skip empty packets. At least M-Audio's Fast Track Ultra stops snd_usb_handle_sync_urb()
1083 out_packet->packets = in_ctx->packets; snd_usb_handle_sync_urb()
1084 for (i = 0; i < in_ctx->packets; i++) { snd_usb_handle_sync_urb()
/linux-4.1.27/arch/s390/appldata/
H A Dappldata_net_sum.c45 u64 rx_packets; /* total packets received */
46 u64 tx_packets; /* total packets transmitted */
49 u64 rx_errors; /* bad packets received */
/linux-4.1.27/net/atm/
H A Dlec_arpc.h39 unsigned short packets_flooded; /* Data packets flooded */
49 struct sk_buff_head tx_wait; /* wait queue for outgoing packets */
88 * either case, it is safe to forward packets
H A Dlec.h79 * Used for storing VCC's (and forward packets from) which are to
80 * age out by not using them to forward packets.
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
H A Dacx.h145 /* WEP packets decrypted */
146 __le32 packets; member in struct:wl12xx_acx_wep_statistics
170 /* the number of packets that were transmitted with PS bit set */
173 /* the number of packets that were transmitted with PS bit clear */
H A Dwl12xx.h114 /* Cumulative counter of released packets per AC */
117 /* Cumulative counter of freed packets per HLID */
/linux-4.1.27/drivers/net/wireless/b43/
H A Dpio.h54 /* The maximum number of TX-packets the HW can handle. */
63 /* Index in the (struct b43_pio_txqueue)->packets array. */
77 /* The number of packets that can still get queued.
90 struct b43_pio_txpacket packets[B43_PIO_MAX_NR_TXPACKETS]; member in struct:b43_pio_txqueue
/linux-4.1.27/include/linux/usb/
H A Diowarrior.h32 /* size of the data-packets on this interface */
H A Dusbnet.h96 #define FLAG_FRAMING_GL 0x0002 /* genelink batches packets */
103 #define FLAG_FRAMING_AX 0x0040 /* AX88772/178 packets */
114 * Indicates to usbnet, that USB driver accumulates multiple IP packets.
118 #define FLAG_RX_ASSEMBLE 0x4000 /* rx packets may span >1 frames */
231 unsigned long packets; member in struct:skb_data
239 unsigned long packets, long bytes_delta) usbnet_set_skb_tx_stats()
243 entry->packets = packets; usbnet_set_skb_tx_stats()
238 usbnet_set_skb_tx_stats(struct sk_buff *skb, unsigned long packets, long bytes_delta) usbnet_set_skb_tx_stats() argument
/linux-4.1.27/arch/mips/include/asm/
H A Dsocket.h26 * @SOCK_PACKET - linux specific way of getting packets at the dev level.
/linux-4.1.27/fs/dlm/
H A Dmidcomms.c19 * Its purpose is to take packets from the "real" comms layer,
20 * split them up into packets and pass them to the interested
24 * into packets and sends them to the comms layer.
55 * for packets to come in when there is useful work to be done.
/linux-4.1.27/net/irda/
H A Dirmod.c46 * Tell the kernel how IrDA packets should be handled.
97 /* Add IrDA packet type (Start receiving packets) */ irda_init()
125 /* Remove IrDA packet type (stop receiving packets) */ irda_init()
163 /* Remove IrDA packet type (stop receiving packets) */ irda_cleanup()
/linux-4.1.27/drivers/isdn/mISDN/
H A Dl1oip.h34 u32 tx_counter; /* counts xmit bytes/packets */
35 u32 rx_counter; /* counts recv bytes/packets */
/linux-4.1.27/net/batman-adv/
H A Dbitarray.c63 /* sequence number is much newer, probably missed a lot of packets */ batadv_bit_get_packet()
67 "We missed a lot of packets (%i) !\n", batadv_bit_get_packet()
H A Dpacket.h22 * enum batadv_packettype - types for batman-adv encapsulated packets
24 * @BATADV_BCAST: broadcast packets carrying broadcast payload
25 * @BATADV_CODED: network coded packets
27 * @BATADV_UNICAST: unicast packets carrying unicast payload traffic
28 * @BATADV_UNICAST_FRAG: unicast packets carrying a fragment of the original
36 /* 0x00 - 0x3f: local packets or special rules for handling */
69 * enum batadv_iv_flags - flags used in B.A.T.M.A.N. IV OGM packets
94 * @BATADV_MCAST_WANT_ALL_UNSNOOPABLES: we want all packets destined for
96 * @BATADV_MCAST_WANT_ALL_IPV4: we want all IPv4 multicast packets
97 * @BATADV_MCAST_WANT_ALL_IPV6: we want all IPv6 multicast packets
231 * batadv_icmp_header - common members among all the ICMP packets
241 * This structure is used for ICMP packets parsing only and it is never sent
243 * members are padded the same way as they are in real packets.
H A Dtypes.h82 * @batman_adv_ptype: packet type describing packets that should be processed by
134 * @size: accumulated size of packets in list
438 * @BATADV_CNT_NC_BUFFER: counter for packets buffered for later nc decoding
443 * @BATADV_CNT_NC_SNIFFED: counter for nc-decoded packets received in promisc
542 * @bcast_duplist: recently received broadcast packets array (for broadcast
665 * @max_fwd_delay: maximum packet forward delay to allow coding of packets
666 * @max_buffer_time: buffer time for sniffed packets used to decoding
741 * @forw_bcast_list: list of broadcast packets that will be rebroadcasted
831 * @queue_list: packet queue for packets destined for this socket client
832 * @queue_len: number of packets in the packet queue (queue_list)
1033 * @packet_list: list of buffered packets for this path
1052 * decoding packets
1080 * struct batadv_forw_packet - structure for bcast packets to be sent/forwarded
1083 * @own: bool for locally generated packets (local OGMs are re-scheduled after
1087 * @direct_link_flags: direct link flags for aggregated OGM packets
1222 * incoming OGM packets
1224 * on incoming unicast tvlv packets
H A Dsend.c72 /* Save a clone of the skb to use when decoding coded packets */ batadv_send_skb_packet()
145 * common fields for unicast packets
241 * 4addr packets)
314 * 4addr packets)
381 * outdated packets (especially uninitialized mac addresses) in the batadv_schedule_bat_ogm()
416 /* add a broadcast packet to the queue and setup timers. broadcast packets
598 * we delete only packets belonging to the given interface batadv_purge_outstanding_packets()
624 * we delete only packets belonging to the given interface batadv_purge_outstanding_packets()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Drx.c149 /* discard corrupted packets */ wl1271_rx_handle_data()
174 * Copy packets from aggregation buffer to the skbs without rx wl1271_rx_handle_data()
176 * packets copy the packets in offset of 2 bytes guarantee IP header wl1271_rx_handle_data()
239 /* Read all available packets at once */ wlcore_rx()
250 /* Split data into separate packets */ wlcore_rx()
H A Dwlcore_i.h83 * When in AP-mode, we allow (at least) this number of packets
84 * to be transmitted to FW for a STA in PS-mode. Only when packets are
86 * enough packets for the driver to transmit all of its buffered data before
158 * Cumulative counter of released packets per AC
164 * Cumulative counter of freed packets per HLID
267 /* accounting for allocated / freed packets in FW */
280 * total freed FW packets on the link - used for tracking the
332 * total freed FW packets on the link to the STA - used for tracking the
386 /* counters of packets per AC, across all links in the vif */
478 * total freed FW packets on the link.
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs_cna.h71 u64 tx_packets; /*!< Tx packets */
72 u64 tx_mcast_packets; /*!< Tx multicast packets */
73 u64 tx_bcast_packets; /*!< Tx broadcast packets */
80 u64 rx_packets; /*!< Rx packets */
81 u64 rx_mcast_packets; /*!< Rx multicast packets */
82 u64 rx_bcast_packets; /*!< Rx broadcast packets */
/linux-4.1.27/include/rxrpc/
H A Dpacket.h35 __be32 callNumber; /* call ID (0 for connection-level packets) */
46 #define RXRPC_PACKET_TYPE_ACKALL 5 /* ACK all outstanding packets on call */
57 #define RXRPC_MORE_PACKETS 0x08 /* more packets to come */
127 * ACK packets can have a further piece of information tagged on the end
132 __be32 rwind; /* Rx window size (packets) [AFS 3.4] */
133 __be32 jumbo_max; /* max packets to stick into a jumbo packet [AFS 3.5] */
/linux-4.1.27/net/netlabel/
H A Dnetlabel_unlabeled.h4 * This file defines functions for dealing with unlabeled packets for the
150 * allow unlabled packets to pass if they do not match any of the static
188 * if true then unlabeled packets are allowed to pass, else unlabeled
189 * packets are rejected */
237 /* Process Unlabeled incoming network packets */
242 /* Set the default configuration to allow Unlabeled packets */
/linux-4.1.27/sound/usb/6fire/
H A Dpcm.c168 packet = &rt->in_urbs[i].packets[k]; usb6fire_pcm_stream_start()
214 if (urb->packets[i].actual_length > 4) usb6fire_pcm_capture()
215 frame_count = (urb->packets[i].actual_length - 4) usb6fire_pcm_capture()
227 total_length += urb->packets[i].length; usb6fire_pcm_capture()
270 if (urb->packets[i].length > 4) usb6fire_pcm_playback()
271 frame_count = (urb->packets[i].length - 4) usb6fire_pcm_playback()
307 if (in_urb->packets[i].status) { usb6fire_pcm_in_urb_handler()
334 out_urb->packets[i].offset = total_length; usb6fire_pcm_in_urb_handler()
335 out_urb->packets[i].length = (in_urb->packets[i].actual_length usb6fire_pcm_in_urb_handler()
338 out_urb->packets[i].status = 0; usb6fire_pcm_in_urb_handler()
339 total_length += out_urb->packets[i].length; usb6fire_pcm_in_urb_handler()
360 if (out_urb->packets[i].length >= 4) { usb6fire_pcm_in_urb_handler()
361 frame_count = (out_urb->packets[i].length - 4) usb6fire_pcm_in_urb_handler()
H A Dpcm.h33 struct usb_iso_packet_descriptor packets[PCM_N_PACKETS_PER_URB]; member in struct:pcm_urb
/linux-4.1.27/arch/tile/include/gxio/
H A Dmpipe.h41 * parameters, and send and receive Ethernet packets. The API is
86 * set of buffer stacks, to be used for packets matching the rule.
101 * record of the NotifRing to which packets directed to that bucket
128 * into the NotifRing and increments the number of packets delivered
141 * packets. This requires calling gxio_mpipe_register_page() for each
142 * memory page that will hold packets allocated by the application for
159 * Applications use eDMA rings to queue packets for egress. The
189 * - @ref mpipe/ingress/app.c : Receiving packets.
191 * - @ref mpipe/forward/app.c : Forwarding packets.
682 /* All packets for a bucket go to the same NotifRing unless the
683 * NotifRing gets full, in which case packets will be dropped. If
690 /* All packets for a bucket always go to the same NotifRing.
695 /* All packets for a bucket go to the least full NotifRing in the
701 /* All packets for a bucket go to the same NotifRing unless the
704 * group are full, packets will be dropped.
709 /* All packets for a bucket go to the same NotifRing unless the
712 * all NotifRings in the group are full, packets will be dropped.
892 * The L2 analysis handles LLC packets, SNAP packets, and "VLAN
895 * The L3 analysis handles IPv4 and IPv6, dropping packets with bad
898 * ports for TCP/UDP packets, into the flow hash. No special analysis
899 * is done for "fragmented" packets or "tunneling" protocols. Thus,
904 * The L3 analysis handles other packets too, hashing the dMAC
919 * is one byte at 0x15 for IPv4 and IPv6 packets, and otherwise zero.
920 * The protocol is one byte at 0x16 for IPv4 and IPv6 packets, and
961 * Note that an empty rule matches all packets, but an empty rule list
962 * matches no packets.
965 * @param bucket First load balancer bucket to which packets will be
968 * which packets will be distributed based on the "flow hash".
971 * drop packets which exceed the largest initialized buffer stack
973 * stack should be used for packets up to that size (with 255
974 * indicating that those packets should be dropped).
991 /* Indicate that packets from a particular channel can be delivered
1025 * Convenience functions for receiving packets from a NotifRing and
1026 * sending packets via an eDMA ring.
1029 * descriptors to describe packets that have arrived on ingress or
1042 * hardware configured to deliver packets to the specified ring
1051 * with incoming packets. The simplest is to call
1081 * across several packets. It also allows gather operations to be
1180 * Releasing the ring allows more packets to be delivered to the ring.
1206 * After processing packets peeked at via gxio_mpipe_iqueue_peek()
1212 * wait until several packets have been processed.
1215 * batches of N packets, then you can replace several calls to this
1236 * If no packets are available, fills idesc_ref with NULL, and then
1243 * processed (or dropped), to allow more packets to be delivered.
1247 * @return The (positive) number of packets which can be processed,
1248 * or ::GXIO_MPIPE_ERR_IQUEUE_EMPTY if no packets are available.
1515 /* Ask the mPIPE hardware to egress outstanding packets immediately.
1567 * To ensure that jumbo packets can be egressed properly, the snf size
1604 * Data permission allows the process to receive packets from the link by
1606 * and to send packets to the link by using the link's channel number as
1697 * When LOOP_MAC or LOOP_PHY is enabled, packets transmitted on a channel
1699 * physical link, and packets received on the physical link will be ignored.
1768 * A link must be opened before it may be used to send or receive packets,
1790 * a link has been closed, packets may no longer be sent on or received
H A Dtrio.h35 * PCIe or StreamIO packets and choosing a processing mechanism based
36 * on the packets' bus address. The gxio_trio_ API can be used to
39 * regions to match incoming packets within 4kB-aligned ranges of bus
53 * virtual addresses to which those packets will be applied.
108 * write packets that copy from application memory to the bus and pull
109 * DMA generates read packets that copy from the bus into application
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dhtc.h99 /* reserved and used to flush ALL packets */
104 /* more packets on this endpoint are being fetched */
281 /* wrapper around endpoint-specific packets */
293 * receive packets back to HTC.
463 /* credit reports received from this endpoint's RX packets */
466 /* credit reports received from RX packets of other endpoints */
469 /* credit reports received from endpoint 0 RX packets */
472 /* count of credits received via Rx packets on this endpoint */
492 /* count of recv packets received in a bundle */
H A Dhtc_pipe.c58 * all packets are now owned by the callback, do_send_completion()
103 /* loop until we can grab as many packets out of the queue as we can */ get_htc_packet_credit_based()
181 /* loop until we can grab as many packets out of the queue as we can */ get_htc_packet()
305 struct list_head send_queue; /* temp queue to hold packets */ htc_try_send()
355 * all packets will fit or caller did not provide send htc_try_send()
368 /* dequeue all non-overflow packets to the sendqueue */ htc_try_send()
379 * the caller's queue has all the packets that won't fit htc_try_send()
405 /* no packets made it in, caller will cleanup */
421 /* transfer packets to tail */
466 * Get all packets for this endpoint that we can
474 * Didn't get packets due to out of resources or TX
792 /* get first packet to find out which ep the packets will go into */ htc_send_packets_multiple()
803 /* do completion on any packets that couldn't get in */ htc_send_packets_multiple()
1070 * for recv packets since it bridges that HIF to upper layers, ath6kl_htc_pipe_rx_complete()
1071 * which expects HTC packets, we form the packets here ath6kl_htc_pipe_rx_complete()
1659 /* store receive packets */ ath6kl_htc_pipe_add_rxbuf_multiple()
/linux-4.1.27/Documentation/networking/timestamping/
H A Dtimestamping.c5 * multicasts once every second. It looks for similar packets, but
8 * Outgoing packets are time stamped with SO_TIMESTAMPING with or
11 * Incoming packets are time stamped with SO_TIMESTAMPING with or
74 " SOF_TIMESTAMPING_TX_HARDWARE - hardware time stamping of outgoing packets\n" usage()
75 " SOF_TIMESTAMPING_TX_SOFTWARE - software fallback for outgoing packets\n" usage()
76 " SOF_TIMESTAMPING_RX_HARDWARE - hardware time stamping of incoming packets\n" usage()
77 " SOF_TIMESTAMPING_RX_SOFTWARE - software fallback for incoming packets\n" usage()
408 /* set multicast group for outgoing packets */ main()
473 /* send packets forever every five seconds */ main()
/linux-4.1.27/arch/hexagon/kernel/
H A Dkgdb.c168 * kgdb_arch_handle_exception - Handle architecture specific GDB packets.
176 * This function MUST handle the 'c' and 's' command packets,
177 * as well packets to set / remove a hardware breakpoint, if used.
178 * If there are additional packets which the hardware needs to handle,
180 * process more packets, and a %0 or %1 if it wants to exit from the
/linux-4.1.27/net/rxrpc/
H A Dar-ack.c31 * We use this when we've received new data packets. If those packets aren't
40 * We use this when we've consumed some previously soft-ACK'd packets when
41 * further packets aren't immediately received to decide when to send an IDLE
47 * Receive window size in packets. This indicates the maximum number of
48 * unconsumed received packets we're willing to retain in memory. Once this
50 * packets.
56 * made by gluing normal packets together that we're willing to handle.
213 * resend packets
333 * process soft ACKs of our transmitted packets
334 * - these indicate packets the peer has or has not received, but hasn't yet
423 * discard hard-ACK'd packets from the Tx window
629 * process packets in the reception queue
657 /* data packets that wind up here have been received out of rxrpc_process_rx_queue()
658 * order, need security processing or are jumbo packets */ rxrpc_process_rx_queue()
663 /* secured packets must be verified and possibly decrypted */ rxrpc_process_rx_queue()
762 /* if we've had a hard ACK that covers all the packets we've sent, then rxrpc_process_rx_queue()
787 /* if all the packets we sent are hard-ACK'd, then we can discard rxrpc_process_rx_queue()
875 * handle background processing of incoming call packets and ACK / abort
1221 /* permit the peer to send us jumbo packets if it wants to */ rxrpc_process_call()
H A Dar-skbuff.c86 /* We previously soft-ACK'd some received packets that have now rxrpc_hard_ACK_data()
87 * been consumed, so send a hard-ACK if no more packets are rxrpc_hard_ACK_data()
/linux-4.1.27/include/drm/
H A Ddrm_mipi_dsi.h74 * DSI packets transmitted by .transfer() are passed in as mipi_dsi_msg
79 * transmitted for write packets or the number of bytes received for read
80 * packets.
118 /* enable hsync-end packets in vsync-pulse and v-porch area */
128 /* disable EoT packets in HS mode */
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c44 /* Received packets dropped when the Ethernet length field
48 /* Received packets dropped when their length field is >= 1501 bytes
52 /* Received packets dropped when they are longer than 9216 bytes */
54 /* Received packets dropped when they don't pass the unicast or
58 /* Received packets dropped when IP packet length field is less than
62 /* Received packets dropped when IP length field is greater than
66 /* Received packets dropped when the IP header length field is less
70 /* Received packets dropped when the TCP header length field is less
76 /* Number of received packets dropped when a fifo for descriptors going
81 /* Received packets dropped when the RX block runs out of space in
94 /* Received packets dropped when an internal fifo going into
99 /* Received packets dropped due to lack of available HW packet buffers
100 * used to temporarily hold the received packets.
103 /* Received packets dropped due to input receive buffer
112 /* Received packets dropped when they need more than 8
118 /* Received packets dropped when the frame length
124 /* Number of packets dropped due to random early drop function */
149 /* Recevied packets dropped due to skb allocation failure */
151 /* Received packets dropped due to lack of available fetched buffers
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Ddebugfs.c56 * - Total number of Tx packets
57 * - Total number of Rx packets
58 * - Total number of dropped Tx packets
59 * - Total number of dropped Rx packets
60 * - Total number of corrupted Tx packets
61 * - Total number of corrupted Rx packets
183 * - Number of failed packets
369 * - WMM AC VO packets count
370 * - WMM AC VI packets count
371 * - WMM AC BE packets count
372 * - WMM AC BK packets count
404 * - Number of data packets sent
H A D11n_rxreorder.c80 * This function dispatches all packets in the Rx reorder table until the
127 * This function dispatches all packets in the Rx reorder table until
174 * pending packets in the Rx reorder table before deletion.
263 * This function finds the last sequence number used in the packets
288 * This function flushes all the packets in Rx reordering table.
290 * The function checks if any packets are currently buffered in the
291 * table or not. In case there are packets available, it dispatches
320 * If the received TA/TID pair is already present, all the packets are
335 * the packets and move the window size until the ssn mwifiex_11n_create_rx_reorder_tbl()
539 * the packet is reordered and all the packets in the updated Rx reordering
639 * Dispatch all packets sequentially from start_win until a mwifiex_11n_rx_reorder_pkt()
H A Duap_txrx.c27 /* This function checks if particular RA list has packets more than low bridge
29 * Function deletes packets from such RA list and returns true. If no such list
64 /* This function deletes packets from particular RA List. RA list index
65 * from which packets are deleted is preserved so that packets from next RA
246 /* Forward unicat/Inter-BSS packets to kernel. */ mwifiex_handle_uap_rx_forward()
329 * This function fills the TxPD for AP tx packets.
/linux-4.1.27/drivers/net/usb/
H A Dlg-vl600.c84 /* ARP packets don't go through, but they're also of no use. The vl600_bind()
124 /* Allow a packet (or multiple packets batched together) to be vl600_rx_fixup()
207 /* Inbound IPv6 packets have an IPv4 ethertype (0x800) vl600_rx_fixup()
209 * for IPv6 packets, and set the ethertype to IPv6 vl600_rx_fixup()
263 /* Drop, device can only deal with ethernet packets */ vl600_tx_fixup()
299 /* The VL600 wants IPv6 packets to have an IPv4 ethertype vl600_tx_fixup()
H A Dnet1080.c44 * NetChip framing of ethernet packets, supporting additional error
45 * checks for links that may drop bulk packets from inside messages.
59 __le16 packet_id; // detects dropped packets
73 // packets may use FLAG_FRAMING_NC and optional pad
82 /* packets _could_ be up to 64KB... */
89 * frame network packets to guard against the dropped USB packets. The win32
/linux-4.1.27/include/xen/interface/io/
H A Dnetif.h38 * that it cannot safely queue packets (as it may not be kicked to send them).
99 * Mapping of packets to queues is considered to be a function of the
101 * between the two. Guests are free to transmit packets on any queue
103 * prepared to receive packets on any queue they have requested be set up.
115 * handle large TCP packets (in IPv4 or IPv6 form respectively). Neither
121 * This is the 'wire' format for packets:
H A Dtpmif.h48 uint8_t nr_extra_pages; /* extra pages for long packets; may be zero */
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_isight.c26 * packets containing data only.
82 /* Copy the video data to the buffer. Skip header packets, as they isight_decode()
H A Duvcvideo.h131 /* Maximum number of packets per URB. */
402 unsigned int nb_packets; /* Number of packets */
403 unsigned int nb_empty; /* Number of empty packets */
404 unsigned int nb_invalid; /* Number of packets with an invalid header */
405 unsigned int nb_errors; /* Number of packets with the error bit set */
407 unsigned int nb_pts; /* Number of packets with a PTS timestamp */
414 unsigned int nb_scr; /* Number of packets with a SCR timestamp */
426 unsigned int nb_packets; /* Number of packets */
427 unsigned int nb_empty; /* Number of empty packets */
428 unsigned int nb_invalid; /* Number of packets with an invalid header */
429 unsigned int nb_errors; /* Number of packets with the error bit set */
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_ioctl.h63 unsigned long nTxPkts; /* Number of packets transmitted
66 unsigned long nRxPkts; /* Number of packets received from
/linux-4.1.27/fs/cifs/
H A Drfc1002pdu.h24 /* NB: unlike smb/cifs packets, the RFC1002 structures are big endian */
68 /* RFC 1002 Datagram service packets are not defined here as they
/linux-4.1.27/net/dccp/
H A Dqpolicy.c37 * of tx_qlen elements, replace older packets lowest-priority-first.
69 * @full: indicates that no more packets will be admitted
/linux-4.1.27/sound/usb/usx2y/
H A Dusb_stream.c158 int packets, max_packsize; usb_stream_new() local
177 packets = period_frames * usb_frames / sample_rate + 1; usb_stream_new()
180 packets = (packets + 7) & ~7; usb_stream_new()
182 read_size += packets * USB_STREAM_URBDEPTH * usb_stream_new()
186 write_size = max_packsize * packets * USB_STREAM_URBDEPTH; usb_stream_new()
205 sk->n_o_ps = packets; usb_stream_new()
206 sk->s->inpackets = packets * USB_STREAM_URBDEPTH; usb_stream_new()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2100.h936 IPW_ORD_STAT_RX_HOST = 61, // # of packets passed to host
937 IPW_ORD_STAT_RX_DIR_DATA, // # of directed packets
938 IPW_ORD_STAT_RX_DIR_DATA1, // # of directed packets at 1MB
939 IPW_ORD_STAT_RX_DIR_DATA2, // # of directed packets at 2MB
940 IPW_ORD_STAT_RX_DIR_DATA5_5, // # of directed packets at 5.5MB
941 IPW_ORD_STAT_RX_DIR_DATA11, // # of directed packets at 11MB
942 IPW_ORD_STAT_RX_DIR_DATA22, // # of directed packets at 22MB
944 IPW_ORD_STAT_RX_NODIR_DATA = 71, // # of nondirected packets
945 IPW_ORD_STAT_RX_NODIR_DATA1, // # of nondirected packets at 1MB
946 IPW_ORD_STAT_RX_NODIR_DATA2, // # of nondirected packets at 2MB
947 IPW_ORD_STAT_RX_NODIR_DATA5_5, // # of nondirected packets at 5.5MB
948 IPW_ORD_STAT_RX_NODIR_DATA11, // # of nondirected packets at 11MB
970 IPW_ORD_STAT_RX_ERR_CRC, // # of packets with Rx CRC error
976 IPW_ORD_STAT_RX_DUPLICATE1 = 112, // # of duplicate rx packets at 1MB
977 IPW_ORD_STAT_RX_DUPLICATE2, // # of duplicate rx packets at 2MB
978 IPW_ORD_STAT_RX_DUPLICATE5_5, // # of duplicate rx packets at 5.5MB
979 IPW_ORD_STAT_RX_DUPLICATE11, // # of duplicate rx packets at 11MB
980 IPW_ORD_STAT_RX_DUPLICATE = 119, // # of duplicate rx packets
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_driver.c79 * QIB_MAX_PKT_RCV is the max # if packets processed per receive interrupt.
393 * NAK until all packets qib_rcv_hdrerr()
438 * @llic: gets count of good packets needed to clear lli,
442 * Returns number of CRC error packets, needed by some chips for
444 * good packets, if any, and count of good packets is also tracked.
511 * packets; only qibhdrerr should be set. qib_kreceive()
541 * Update head regs etc., every 16 packets, if not last pkt, qib_kreceive()
542 * to help prevent rcvhdrq overflows, when many packets qib_kreceive()
589 /* Report number of packets consumed */ qib_kreceive()
595 * if no packets were processed. qib_kreceive()
/linux-4.1.27/drivers/net/dsa/
H A Dmv88e6131.c50 /* Enable the PHY polling unit, don't discard packets with mv88e6131_setup_global()
91 /* Ignore removed tag data on doubly tagged packets, disable mv88e6131_setup_global()
177 * lookup on received packets as usual, don't send a copy mv88e6131_setup_port()
204 * of packets, add the address to the address database using mv88e6131_setup_port()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcore.h53 * @pktslots: dynamic allocated array for ordering AMPDU packets.
57 * @max_idx: maximum amount of packets per AMPDU.
58 * @pend_pkts: number of packets currently in @pktslots.
118 /* Multicast data packets sent to dongle */
/linux-4.1.27/drivers/net/wireless/brcm80211/include/
H A Dbrcmu_utils.h36 #define PKTQ_LEN_DEFAULT 128 /* Max 128 packets */
69 u16 max; /* maximum number of queued packets */
76 u16 max; /* total max packets */
77 u16 len; /* total number of packets */
/linux-4.1.27/arch/tile/include/asm/
H A Dkgdb.h39 * buffers at least NUMREGBYTES*2 are needed for register packets,
/linux-4.1.27/arch/x86/include/asm/
H A Dkgdb.h11 * buffers at least NUMREGBYTES*2 are needed for register packets
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_protocol.h94 /* Header for big packets, Used for data packets exceeding 64kB */
297 u32 seq_num; /* sequence number to match the two probe packets */
302 * Bitmap packets need to fit within a single page on the sender and receiver,
/linux-4.1.27/include/net/netfilter/
H A Dnf_conntrack_acct.h18 atomic64_t packets; member in struct:nf_conn_counter
H A Dnf_conntrack_l3proto.h35 * Some packets can't be inverted: return 0 in that case.
H A Dnf_queue.h48 /* packets in either direction go into same queue */ hash_v4()
/linux-4.1.27/include/net/netns/
H A Dconntrack.h89 unsigned int sysctl_log_invalid; /* Log invalid packets */
/linux-4.1.27/arch/mn10300/include/asm/
H A Dkgdb.h17 * buffers at least NUMREGBYTES*2 are needed for register packets
/linux-4.1.27/arch/cris/arch-v32/lib/
H A Dchecksum.S16 ;; Optimized for large packets
H A Dchecksumcopy.S20 ;; Optimized for large packets
/linux-4.1.27/net/mac80211/
H A Dagg-tx.c29 * packets with a flag indicating A-MPDU aggregation. The driver
229 * splice packets from the STA's pending to the local pending,
249 /* copy over remaining packets */ __acquires()
275 * stop the queue now, we will not get any more packets, and any ieee80211_remove_tid_tx()
277 * guaranteeing that no packets go to the tid_tx pending queue any ieee80211_remove_tid_tx()
283 /* future packets must not find the tid_tx struct any more */ ieee80211_remove_tid_tx()
358 * After this packets are no longer handed right through ___ieee80211_stop_tx_ba_session()
365 * There might be a few packets being processed right now (on ___ieee80211_stop_tx_ba_session()
373 * telling the driver. New packets will not go through since ___ieee80211_stop_tx_ba_session()
389 * We may have pending packets get stuck in this case... ___ieee80211_stop_tx_ba_session()
400 * leaving it around ensures that we don't transmit packets ___ieee80211_stop_tx_ba_session()
453 * Start queuing up packets for this aggregation session. ieee80211_tx_ba_session_handle_start()
462 * Make sure no packets are being processed. This ensures that ieee80211_tx_ba_session_handle_start()
464 * packets have been flushed out and no packets for this TID ieee80211_tx_ba_session_handle_start()
700 * should block so it won't put more packets onto pending. ieee80211_agg_tx_operational()
/linux-4.1.27/net/openvswitch/
H A Ddatapath.h41 * @n_hit: Number of received packets for which a matching flow was found in
43 * @n_miss: Number of received packets that had no matching flow in the flow
44 * table. The sum of @n_hit and @n_miss is the number of packets that have
46 * @n_lost: Number of received packets that had no matching flow in the flow
/linux-4.1.27/tools/perf/scripts/python/
H A Dnet_dropmonitor.py1 # Monitor the system for dropped packets and proudce a report of drop locations and counts
/linux-4.1.27/drivers/net/ethernet/tile/
H A Dtilepro.c68 * packets from the netio queue, filtering them out, or passing them
86 /* HACK: Allow use of "jumbo" packets. */
92 /* HACK: Define this to verify incoming packets. */
98 /* Define to dump packets (prints out the whole packet on tx and rx). */
138 * Queue of incoming packets for a specific cpu and device.
154 u64 rx_packets; /* total packets received */
155 u64 tx_packets; /* total packets transmitted */
158 u64 rx_errors; /* packets truncated or marked bad by hw */
159 u64 rx_dropped; /* packets not for us or intf not up */
380 * Without jumbo packets, the maximum packet size will be 1536 bytes,
657 * Like "tile_net_poll()", but just discard packets.
744 /* Filter packets received before we're up. */ tile_net_poll_aux()
748 /* Filter "truncated" packets. */ tile_net_poll_aux()
752 /* Filter packets not for our address. */ tile_net_poll_aux()
811 * Handle some packets for the given device on the current CPU.
983 /* Only network cpus can receive packets. */ tile_net_register()
1084 * This simply discards all our credits, so no more packets will be
1085 * delivered to this tile. There may still be packets in our queue.
1141 /* Discard all packets still in our NetIO queue. */ tile_net_unregister()
1168 * Unregister all tiles, so LIPP will stop delivering packets. tile_net_stop_aux()
1518 * Often, this can cause some tiles to still have packets in their
1542 /* Start discarding packets. */ tile_net_stop()
1549 * On each tile, make sure no NEW packets get delivered, and tile_net_stop()
1553 * presumably due to packets which were recently delivered, tile_net_stop()
2013 /* HACK: Track "expanded" size for short packets (e.g. 42 < 60). */ tile_net_tx()
2128 * gets used on outgoing packets, and which is accepted on incoming packets,
2392 * to handle ingress packets.
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_ftp.c157 * Look at outgoing ftp packets to catch the response to a PASV command
190 * so turn this into a no-op for IPv6 packets ip_vs_ftp_out()
200 /* Linear packets are much easier to deal with. */ ip_vs_ftp_out()
303 * Look at incoming ftp packets to catch the PASV/PORT command
325 /* no diff required for incoming packets */ ip_vs_ftp_in()
330 * so turn this into a no-op for IPv6 packets ip_vs_ftp_in()
340 /* Linear packets are much easier to deal with. */ ip_vs_ftp_in()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h185 unsigned int ip6fourtupen:1; /* hash 4-tuple IPv6 ingress packets */
186 unsigned int ip6twotupen:1; /* hash 2-tuple IPv6 ingress packets */
187 unsigned int ip4fourtupen:1; /* hash 4-tuple IPv4 ingress packets */
188 unsigned int ip4twotupen:1; /* hash 2-tuple IPv4 ingress packets */
189 int udpen; /* hash 4-tuple UDP ingress packets */
/linux-4.1.27/drivers/net/wireless/rsi/
H A Drsi_91x_core.c70 } else { /* No packets so no contention */ rsi_recalculate_weights()
81 * packets to be dequeued based on the number
180 * doesn't have any packets rsi_core_determine_hal_queue()
245 * based on the backoff procedure. Data packets are
315 * rsi_core_xmit() - This function transmits the packets received from mac80211
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h124 * Bundle size for grouping offload RX packets for delivery to the stack.
150 unsigned long eth_pkts; /* # of ethernet packets */
153 unsigned long rx_drops; /* # of packets dropped due to no mem */
178 spinlock_t lock; /* guards enqueueing of new packets */
181 struct sk_buff_head sendq; /* List of backpressured offload packets */
H A Dl2t.h52 * packets awaiting address resolution. Second, it is a node of a hash table
67 struct sk_buff_head arpq; /* queue of packets awaiting resolution */
/linux-4.1.27/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-util.c178 * All incoming packets will be dropped when there are less
187 /* Set RED to begin dropping packets when there are pass_thresh buffers cvmx_helper_setup_red_queue()
188 left. It will linearly drop more packets until reaching drop_thresh cvmx_helper_setup_red_queue()
207 * Setup Random Early Drop to automatically begin dropping packets.
213 * All incoming packets will be dropped when there are less
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_common.h109 /* number of packets with CRC errors (ICRC and VCRC) */
116 /* number of kernel (port0) packets received */
118 /* number of "ethernet" packets sent by driver */
120 /* number of "ethernet" packets received by driver */
122 /* number of SMA packets sent by driver. Obsolete. */
124 /* number of SMA packets received by driver. Obsolete. */
144 /* max number of packets handled per receive call */
146 /* avg number of packets handled per receive call */
153 * Number of packets dropped in kernel other than errors (ether
154 * packets if ipath not configured, etc.)
223 /* InfiniPath port assigned, goes into sent packets */
227 * IB MTU, packets IB data must be less than this.
269 * protocol packet from standard IB packets. More, probably much
438 #define IPATH_CMD_RECV_CTRL 18 /* control receipt of packets */
504 /* enable/disable receipt of packets */
/linux-4.1.27/drivers/firmware/
H A Ddell_rbu.c136 * BIOS errata mean we cannot allocate packets below 1MB or they will create_packet()
139 * array to temporarily hold packets create_packet()
191 /* packets may not have fixed size */ create_packet()
305 /* check if we have any packets */ packet_read_list()
349 * to make sure there are no stale RBU packets left in memory packet_empty_list()
480 pr_debug("read_packet_data: no packets written\n"); read_packet_data()
561 * we need to free previous packets if a callbackfn_rbu()
562 * new hunk of packets needs to be downloaded callbackfn_rbu()
568 * need to free up whatever packets might callbackfn_rbu()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_sdio.c126 struct if_sdio_packet *packets; member in struct:if_sdio_card
431 packet = card->packets; if_sdio_host_to_card_worker()
433 card->packets = packet->next; if_sdio_host_to_card_worker()
989 if (!card->packets) if_sdio_host_to_card()
990 card->packets = packet; if_sdio_host_to_card()
992 cur = card->packets; if_sdio_host_to_card()
1285 while (card->packets) { if_sdio_probe()
1286 packet = card->packets; if_sdio_probe()
1287 card->packets = card->packets->next; if_sdio_probe()
1332 while (card->packets) { if_sdio_remove()
1333 packet = card->packets; if_sdio_remove()
1334 card->packets = card->packets->next; if_sdio_remove()
/linux-4.1.27/net/dccp/ccids/
H A Dccid2.c112 * packets and got no response because we haven't sent ack ratio ccid2_check_l_ack_ratio()
113 * packets yet. ccid2_check_l_ack_ratio()
184 * packets may be in flight, to set the local Sequence Window value accordingly
285 * (i) it doesn't just count the number of Acks, but all sent packets; ccid2_hc_tx_packet_sent()
286 * (ii) it is expressed in # of packets, not # of windows, so the ccid2_hc_tx_packet_sent()
289 * of data with no lost or marked Ack packets. If arsent were the # of ccid2_hc_tx_packet_sent()
295 * - arsent counts other packets as well; ccid2_hc_tx_packet_sent()
311 /* decrease ack ratio if enough packets were sent */ ccid2_hc_tx_packet_sent()
449 * 5 times the number of packets in the network (RFC 4340 7.5.2) ccid2_new_ack()
555 /* still didn't send out new data packets */ ccid2_hc_tx_packet_recv()
574 * packets per acknowledgement. Rounding up avoids that cwnd is not ccid2_hc_tx_packet_recv()
670 /* check for lost packets */ ccid2_hc_tx_packet_recv()
690 /* trim acked packets in tail */ ccid2_hc_tx_packet_recv()
704 /* check if incoming Acks allow pending packets to be sent */ ccid2_hc_tx_packet_recv()
H A Dccid2.h108 * Convert RFC 3390 larger initial window into an equivalent number of packets.
118 * @rx_num_data_pkts: number of data packets received since last feedback
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Drx.c52 * case of network packets) and pass it to netdev or to the
74 * In firmwares <= v1.3, data packets have no header for RX, but they
77 * In firmware >= 1.4, RX packets have an extended header (16
79 * reordering of packets (the device offloads storage of the packets
87 * Starting in firmware v1.4, the device can deliver packets for
92 * Thus, for RX packets that come out of order, the device gives the
95 * packets to the networking stack. There are 16 such queues.
101 * - reset queue: send all queued packets to the OS
106 * packets that meet the criteria
109 * deliver queued packets that meet the criteria
753 * Simply insert and deliver all packets to the host up to the __i2400m_roq_update_ws()
769 break; /* rest of packets all nsn_itr > nws */ __i2400m_roq_update_ws()
782 * Deliver all the packets and reset the window-start to zero. Name is
897 * Simply insert and deliver all packets to the host up to the i2400m_roq_queue_update_ws()
950 * packets to the host in an extended format that; this incudes a 16
953 * having to copy packets around.
1161 dev_err(dev, "RX: HW BUG? zero payload packets in message\n"); i2400m_rx_msg_hdr_check()
/linux-4.1.27/drivers/input/joystick/
H A Dgrip_mp.c74 #define IO_DONE 0x1000 /* Multiport is done sending packets */
76 #define IO_RESET 0x8000 /* Force multiport to resend all packets */
265 /* Multiport is done sending packets and is ready to receive data */ mp_io()
378 /* Ignore non-gamepad packets, e.g. multiport hardware version */ get_and_decode_packet()
387 * Handle "reset" packets, which occur at startup, and when gamepads get_and_decode_packet()
494 /* Get packets, store multiport state, and check state's validity */ multiport_init()
H A Dstinger.c60 * stinger_process_packet() decodes packets the driver receives from the
101 /* All Stinger packets are 4 bytes */ stinger_interrupt()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Devergreen_hdmi.c81 HDMI_ACR_AUTO_SEND); /* allow hw to sent ACR packets when required */ evergreen_hdmi_update_acr()
85 HDMI_ACR_AUTO_SEND); /* allow hw to sent ACR packets when required */ evergreen_hdmi_update_acr()
312 HDMI_NULL_SEND | /* send null packets when required */ dce4_set_vbi_packet()
313 HDMI_GC_SEND | /* send general control packets */ dce4_set_vbi_packet()
314 HDMI_GC_CONT); /* send general control packets every frame */ dce4_set_vbi_packet()
383 /* allow 60958 channel status and send audio packets fields to be updated */ dce4_set_audio_packet()
/linux-4.1.27/drivers/bluetooth/
H A Dhci_ll.c91 * These are very simple packets with only 1 cmd byte
176 * 1. places all pending packets (waiting in tx_wait_q list) in txq list.
231 /* send pending packets and change state to HCILL_AWAKE */ ll_device_want_to_wakeup()
237 /* actually send the packets */ ll_device_want_to_wakeup()
291 /* send pending packets and change state to HCILL_AWAKE */ ll_device_woke_up()
296 /* actually send the packets */ ll_device_woke_up()
H A Dhci_bcsp.c59 struct sk_buff_head unack; /* Unack'ed packets queue */
60 struct sk_buff_head rel; /* Reliable packets queue */
61 struct sk_buff_head unrel; /* Unreliable packets queue */
305 reliable packet if the number of packets sent but not yet ack'ed bcsp_dequeue()
331 any packets we have not acknowledged yet ? */ bcsp_dequeue()
350 /* Remove ack'ed packets */ bcsp_pkt_cull()
396 /* Handle BCSP link-establishment packets. When we
761 MODULE_PARM_DESC(hciextn, "Convert HCI Extensions into BCSP packets");
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dacx.h146 * Maximum number of packets that can be gathered
654 * The number of WLAN packets
661 * The number of BT packets
717 /* Enables receiving of broadcast packets in PS mode */
964 /* WEP packets decrypted */
965 u32 packets; member in struct:acx_wep_statistics
989 /* the number of packets that were transmitted with PS bit set */
992 /* the number of packets that were transmitted with PS bit clear */
1186 /* Number of blocks FW allocated for TX packets */
1189 /* Number of blocks FW allocated for RX packets */
1243 u8 address[16]; /* The IP address used to filter ARP packets.
1244 ARP packets that do not match this address are
1287 /* regular ps: simple sending of packets */
/linux-4.1.27/drivers/net/can/
H A Dvcan.c104 * only count the packets here, because the vcan_tx()
125 /* no looped packets => no counting */ vcan_tx()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.h52 * packets awaiting address resolution. Second, it is a node of a hash table
65 struct sk_buff *arpq_head; /* queue of packets awaiting resolution */
/linux-4.1.27/drivers/usb/gadget/udc/
H A Domap_udc.h108 # define UDC_TXN_EOT (1 << 15) /* bytes vs packets */
113 # define UDC_RXN_TC 0x00ff /* packets in xfer */
/linux-4.1.27/fs/ncpfs/
H A Dncp_fs_sb.h27 struct pid *wdog_pid; /* Who cares for our watchdog packets? */
81 int sign_wanted; /* 1=Server needs signed packets */
/linux-4.1.27/net/dsa/
H A Dtag_dsa.c28 * packets, or insert a DSA tag between the addresses and dsa_xmit()
29 * the ethertype field for untagged packets. dsa_xmit()
/linux-4.1.27/sound/firewire/fireworks/
H A Dfireworks.h30 #include "../packets-buffer.h"
47 * payload for asynchronous primary packets at S100 (Cable base rate) in
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c85 "rx-packets",
89 "rx-control-frame-packets",
90 "rx-pause-frame-packets",
96 "rx-undersize-packets",
97 "rx-oversize-packets",
102 "tx-packets",
103 "tx-multicast-packets",
104 "tx-broadcast-packets",
106 "tx-deferral-packets",
107 "tx-excessive-deferral-packets",
108 "tx-single-collision-packets",
109 "tx-multiple-collision-packets",
110 "tx-late-collision-packets",
111 "tx-excessive-collision-packets",
333 * pkt_rate_low (both measured in packets per second) the gfar_gcoalesce()
337 /* When the packet rate is (measured in packets per second) gfar_gcoalesce()
/linux-4.1.27/drivers/net/ethernet/moxa/
H A Dmoxart_ether.h171 #define RX_BROADPKT BIT(17) /* receive broadcast packets */
172 #define RX_MULTIPKT BIT(16) /* receive all multicast packets */
176 #define RX_FTL BIT(11) /* accept packets larger than 1518 B */
177 #define RX_RUNT BIT(10) /* accept packets smaller than 64 B */
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dsunvnet.h26 /* VNET packets are sent in buffers with the first 6 bytes skipped
/linux-4.1.27/arch/sparc/kernel/
H A Dstarfire.c33 * and delivery of traditional interrupt packets into the extended
/linux-4.1.27/include/net/caif/
H A Dcaif_layer.h56 * send more packets.
58 * to send packets again.
156 * CAIF packets upwards in the stack.
193 * Callers of the transmit function shall not free packets,
/linux-4.1.27/arch/hexagon/mm/
H A Dcopy_from_user.S27 * Copy to/from user are the same, except that for packets with a load and
H A Dcopy_to_user.S26 * Copy to/from user are the same, except that for packets with a load and
/linux-4.1.27/net/ipv4/netfilter/
H A Dipt_REJECT.c2 * This is a module which is used for rejecting packets.
/linux-4.1.27/net/ipv4/
H A Dtcp_vegas.c48 MODULE_PARM_DESC(alpha, "lower bound of packets in network");
50 MODULE_PARM_DESC(beta, "upper bound of packets in network");
148 * packets, _then_ we can make Vegas calculations
260 /* We don't have enough extra packets tcp_vegas_cong_avoid()
/linux-4.1.27/net/ipv6/
H A Dxfrm6_input.c136 x->curlft.packets++; xfrm6_input_addr()

Completed in 6585 milliseconds

123456789