struct ovs_list msg_list; /* List of 'struct bundle_message's */
};
-static inline struct ofp_bundle_entry *ofp_bundle_entry_alloc(
- enum ofptype type, const struct ofp_header *oh);
static inline void ofp_bundle_entry_free(struct ofp_bundle_entry *);
enum ofperr ofp_bundle_open(struct ofconn *, uint32_t id, uint16_t flags,
void ofp_bundle_remove__(struct ofconn *, struct ofp_bundle *);
\f
-static inline struct ofp_bundle_entry *
-ofp_bundle_entry_alloc(enum ofptype type, const struct ofp_header *oh)
-{
- struct ofp_bundle_entry *entry = xmalloc(sizeof *entry);
-
- entry->type = type;
- entry->msg = xmemdup(oh, ntohs(oh->length));
-
- return entry;
-}
-
static inline void
ofp_bundle_entry_free(struct ofp_bundle_entry *entry)
{