2 * Copyright (c) 2013, 2014 Alexandru Copot <alex.mihai.c@gmail.com>, with support from IXIA.
3 * Copyright (c) 2013, 2014 Daniel Baluta <dbaluta@ixiacom.com>
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at:
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
21 #include <sys/types.h>
32 enum ofperr ofp_bundle_open(struct ofconn *ofconn, uint32_t id, uint16_t flags);
34 enum ofperr ofp_bundle_close(struct ofconn *ofconn, uint32_t id, uint16_t flags);
36 enum ofperr ofp_bundle_commit(struct ofconn *ofconn, uint32_t id, uint16_t flags);
38 enum ofperr ofp_bundle_discard(struct ofconn *ofconn, uint32_t id);
40 enum ofperr ofp_bundle_add_message(struct ofconn *ofconn,
41 struct ofputil_bundle_add_msg *badd);
43 void ofp_bundle_remove_all(struct ofconn *ofconn);