• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * lib/route/link/ifb.c	IFB Interfaces
3  *
4  *	This library is free software; you can redistribute it and/or
5  *	modify it under the terms of the GNU Lesser General Public
6  *	License as published by the Free Software Foundation version 2.1
7  *	of the License.
8  *
9  * Copyright (c) 2014 Cong Wang <xiyou.wangcong@gmail.com>
10  */
11 
12 /**
13  * @ingroup link
14  * @defgroup ifb Intermediate Functional Block
15  *
16  * @details
17  * \b Link Type Name: "ifb"
18  *
19  * @{
20  */
21 
22 #include <netlink-private/netlink.h>
23 #include <netlink/netlink.h>
24 #include <netlink-private/route/link/api.h>
25 
26 static struct rtnl_link_info_ops ifb_info_ops = {
27 	.io_name		= "ifb",
28 };
29 
ifb_init(void)30 static void __init ifb_init(void)
31 {
32 	rtnl_link_register_info(&ifb_info_ops);
33 }
34 
ifb_exit(void)35 static void __exit ifb_exit(void)
36 {
37 	rtnl_link_unregister_info(&ifb_info_ops);
38 }
39 
40 /** @} */
41