diff options
Diffstat (limited to 'net/tipc/msg.h')
| -rw-r--r-- | net/tipc/msg.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h index 0ea7b695ac4d..d5c83d7ecb47 100644 --- a/net/tipc/msg.h +++ b/net/tipc/msg.h | |||
| @@ -464,11 +464,6 @@ static inline struct tipc_msg *msg_get_wrapped(struct tipc_msg *m) | |||
| 464 | #define FRAGMENT 1 | 464 | #define FRAGMENT 1 |
| 465 | #define LAST_FRAGMENT 2 | 465 | #define LAST_FRAGMENT 2 |
| 466 | 466 | ||
| 467 | /* Bundling protocol message types | ||
| 468 | */ | ||
| 469 | #define BUNDLE_OPEN 0 | ||
| 470 | #define BUNDLE_CLOSED 1 | ||
| 471 | |||
| 472 | /* | 467 | /* |
| 473 | * Link management protocol message types | 468 | * Link management protocol message types |
| 474 | */ | 469 | */ |
| @@ -739,13 +734,14 @@ struct sk_buff *tipc_msg_create(uint user, uint type, uint hdr_sz, | |||
| 739 | 734 | ||
| 740 | int tipc_buf_append(struct sk_buff **headbuf, struct sk_buff **buf); | 735 | int tipc_buf_append(struct sk_buff **headbuf, struct sk_buff **buf); |
| 741 | 736 | ||
| 742 | bool tipc_msg_bundle(struct sk_buff *bbuf, struct sk_buff *buf, u32 mtu); | 737 | bool tipc_msg_bundle(struct sk_buff_head *list, struct sk_buff *skb, u32 mtu); |
| 743 | 738 | ||
| 744 | bool tipc_msg_make_bundle(struct sk_buff **buf, u32 mtu, u32 dnode); | 739 | bool tipc_msg_make_bundle(struct sk_buff_head *list, struct sk_buff *skb, |
| 740 | u32 mtu, u32 dnode); | ||
| 745 | 741 | ||
| 746 | int tipc_msg_build(struct tipc_msg *mhdr, struct iovec const *iov, | 742 | int tipc_msg_build(struct tipc_msg *mhdr, struct msghdr *m, int offset, |
| 747 | int offset, int dsz, int mtu , struct sk_buff **chain); | 743 | int dsz, int mtu, struct sk_buff_head *list); |
| 748 | 744 | ||
| 749 | struct sk_buff *tipc_msg_reassemble(struct sk_buff *chain); | 745 | struct sk_buff *tipc_msg_reassemble(struct sk_buff_head *list); |
| 750 | 746 | ||
| 751 | #endif | 747 | #endif |
