2014-07-06 16:53:02 -04:00
|
|
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
|
|
|
|
/*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
|
* Boston, MA 02110-1301 USA.
|
|
|
|
|
*
|
2018-03-09 10:51:49 +01:00
|
|
|
* Copyright 2014 - 2018 Red Hat, Inc.
|
2014-07-06 16:53:02 -04:00
|
|
|
*/
|
|
|
|
|
|
all: fix up multiple-include-guard defines
Previously, src/nm-ip4-config.h, libnm/nm-ip4-config.h, and
libnm-glib/nm-ip4-config.h all used "NM_IP4_CONFIG_H" as an include
guard, which meant that nm-test-utils.h could not tell which of them
was being included (and so, eg, if you tried to include
nm-ip4-config.h in a libnm test, it would fail to compile because
nm-test-utils.h was referring to symbols in src/nm-ip4-config.h).
Fix this by changing the include guards in the non-API-stable parts of
the tree:
- libnm-glib/nm-ip4-config.h remains NM_IP4_CONFIG_H
- libnm/nm-ip4-config.h now uses __NM_IP4_CONFIG_H__
- src/nm-ip4-config.h now uses __NETWORKMANAGER_IP4_CONFIG_H__
And likewise for all other headers.
The two non-"nm"-prefixed headers, libnm/NetworkManager.h and
src/NetworkManagerUtils.h are now __NETWORKMANAGER_H__ and
__NETWORKMANAGER_UTILS_H__ respectively, which, while not entirely
consistent with the general scheme, do still mostly make sense in
isolation.
2014-08-13 14:10:11 -04:00
|
|
|
#ifndef __NETWORKMANAGER_H__
|
|
|
|
|
#define __NETWORKMANAGER_H__
|
2014-07-06 16:53:02 -04:00
|
|
|
|
|
|
|
|
#define __NETWORKMANAGER_H_INSIDE__
|
|
|
|
|
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-access-point.h"
|
|
|
|
|
#include "nm-active-connection.h"
|
|
|
|
|
#include "nm-client.h"
|
|
|
|
|
#include "nm-connection.h"
|
|
|
|
|
#include "nm-core-enum-types.h"
|
|
|
|
|
#include "nm-dbus-interface.h"
|
2018-05-22 16:45:05 +02:00
|
|
|
#include "nm-device-6lowpan.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-device-adsl.h"
|
|
|
|
|
#include "nm-device-bond.h"
|
|
|
|
|
#include "nm-device-bridge.h"
|
|
|
|
|
#include "nm-device-bt.h"
|
|
|
|
|
#include "nm-device-dummy.h"
|
|
|
|
|
#include "nm-device-ethernet.h"
|
|
|
|
|
#include "nm-device-generic.h"
|
|
|
|
|
#include "nm-device-infiniband.h"
|
|
|
|
|
#include "nm-device-ip-tunnel.h"
|
2018-05-02 09:12:20 +02:00
|
|
|
#include "nm-device-macsec.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-device-macvlan.h"
|
|
|
|
|
#include "nm-device-modem.h"
|
|
|
|
|
#include "nm-device-olpc-mesh.h"
|
2017-10-10 11:04:32 +02:00
|
|
|
#include "nm-device-ovs-interface.h"
|
2017-10-10 11:04:32 +02:00
|
|
|
#include "nm-device-ovs-port.h"
|
2017-10-10 11:04:32 +02:00
|
|
|
#include "nm-device-ovs-bridge.h"
|
2018-05-02 09:12:20 +02:00
|
|
|
#include "nm-device-ppp.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-device-team.h"
|
|
|
|
|
#include "nm-device-tun.h"
|
|
|
|
|
#include "nm-device-vlan.h"
|
|
|
|
|
#include "nm-device-vxlan.h"
|
|
|
|
|
#include "nm-device-wifi.h"
|
|
|
|
|
#include "nm-device-wimax.h"
|
2018-03-13 13:42:38 +00:00
|
|
|
#include "nm-device-wireguard.h"
|
2018-03-09 17:19:36 +01:00
|
|
|
#include "nm-device-wpan.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-device.h"
|
|
|
|
|
#include "nm-dhcp-config.h"
|
|
|
|
|
#include "nm-enum-types.h"
|
|
|
|
|
#include "nm-ip-config.h"
|
|
|
|
|
#include "nm-object.h"
|
|
|
|
|
#include "nm-remote-connection.h"
|
2018-05-22 15:41:29 +02:00
|
|
|
#include "nm-setting-6lowpan.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-setting-8021x.h"
|
|
|
|
|
#include "nm-setting-adsl.h"
|
|
|
|
|
#include "nm-setting-bluetooth.h"
|
|
|
|
|
#include "nm-setting-bond.h"
|
|
|
|
|
#include "nm-setting-bridge.h"
|
|
|
|
|
#include "nm-setting-bridge-port.h"
|
|
|
|
|
#include "nm-setting-cdma.h"
|
|
|
|
|
#include "nm-setting-connection.h"
|
|
|
|
|
#include "nm-setting-dcb.h"
|
|
|
|
|
#include "nm-setting-dummy.h"
|
libnm, cli, ifcfg-rh: add NMSettingEthtool setting
Note that in NetworkManager API (D-Bus, libnm, and nmcli),
the features are called "feature-xyz". The "feature-" prefix
is used, because NMSettingEthtool possibly will gain support
for options that are not only -K|--offload|--features, for
example -C|--coalesce.
The "xzy" suffix is either how ethtool utility calls the feature
("tso", "rx"). Or, if ethtool utility specifies no alias for that
feature, it's the name from kernel's ETH_SS_FEATURES ("tx-tcp6-segmentation").
If possible, we prefer ethtool utility's naming.
Also note, how the features "feature-sg", "feature-tso", and
"feature-tx" actually refer to multiple underlying kernel features
at once. This too follows what ethtool utility does.
The functionality is not yet implemented server-side.
2018-07-16 23:37:55 +02:00
|
|
|
#include "nm-setting-ethtool.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-setting-generic.h"
|
|
|
|
|
#include "nm-setting-gsm.h"
|
|
|
|
|
#include "nm-setting-infiniband.h"
|
|
|
|
|
#include "nm-setting-ip4-config.h"
|
|
|
|
|
#include "nm-setting-ip6-config.h"
|
|
|
|
|
#include "nm-setting-ip-config.h"
|
|
|
|
|
#include "nm-setting-ip-tunnel.h"
|
|
|
|
|
#include "nm-setting-macsec.h"
|
|
|
|
|
#include "nm-setting-macvlan.h"
|
|
|
|
|
#include "nm-setting-olpc-mesh.h"
|
2017-08-01 20:28:05 +02:00
|
|
|
#include "nm-setting-ovs-bridge.h"
|
2017-08-01 20:28:05 +02:00
|
|
|
#include "nm-setting-ovs-interface.h"
|
2017-08-01 20:28:05 +02:00
|
|
|
#include "nm-setting-ovs-patch.h"
|
2017-08-01 20:28:05 +02:00
|
|
|
#include "nm-setting-ovs-port.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-setting-ppp.h"
|
|
|
|
|
#include "nm-setting-pppoe.h"
|
|
|
|
|
#include "nm-setting-proxy.h"
|
|
|
|
|
#include "nm-setting-serial.h"
|
2018-05-25 12:05:24 +02:00
|
|
|
#include "nm-setting-sriov.h"
|
2017-11-16 19:19:37 +01:00
|
|
|
#include "nm-setting-tc-config.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-setting-team.h"
|
|
|
|
|
#include "nm-setting-team-port.h"
|
|
|
|
|
#include "nm-setting-tun.h"
|
2017-03-24 12:41:04 +01:00
|
|
|
#include "nm-setting-user.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-setting-vlan.h"
|
|
|
|
|
#include "nm-setting-vpn.h"
|
|
|
|
|
#include "nm-setting-vxlan.h"
|
|
|
|
|
#include "nm-setting-wimax.h"
|
|
|
|
|
#include "nm-setting-wired.h"
|
|
|
|
|
#include "nm-setting-wireless.h"
|
|
|
|
|
#include "nm-setting-wireless-security.h"
|
2018-03-09 10:51:49 +01:00
|
|
|
#include "nm-setting-wpan.h"
|
2017-03-09 13:02:20 +01:00
|
|
|
#include "nm-setting.h"
|
|
|
|
|
#include "nm-simple-connection.h"
|
|
|
|
|
#include "nm-utils.h"
|
|
|
|
|
#include "nm-version.h"
|
|
|
|
|
#include "nm-vpn-connection.h"
|
|
|
|
|
#include "nm-vpn-dbus-interface.h"
|
|
|
|
|
#include "nm-vpn-editor.h"
|
|
|
|
|
#include "nm-vpn-editor-plugin.h"
|
|
|
|
|
#include "nm-vpn-plugin-info.h"
|
|
|
|
|
#include "nm-vpn-service-plugin.h"
|
|
|
|
|
#include "nm-wimax-nsp.h"
|
2014-07-06 16:53:02 -04:00
|
|
|
|
2018-03-19 10:34:58 +01:00
|
|
|
#include "nm-autoptr.h"
|
|
|
|
|
|
2014-07-06 16:53:02 -04:00
|
|
|
#undef __NETWORKMANAGER_H_INSIDE__
|
|
|
|
|
|
all: fix up multiple-include-guard defines
Previously, src/nm-ip4-config.h, libnm/nm-ip4-config.h, and
libnm-glib/nm-ip4-config.h all used "NM_IP4_CONFIG_H" as an include
guard, which meant that nm-test-utils.h could not tell which of them
was being included (and so, eg, if you tried to include
nm-ip4-config.h in a libnm test, it would fail to compile because
nm-test-utils.h was referring to symbols in src/nm-ip4-config.h).
Fix this by changing the include guards in the non-API-stable parts of
the tree:
- libnm-glib/nm-ip4-config.h remains NM_IP4_CONFIG_H
- libnm/nm-ip4-config.h now uses __NM_IP4_CONFIG_H__
- src/nm-ip4-config.h now uses __NETWORKMANAGER_IP4_CONFIG_H__
And likewise for all other headers.
The two non-"nm"-prefixed headers, libnm/NetworkManager.h and
src/NetworkManagerUtils.h are now __NETWORKMANAGER_H__ and
__NETWORKMANAGER_UTILS_H__ respectively, which, while not entirely
consistent with the general scheme, do still mostly make sense in
isolation.
2014-08-13 14:10:11 -04:00
|
|
|
#endif /* __NETWORKMANAGER_H__ */
|