libnl  3.2.3
/build/buildd/libnl3-3.2.3/include/netlink/cli/neigh.h
00001 /*
00002  * netlink/cli/neighbour.h     CLI Neighbour Helpers
00003  *
00004  *      This library is free software; you can redistribute it and/or
00005  *      modify it under the terms of the GNU Lesser General Public
00006  *      License as published by the Free Software Foundation version 2.1
00007  *      of the License.
00008  *
00009  * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch>
00010  */
00011 
00012 #ifndef __NETLINK_CLI_NEIGH_H_
00013 #define __NETLINK_CLI_NEIGH_H_
00014 
00015 #include <netlink/route/neighbour.h>
00016 
00017 #define nl_cli_neigh_alloc_cache(sk) \
00018                 nl_cli_alloc_cache((sk), "neighbour", rtnl_neigh_alloc_cache)
00019 
00020 extern struct rtnl_neigh *nl_cli_neigh_alloc(void);
00021 extern void nl_cli_neigh_parse_dst(struct rtnl_neigh *, char *);
00022 extern void nl_cli_neigh_parse_lladdr(struct rtnl_neigh *, char *);
00023 extern void nl_cli_neigh_parse_dev(struct rtnl_neigh *, struct nl_cache *, char *);
00024 extern void nl_cli_neigh_parse_family(struct rtnl_neigh *, char *);
00025 extern void nl_cli_neigh_parse_state(struct rtnl_neigh *, char *);
00026 
00027 #endif