1 DialUp Networking diagram
2 =========================
4 This diagram explains how oFono and ConnMan are interacting to handle a data
5 call from a DUN client.
7 1) GAtServer receive ATD*99#.
8 2) The GAtPPP server is setup.
9 3) oFono through GAtPPP notify ConnMan that he needs a TUN/TAP interface.
10 4) oFono is notified that TUN/TAP interface is created and can start exchanging
11 PPP packets with DUN client. Those PPP packets are converted into IP stream
12 and transmitted to/received from TUN/TAP interface.
13 5) ConnMan is selecting which interface to send IP packets (WiFi, 3G, ...).
16 *----------------* *----------------*
18 | DUN Client |----------->| GAtServer |
20 *----------------* | *----------------*
26 | *----------------* /dev/net/tun *----------------*
27 *--->| | interface | |
28 | GAtPPP |<-------------->| ConnMan |
29 *--->| | interface | |
30 | *----------------* created *----------------*
33 | *------------------------* |/dev/net/tun
35 *--->| TUN/TAP interface |<-----------*
37 *------------------------*
39 routed with | ConnMan rules
40 *---------------------*--------------------*
44 *-------------* *-------------* *-------------*
46 | WiFi | | Modem | | EthX |
48 *-------------* *-------------* *-------------*