From afbaf91e575422be80fae5f4dd67f0a361eca4e7 Mon Sep 17 00:00:00 2001 From: Jiri Pirko Date: Sat, 16 Mar 2013 22:05:36 +0100 Subject: lib: add msg ifindex setter Signed-off-by: Jiri Pirko --- include/ndp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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, -- cgit v1.2.1