Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
u32 | tipc_msg_tot_importance (struct tipc_msg *m) |
void | tipc_msg_init (struct tipc_msg *m, u32 user, u32 type, u32 hsize, u32 destnode) |
int | tipc_msg_build (struct tipc_msg *hdr, struct iovec const *msg_sect, u32 num_sect, unsigned int total_len, int max_size, int usrmem, struct sk_buff **buf) |
int tipc_msg_build | ( | struct tipc_msg * | hdr, |
struct iovec const * | msg_sect, | ||
u32 | num_sect, | ||
unsigned int | total_len, | ||
int | max_size, | ||
int | usrmem, | ||
struct sk_buff ** | buf | ||
) |
tipc_msg_build - create message using specified header and data
Note: Caller must not hold any locks in case copy_from_user() is interrupted!
Returns message data size or errno