Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Unified Diff: plugins/vpn.h

Issue 6513009: flimflam: Add L2TP/IPsec VPN plugin (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Retry initializing ipconfig when iface is known Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « plugins/l2tpipsec.c ('k') | plugins/vpn.c » ('j') | plugins/vpn.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugins/vpn.h
diff --git a/plugins/vpn.h b/plugins/vpn.h
index 7f10150a4dde09b849f5965dfdb58d234c438f9b..3551d170e90a8852ce12bc7e876d810fcf709a6b 100644
--- a/plugins/vpn.h
+++ b/plugins/vpn.h
@@ -19,6 +19,8 @@
*
*/
+#define VPN_FLAG_NO_TUN 1
+
enum vpn_state {
VPN_STATE_UNKNOWN = 0,
VPN_STATE_IDLE = 1,
@@ -29,6 +31,7 @@ enum vpn_state {
};
struct vpn_driver {
+ int flags;
int (*notify) (DBusMessage *msg, struct connman_provider *provider);
int (*connect) (struct connman_provider *provider,
struct connman_task *task, const char *if_name);
@@ -39,3 +42,4 @@ int vpn_register(const char *name, struct vpn_driver *driver,
const char *program);
void vpn_unregister(const char *provider_name);
void vpn_died();
+int vpn_set_ifname(struct connman_provider *provider, const char *ifname);
« no previous file with comments | « plugins/l2tpipsec.c ('k') | plugins/vpn.c » ('j') | plugins/vpn.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698