1#ifndef CLICK_BATCHBUILDER_HH
2#define CLICK_BATCHBUILDER_HH
3#include <click/config.h>
6#include <click/ipflowid.hh>
13 PacketList() : first(0), count(0) {
47 inline void append(
Packet* p) {
58 inline bool empty()
const {
62 inline Packet* front()
const {
66 inline Packet* pop_front() {
74struct BatchBuilder : PacketList {
75 BatchBuilder() : last(-1), last_id() {
Definition packetbatch.hh:415
static PacketBatch * make_from_simple_list(Packet *head, Packet *tail, unsigned int size)
Definition packetbatch.hh:633
A network packet.
Definition packet.hh:68
void set_next(Packet *p)
Set the next packet annotation.
Definition packet.hh:1351
Packet * next() const
Return the next packet annotation.
Definition packet.hh:1327
Click's vector container template.