summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-05-10 16:28:23 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-05-10 16:28:23 -0500
commit3946d7e07c4202461506df81307931734bed1b3b (patch)
tree2a8c5f88607e5b7f0cdfbd246958cfbbc5eb3328
parent125fc62526114acd373ed090edbd42a01300e2af (diff)
downloadofono-3946d7e07c4202461506df81307931734bed1b3b.tar.bz2
ppp: Keep these defines private
-rw-r--r--gatchat/gatppp.c3
-rw-r--r--gatchat/ppp.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index d2c3d5a9..82d1eca5 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -43,6 +43,9 @@
#define DEFAULT_MRU 1500
#define DEFAULT_MTU 1500
+#define PPP_ADDR_FIELD 0xff
+#define PPP_CTRL 0x03
+
enum ppp_phase {
PPP_PHASE_DEAD = 0, /* Link dead */
PPP_PHASE_ESTABLISHMENT, /* LCP started */
diff --git a/gatchat/ppp.h b/gatchat/ppp.h
index e8724961..7f6c950a 100644
--- a/gatchat/ppp.h
+++ b/gatchat/ppp.h
@@ -26,8 +26,6 @@
#define IPCP_PROTO 0x8021
#define PPP_IP_PROTO 0x0021
#define MD5 5
-#define PPP_ADDR_FIELD 0xff
-#define PPP_CTRL 0x03
struct ppp_chap;
struct ppp_net;