]>
Commit | Line | Data |
---|---|---|
e2be04c7 | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
f671c542 SB |
2 | /* |
3 | * Copyright (C) ST-Ericsson AB 2010 | |
26ee65e6 | 4 | * Author: Sjur Brendeland |
f671c542 SB |
5 | * License terms: GNU General Public License (GPL) version 2 |
6 | */ | |
7 | ||
8 | #ifndef IF_CAIF_H_ | |
9 | #define IF_CAIF_H_ | |
10 | #include <linux/sockios.h> | |
11 | #include <linux/types.h> | |
12 | #include <linux/socket.h> | |
13 | ||
14 | /** | |
15 | * enum ifla_caif - CAIF NetlinkRT parameters. | |
16 | * @IFLA_CAIF_IPV4_CONNID: Connection ID for IPv4 PDP Context. | |
17 | * The type of attribute is NLA_U32. | |
18 | * @IFLA_CAIF_IPV6_CONNID: Connection ID for IPv6 PDP Context. | |
19 | * The type of attribute is NLA_U32. | |
20 | * @IFLA_CAIF_LOOPBACK: If different from zero, device is doing loopback | |
21 | * The type of attribute is NLA_U8. | |
22 | * | |
23 | * When using RT Netlink to create, destroy or configure a CAIF IP interface, | |
24 | * enum ifla_caif is used to specify the configuration attributes. | |
25 | */ | |
26 | enum ifla_caif { | |
27 | __IFLA_CAIF_UNSPEC, | |
28 | IFLA_CAIF_IPV4_CONNID, | |
29 | IFLA_CAIF_IPV6_CONNID, | |
30 | IFLA_CAIF_LOOPBACK, | |
31 | __IFLA_CAIF_MAX | |
32 | }; | |
33 | #define IFLA_CAIF_MAX (__IFLA_CAIF_MAX-1) | |
34 | ||
35 | #endif /*IF_CAIF_H_*/ |