diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-06-29 03:32:51 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-06-29 03:35:13 -0500 |
commit | bc37c7465320e6f64693dbc1aec5cf4b250cb723 (patch) | |
tree | 897e5d08d16946ac1d70348eb6ec6adb7e6084de /gatchat/ppp.h | |
parent | 12338faabd67b949949b5de9bfe5076bfb35b614 (diff) | |
download | ofono-bc37c7465320e6f64693dbc1aec5cf4b250cb723.tar.bz2 |
gatppp: Refactor rx path
Diffstat (limited to 'gatchat/ppp.h')
-rw-r--r-- | gatchat/ppp.h | 11 |
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); |