xref: /aosp_15_r20/external/libnl/lib/route/link/ifb.c (revision 4dc78e53d49367fa8e61b07018507c90983a077d)
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3  * Copyright (c) 2014 Cong Wang <[email protected]>
4  */
5 
6 /**
7  * @ingroup link
8  * @defgroup ifb Intermediate Functional Block
9  *
10  * @details
11  * \b Link Type Name: "ifb"
12  *
13  * @{
14  */
15 
16 #include "nl-default.h"
17 
18 #include <netlink/netlink.h>
19 
20 #include "link-api.h"
21 
22 static struct rtnl_link_info_ops ifb_info_ops = {
23 	.io_name		= "ifb",
24 };
25 
ifb_init(void)26 static void _nl_init ifb_init(void)
27 {
28 	rtnl_link_register_info(&ifb_info_ops);
29 }
30 
ifb_exit(void)31 static void _nl_exit ifb_exit(void)
32 {
33 	rtnl_link_unregister_info(&ifb_info_ops);
34 }
35 
36 /** @} */
37