NetworkManager r3578 - in trunk: . libnm-util
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3578 - in trunk: . libnm-util
- Date: Sat, 19 Apr 2008 02:25:45 +0100 (BST)
Author: dcbw
Date: Sat Apr 19 01:25:44 2008
New Revision: 3578
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3578&view=rev
Log:
2008-04-18 Dan Williams <dcbw redhat com>
* libnm-util/nm-setting-ppp.c
libnm-util/nm-setting-ppp.h
- Add 'no-vj-comp' option for TCP header compression
- baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
uint32
Modified:
trunk/ChangeLog
trunk/libnm-util/nm-setting-ppp.c
trunk/libnm-util/nm-setting-ppp.h
Modified: trunk/libnm-util/nm-setting-ppp.c
==============================================================================
--- trunk/libnm-util/nm-setting-ppp.c (original)
+++ trunk/libnm-util/nm-setting-ppp.c Sat Apr 19 01:25:44 2008
@@ -14,6 +14,7 @@
PROP_REFUSE_MSCHAPV2,
PROP_NOBSDCOMP,
PROP_NODEFLATE,
+ PROP_NO_VJ_COMP,
PROP_REQUIRE_MPPE,
PROP_REQUIRE_MPPE_128,
PROP_MPPE_STATEFUL,
@@ -86,6 +87,9 @@
case PROP_NODEFLATE:
setting->nodeflate = g_value_get_boolean (value);
break;
+ case PROP_NO_VJ_COMP:
+ setting->no_vj_comp = g_value_get_boolean (value);
+ break;
case PROP_REQUIRE_MPPE:
setting->require_mppe = g_value_get_boolean (value);
break;
@@ -150,6 +154,9 @@
case PROP_NODEFLATE:
g_value_set_boolean (value, setting->nodeflate);
break;
+ case PROP_NO_VJ_COMP:
+ g_value_set_boolean (value, setting->no_vj_comp);
+ break;
case PROP_REQUIRE_MPPE:
g_value_set_boolean (value, setting->require_mppe);
break;
@@ -260,6 +267,14 @@
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | NM_SETTING_PARAM_FUZZY_IGNORE));
g_object_class_install_property
+ (object_class, PROP_NO_VJ_COMP,
+ g_param_spec_boolean (NM_SETTING_PPP_NO_VJ_COMP,
+ "No VJ compression",
+ "No VJ compression",
+ FALSE,
+ G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | NM_SETTING_PARAM_FUZZY_IGNORE));
+
+ g_object_class_install_property
(object_class, PROP_REQUIRE_MPPE,
g_param_spec_boolean (NM_SETTING_PPP_REQUIRE_MPPE,
"Require MPPE",
Modified: trunk/libnm-util/nm-setting-ppp.h
==============================================================================
--- trunk/libnm-util/nm-setting-ppp.h (original)
+++ trunk/libnm-util/nm-setting-ppp.h Sat Apr 19 01:25:44 2008
@@ -24,6 +24,7 @@
#define NM_SETTING_PPP_REFUSE_MSCHAPV2 "refuse-mschapv2"
#define NM_SETTING_PPP_NOBSDCOMP "nobsdcomp"
#define NM_SETTING_PPP_NODEFLATE "nodeflate"
+#define NM_SETTING_PPP_NO_VJ_COMP "no-vj-comp"
#define NM_SETTING_PPP_REQUIRE_MPPE "require-mppe"
#define NM_SETTING_PPP_REQUIRE_MPPE_128 "require-mppe-128"
#define NM_SETTING_PPP_MPPE_STATEFUL "mpppe-stateful"
@@ -45,16 +46,17 @@
gboolean refuse_mschapv2;
gboolean nobsdcomp;
gboolean nodeflate;
+ gboolean no_vj_comp;
gboolean require_mppe;
gboolean require_mppe_128;
gboolean mppe_stateful;
gboolean crtscts;
- gint32 baud;
- gint32 mru;
- gint32 mtu;
- gint32 lcp_echo_failure;
- gint32 lcp_echo_interval;
+ guint32 baud;
+ guint32 mru;
+ guint32 mtu;
+ guint32 lcp_echo_failure;
+ guint32 lcp_echo_interval;
} NMSettingPPP;
typedef struct {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]