summaryrefslogtreecommitdiff
path: root/vpn/plugins/vpn.c
AgeCommit message (Collapse)AuthorFilesLines
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432refs/changes/38/45538/1hyunuktak1-0/+0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2014-10-29Imported Upstream version 1.26upstream/1.26Zhang zhengguang1-3/+26
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang1-32/+35
2012-12-14vpn-plugin: Send proper response to caller and connect if neededPatrik Flykt1-11/+30
Send a proper response to the caller and attempt to connect if the provider data exists but is not connected.
2012-11-30vpn: Driver disconnect needs provider informationJukka Rissanen1-1/+1
The provider pointer needs to be passed to VPN driver when disconnecting. Otherwise we cannot find the correct provider that is being disconnected.
2012-11-30vpn: Make VPN plugin connection function asyncJukka Rissanen1-1/+1
This is needed as we want to ask user the passwords etc.
2012-11-30vpn: Add initial support for async connectJukka Rissanen1-2/+3
Needed for agent VPN support.
2012-11-23vpn: Go to failure state if vpn information cannot be foundJukka Rissanen1-2/+12
2012-11-23vpn-plugin: Set state correctly if vpn client process cannot be startedJukka Rissanen1-0/+2
2012-11-23vpnd: Make sure provider is taken to ready stateJukka Rissanen1-2/+17
If the connman_inet_ifup() says the interface is already UP, then it is possible that we might not get a call to vpn_newlink(). That would be really bad as the provider would then never go to ready state. So in this case we manually call vpn_newlink() to take the interface UP. If the newlink was called before our call, then our manual call will be ignored.
2012-11-23vpn: New vpn daemon that handles vpn connections and clientsJukka Rissanen1-0/+535