diff options
author | Kristen Carlson Accardi <kristen@linux.intel.com> | 2010-04-26 11:44:36 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-26 15:31:17 -0500 |
commit | a9c0be7339f3df75d1aaa5feb2330bd6a414582f (patch) | |
tree | 1ef0250e102a0abc9162af412d6496fff554080f /gatchat/ppp_cp.h | |
parent | fce78feb549ccaad55cf3943391b2cad9a4b6646 (diff) | |
download | ofono-a9c0be7339f3df75d1aaa5feb2330bd6a414582f.tar.bz2 |
ppp: use default ACCM when sending LCP codes 1-7
According to the spec, you must transmit all Link Configuration,
Termination, and Code-Reject packets as if no options had been
negotiated. This requires that when encoding we use the
default ACCM of 0xffffffff when sending these types of packets.
Diffstat (limited to 'gatchat/ppp_cp.h')
-rw-r--r-- | gatchat/ppp_cp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/ppp_cp.h b/gatchat/ppp_cp.h index 519a4a0a..8930e505 100644 --- a/gatchat/ppp_cp.h +++ b/gatchat/ppp_cp.h @@ -110,6 +110,8 @@ void pppcp_set_data(struct pppcp_data *pppcp, gpointer data); gpointer pppcp_get_data(struct pppcp_data *pppcp); GAtPPP *pppcp_get_ppp(struct pppcp_data *pppcp); +guint8 pppcp_get_code(const guint8 *data); + void pppcp_set_local_options(struct pppcp_data *data, const guint8 *options, guint16 len); |