From b3237600c4ada2b822bf48d820d52b4f3907175a Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 19 Jul 2010 13:49:35 -0500 Subject: [PATCH] gprs: Update gprs context struct with IPv6 support --- include/gprs-context.h | 6 ++++++ 1 file changed, 6 insertions(+) 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,