mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-27 01:31:36 -04:00
2717358eda
1. The header comment contains the copyright license, feature description, author, and creation date 2. Rectification of code specification problems Signed-off-by: liangbotong <liangbotong@huawei.com>
30 lines
607 B
C
30 lines
607 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (c) 2022 Huawei Device Co., Ltd.
|
|
*
|
|
* Description: Definitions for the structure
|
|
* associated with NewIP route.
|
|
*
|
|
* Author: Yang Yanjun <yangyanjun@huawei.com>
|
|
*
|
|
* Data: 2022-09-06
|
|
*/
|
|
#ifndef _NEWIP_ROUTE_H
|
|
#define _NEWIP_ROUTE_H
|
|
|
|
#include "nip.h"
|
|
|
|
struct nip_rtmsg {
|
|
struct nip_addr rtmsg_dst;
|
|
struct nip_addr rtmsg_src;
|
|
struct nip_addr rtmsg_gateway;
|
|
char dev_name[10];
|
|
unsigned int rtmsg_type;
|
|
int rtmsg_ifindex;
|
|
unsigned int rtmsg_metric;
|
|
unsigned long rtmsg_info;
|
|
unsigned int rtmsg_flags;
|
|
};
|
|
|
|
#endif /* _NEWIP_ROUTE_H */
|