libnl  3.2.3
/build/buildd/libnl3-3.2.3/include/netlink/cli/link.h
00001 /*
00002  * netlink/cli/link.h     CLI Link 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-2010 Thomas Graf <tgraf@suug.ch>
00010  */
00011 
00012 #ifndef __NETLINK_CLI_LINK_H_
00013 #define __NETLINK_CLI_LINK_H_
00014 
00015 #include <netlink/route/link.h>
00016 #include <netlink/cli/utils.h>
00017 
00018 extern struct rtnl_link *nl_cli_link_alloc(void);
00019 extern struct nl_cache *nl_cli_link_alloc_cache_family(struct nl_sock *, int);
00020 extern struct nl_cache *nl_cli_link_alloc_cache(struct nl_sock *);
00021 
00022 extern void nl_cli_link_parse_family(struct rtnl_link *, char *);
00023 extern void nl_cli_link_parse_name(struct rtnl_link *, char *);
00024 extern void nl_cli_link_parse_mtu(struct rtnl_link *, char *);
00025 extern void nl_cli_link_parse_ifindex(struct rtnl_link *, char *);
00026 extern void nl_cli_link_parse_txqlen(struct rtnl_link *, char *);
00027 extern void nl_cli_link_parse_weight(struct rtnl_link *, char *);
00028 extern void nl_cli_link_parse_ifalias(struct rtnl_link *, char *);
00029 
00030 #endif