libnl 3.7.0
ifb.c
1/* SPDX-License-Identifier: LGPL-2.1-only */
2/*
3 * Copyright (c) 2014 Cong Wang <xiyou.wangcong@gmail.com>
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 <netlink-private/netlink.h>
17#include <netlink/netlink.h>
18#include <netlink-private/route/link/api.h>
19
20static struct rtnl_link_info_ops ifb_info_ops = {
21 .io_name = "ifb",
22};
23
24static void __init ifb_init(void)
25{
26 rtnl_link_register_info(&ifb_info_ops);
27}
28
29static void __exit ifb_exit(void)
30{
31 rtnl_link_unregister_info(&ifb_info_ops);
32}
33
34/** @} */