diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-08 11:09:02 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-08 11:09:02 +0100 |
commit | bf6cfeb1dc6652eaff1b7c4edda45e15f5abf361 (patch) | |
tree | 936fa6dfa0aaabff35b3cd0a287f0623dfc04093 /include/network.h | |
parent | 29b5df53bcbef17722ab2b389f3352c4e86b4795 (diff) | |
download | conntrack-tools-bf6cfeb1dc6652eaff1b7c4edda45e15f5abf361.tar.gz conntrack-tools-bf6cfeb1dc6652eaff1b7c4edda45e15f5abf361.zip |
network: remove length parameter of mcast_buffered_send_netmsg()
This patch simplifies mcast_buffered_send_netmsg() by removing the
length parameter. Instead, we use the length field in the nethdr
to know the message size to be sent.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/network.h')
-rw-r--r-- | include/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.h b/include/network.h index b64753c..1195303 100644 --- a/include/network.h +++ b/include/network.h @@ -76,7 +76,7 @@ struct mcast_conf; int mcast_buffered_init(int mtu); void mcast_buffered_destroy(void); -int mcast_buffered_send_netmsg(struct mcast_sock *m, void *data, size_t len); +int mcast_buffered_send_netmsg(struct mcast_sock *m, const struct nethdr *net); ssize_t mcast_buffered_pending_netmsg(struct mcast_sock *m); #define IS_DATA(x) ((x->flags & ~(NET_F_HELLO | NET_F_HELLO_BACK)) == 0) |