1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (c) 2022 Huawei Device Co., Ltd.
4 *
5 * Description: Definitions for the structure
6 * associated with NewIP route.
7 *
8 * Author: Yang Yanjun <yangyanjun@huawei.com>
9 *
10 * Data: 2022-09-06
11 */
12#ifndef _NEWIP_ROUTE_H
13#define _NEWIP_ROUTE_H
14
15#include "nip.h"
16
17struct nip_rtmsg {
18	struct nip_addr rtmsg_dst;
19	struct nip_addr rtmsg_src;
20	struct nip_addr rtmsg_gateway;
21	char dev_name[10];
22	unsigned int rtmsg_type;
23	int rtmsg_ifindex;
24	unsigned int rtmsg_metric;
25	unsigned long rtmsg_info;
26	unsigned int rtmsg_flags;
27};
28
29#endif /* _NEWIP_ROUTE_H */
30