summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp.h')
-rw-r--r--gatchat/ppp.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gatchat/ppp.h b/gatchat/ppp.h
index 414d2dfc..fcd7aa8a 100644
--- a/gatchat/ppp.h
+++ b/gatchat/ppp.h
@@ -27,8 +27,6 @@
#define PPP_IP_PROTO 0x0021
#define MD5 5
-#define PPP_IP_COMPRESSED_PROTO 0x21
-
#define DBG(p, fmt, arg...) do { \
char *str = g_strdup_printf("%s:%s() " fmt, __FILE__, \
__FUNCTION__ , ## arg); \
@@ -81,18 +79,9 @@ static inline void __put_unaligned_short(void *p, guint16 val)
#define put_network_short(p, val) \
(__put_unaligned_short(p, htons(val)))
-#define ppp_info(packet) \
- (packet + 4)
-
#define ppp_proto(packet) \
(get_host_short(packet + 2))
-#define ppp_acfc_info(packet) \
- (packet + 2)
-
-#define ppp_acfc_proto(packet) \
- (get_host_short(packet))
-
/* LCP related functions */
struct pppcp_data *lcp_new(GAtPPP *ppp, gboolean dormant);
void lcp_free(struct pppcp_data *lcp);