summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_cp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-03 22:32:27 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-04-03 22:32:27 -0700
commitc2fb0a16305bf7156cc4e98b9642f37b0e2342d3 (patch)
treed325665a0c2aba73cdd6d222aec268f2fd2fb934 /gatchat/ppp_cp.c
parent5772ad5d8b736f9a8639ad3c68beae059f04eb31 (diff)
downloadofono-c2fb0a16305bf7156cc4e98b9642f37b0e2342d3.tar.bz2
Move PPP constants where they are used
Diffstat (limited to 'gatchat/ppp_cp.c')
-rw-r--r--gatchat/ppp_cp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c
index 46c62c17..63d724d8 100644
--- a/gatchat/ppp_cp.c
+++ b/gatchat/ppp_cp.c
@@ -46,6 +46,8 @@ static const char *pppcp_state_strings[] =
g_free(str); \
} while (0);
+#define PPP_HEADROOM 2
+
#define pppcp_to_ppp_packet(p) \
(((guint8 *) p) - PPP_HEADROOM)