diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-03-16 22:05:36 +0100 |
---|---|---|
committer | Jiri Pirko <jiri@resnulli.us> | 2013-03-17 11:11:48 +0100 |
commit | afbaf91e575422be80fae5f4dd67f0a361eca4e7 (patch) | |
tree | fc0601ecc8922289074b20fb00c8f20dbe9d6fcc /include | |
parent | 650e30d185fd0b4ef5fcdebf6720e87a08ec90a3 (diff) | |
download | libndp-afbaf91e575422be80fae5f4dd67f0a361eca4e7.tar.gz |
lib: add msg ifindex setter
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Diffstat (limited to 'include')
-rw-r--r-- | include/ndp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ndp.h b/include/ndp.h index cf5fadb..6f310d6 100644 --- a/include/ndp.h +++ b/include/ndp.h @@ -101,6 +101,7 @@ struct ndp_msgr *ndp_msgr(struct ndp_msg *msg); enum ndp_msg_type ndp_msg_type(struct ndp_msg *msg); struct in6_addr *ndp_msg_addrto(struct ndp_msg *msg); uint32_t ndp_msg_ifindex(struct ndp_msg *msg); +void ndp_msg_ifindex_set(struct ndp_msg *msg, uint32_t ifindex); int ndp_msg_send(struct ndp *ndp, struct ndp_msg *msg); typedef int (*ndp_msgrcv_handler_func_t)(struct ndp *ndp, struct ndp_msg *msg, |