are you using ofono internal ppp management?
in this case, as far as I know, it should work with standard commands:
sprintf(buf, "AT+CGDATA=\"PPP\",%u", gcd->active_context);
You may have some problems in using the correct context number, but this is
a later problem.