summaryrefslogtreecommitdiff
path: root/lib/route/link/ifb.c
blob: d5fc6855fc8400ac5b6e9d517b23814519b3c210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* SPDX-License-Identifier: LGPL-2.1-only */
/*
 * Copyright (c) 2014 Cong Wang <xiyou.wangcong@gmail.com>
 */

/**
 * @ingroup link
 * @defgroup ifb Intermediate Functional Block
 *
 * @details
 * \b Link Type Name: "ifb"
 *
 * @{
 */

#include "nl-default.h"

#include <netlink/netlink.h>

#include "link-api.h"

static struct rtnl_link_info_ops ifb_info_ops = {
	.io_name		= "ifb",
};

static void _nl_init ifb_init(void)
{
	rtnl_link_register_info(&ifb_info_ops);
}

static void _nl_exit ifb_exit(void)
{
	rtnl_link_unregister_info(&ifb_info_ops);
}

/** @} */