b->l2_pad_size = 0;
b->l2_5_ofs = b->l3_ofs = b->l4_ofs = UINT16_MAX;
b->md = PKT_METADATA_INITIALIZER(0);
- list_poison(&b->list_node);
}
static void
return ds_cstr(&s);
}
-/* Removes each of the "struct dp_packet"s on 'list' from the list and frees
- * them. */
-void
-dp_packet_list_delete(struct ovs_list *list)
-{
- struct dp_packet *b;
-
- LIST_FOR_EACH_POP (b, list_node, list) {
- dp_packet_delete(b);
- }
-}
-
static inline void
dp_packet_adjust_layer_offset(uint16_t *offset, int increment)
{