Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * Copyright (C) ST-Ericsson AB 2010
0004  * Author:  Sjur Brendeland
0005  * License terms: GNU General Public License (GPL) version 2
0006  */
0007 
0008 #ifndef IF_CAIF_H_
0009 #define IF_CAIF_H_
0010 #include <linux/sockios.h>
0011 #include <linux/types.h>
0012 #include <linux/socket.h>
0013 
0014 /**
0015  * enum ifla_caif - CAIF NetlinkRT parameters.
0016  * @IFLA_CAIF_IPV4_CONNID:  Connection ID for IPv4 PDP Context.
0017  *              The type of attribute is NLA_U32.
0018  * @IFLA_CAIF_IPV6_CONNID:  Connection ID for IPv6 PDP Context.
0019  *              The type of attribute is NLA_U32.
0020  * @IFLA_CAIF_LOOPBACK:     If different from zero, device is doing loopback
0021  *              The type of attribute is NLA_U8.
0022  *
0023  * When using RT Netlink to create, destroy or configure a CAIF IP interface,
0024  * enum ifla_caif is used to specify the configuration attributes.
0025  */
0026 enum ifla_caif {
0027     __IFLA_CAIF_UNSPEC,
0028     IFLA_CAIF_IPV4_CONNID,
0029     IFLA_CAIF_IPV6_CONNID,
0030     IFLA_CAIF_LOOPBACK,
0031     __IFLA_CAIF_MAX
0032 };
0033 #define IFLA_CAIF_MAX (__IFLA_CAIF_MAX-1)
0034 
0035 #endif /*IF_CAIF_H_*/