diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-07-19 13:49:35 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-07-19 13:49:35 -0500 |
commit | b3237600c4ada2b822bf48d820d52b4f3907175a (patch) | |
tree | 4d3e99ad97dd0fbd9ec8cf091868d0d1728a0bac /include/gprs-context.h | |
parent | 9cbcd8786123f831991c2e1a33580ea94f093f2d (diff) | |
download | ofono-b3237600c4ada2b822bf48d820d52b4f3907175a.tar.bz2 |
gprs: Update gprs context struct with IPv6 support
Diffstat (limited to 'include/gprs-context.h')
-rw-r--r-- | include/gprs-context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gprs-context.h b/include/gprs-context.h index 06a34a5d..f4c7321e 100644 --- a/include/gprs-context.h +++ b/include/gprs-context.h @@ -34,12 +34,18 @@ struct ofono_gprs_context; #define OFONO_GPRS_MAX_USERNAME_LENGTH 63 #define OFONO_GPRS_MAX_PASSWORD_LENGTH 255 +enum ofono_gprs_proto { + OFONO_GPRS_PROTO_IP = 0, + OFONO_GPRS_PROTO_IPV6, +}; + struct ofono_gprs_primary_context { unsigned int cid; int direction; char apn[OFONO_GPRS_MAX_APN_LENGTH + 1]; char username[OFONO_GPRS_MAX_USERNAME_LENGTH + 1]; char password[OFONO_GPRS_MAX_PASSWORD_LENGTH + 1]; + enum ofono_gprs_proto proto; }; typedef void (*ofono_gprs_context_cb_t)(const struct ofono_error *error, |