| 1 |
|
| 2 |
#ifndef _MBIM_IF_LINK_H |
| 3 |
#define _MBIM_IF_LINK_H |
| 4 |
|
| 5 |
#include <linux/if_link.h> |
| 6 |
|
| 7 |
/* Instead of checking if the libc or kernel provided headers |
| 8 |
* include the enum value we require, in this case we define |
| 9 |
* a new one ourselves. We cannot check if a single enum value |
| 10 |
* was defined in an included header via preprocessor directives. |
| 11 |
*/ |
| 12 |
|
| 13 |
enum { |
| 14 |
/* device (sysfs) name as parent, used instead |
| 15 |
* of IFLA_LINK where there's no parent netdev. |
| 16 |
*/ |
| 17 |
MBIM_IFLA_PARENT_DEV_NAME = 56, |
| 18 |
}; |
| 19 |
|
| 20 |
#endif /* _MBIM_IF_LINK_H */ |