OLD | NEW |
1 /* | 1 /* |
2 * | 2 * |
3 * Connection Manager | 3 * Connection Manager |
4 * | 4 * |
5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. | 5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License version 2 as | 8 * it under the terms of the GNU General Public License version 2 as |
9 * published by the Free Software Foundation. | 9 * published by the Free Software Foundation. |
10 * | 10 * |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include <errno.h> | 26 #include <errno.h> |
27 #include <glib.h> | 27 #include <glib.h> |
28 #include <string.h> | 28 #include <string.h> |
29 #include <unistd.h> | 29 #include <unistd.h> |
30 #include <net/if_arp.h> | 30 #include <net/if_arp.h> |
31 #include <sys/socket.h> | 31 #include <sys/socket.h> |
32 #define CONNMAN_API_SUBJECT_TO_CHANGE | 32 #define CONNMAN_API_SUBJECT_TO_CHANGE |
33 #include <connman/dbus.h> | 33 #include <connman/dbus.h> |
34 #include <connman/device.h> | 34 #include <connman/device.h> |
| 35 #include <connman/inet.h> |
35 #include <connman/ipconfig.h> | 36 #include <connman/ipconfig.h> |
36 #include <connman/log.h> | 37 #include <connman/log.h> |
37 #include <connman/plugin.h> | 38 #include <connman/plugin.h> |
38 #include <connman/task.h> | 39 #include <connman/task.h> |
39 | 40 |
40 #define _DBG_PPPD(fmt, arg...) DBG(DBG_PPPD, fmt, ## arg) | 41 #define _DBG_PPPD(fmt, arg...) DBG(DBG_PPPD, fmt, ## arg) |
41 | 42 |
42 #define PPPD_INTF "org.samba.pppd" | 43 #define PPPD_INTF "org.samba.pppd" |
43 #define PPPD_PATH "/org/samba/pppd" | 44 #define PPPD_PATH "/org/samba/pppd" |
44 | 45 |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 } | 282 } |
282 | 283 |
283 static void pppd_exit(void) | 284 static void pppd_exit(void) |
284 { | 285 { |
285 _DBG_PPPD(""); | 286 _DBG_PPPD(""); |
286 connman_ipconfig_driver_unregister(&ppp_driver); | 287 connman_ipconfig_driver_unregister(&ppp_driver); |
287 } | 288 } |
288 | 289 |
289 CONNMAN_PLUGIN_DEFINE(pppd, "Point-to-point protocol plugin", VERSION, | 290 CONNMAN_PLUGIN_DEFINE(pppd, "Point-to-point protocol plugin", VERSION, |
290 CONNMAN_PLUGIN_PRIORITY_DEFAULT, pppd_init, pppd_exit) | 291 CONNMAN_PLUGIN_PRIORITY_DEFAULT, pppd_init, pppd_exit) |
OLD | NEW |