summaryrefslogtreecommitdiff
path: root/src/connman.h
AgeCommit message (Collapse)AuthorFilesLines
2012-06-15service: Add a getter for the passphraseTomasz Bursztyka1-0/+1
2012-06-11config: Check if we need to rescan the config file for any changesJukka Rissanen1-1/+1
2012-06-11config: Use config file name and entry when deciding removalJukka Rissanen1-1/+1
We need to know the config file and entry name in next patch in order to know if the service entry was removed from config file.
2012-06-11service: Support function that saves serviceJukka Rissanen1-0/+1
2012-06-11service: Mark service as dirty and needing sortingJukka Rissanen1-0/+1
2012-06-11service: Add function to set the favorite flagJukka Rissanen1-0/+3
Add a function that sets favorite flag but which does not touch the ordering of service sequence. This is needed when we check provisioned config file which traverses the service sequence. If a proper provisioned service is found, then it is marked as favorite but in this case we must not do any ordering of service sequence because we are in the middle of sequence traversal.
2012-06-11service: Add function to remove a serviceJukka Rissanen1-0/+1
2012-06-11service: Add setter for config informationJukka Rissanen1-0/+2
Save config information (file name and section id) for provisioned services. The information is used to remove the service when config file is removed.
2012-06-11storage: Add function to remove a service directoryJukka Rissanen1-0/+1
All known files from service directory are removed and if successfull then the service directory is also removed.
2012-06-11service: Add function to return service by identifierJukka Rissanen1-0/+1
2012-05-28storage: Remove obsolete functions that nobody callsJukka Rissanen1-2/+0
Config load and save functions are not called so they are not needed.
2012-05-25device: Make scanning getter method public.Tomasz Bursztyka1-2/+0
2012-05-24storage: Return any errors when saving services and global configPatrik Flykt1-2/+2
2012-05-22resolver: Send RS before RDNSS lifetime expiresElena Tebesoi1-0/+3
Implemented feature from RFC 6106 section '5.1. Recursive DNS Server Option': "Lifetime 32-bit unsigned integer. ... Hosts MAY send a Router Solicitation to ensure the RDNSS information is fresh before the interval expires." Host will send RS when a certain threshold of RDNSS lifetime is reached. Values which can be adjusted: - lifetime threshold - set to 80% from lifetime - number of retries in case RA is not received - set to 0 - time between retries, in case RA is not received - set to 3 seconds
2012-05-04service: Add flag that tells if the service is hidden or notJukka Rissanen1-0/+1
2012-05-04service: Adding a function to set userconnect valueTomasz Bursztyka1-0/+2
This is necessary for further fixing while connecting to an hidden network.
2012-05-04agent: Adding a parameter to give the error name to browser callbackTomasz Bursztyka1-1/+1
2012-05-04agent: Adding a parameter to give the error name to authentication callbackTomasz Bursztyka1-1/+1
2012-05-01timeserver: Helper function for adding timeservers once to a listPatrik Flykt1-0/+2
2012-04-29core: Update copyright informationMarcel Holtmann1-1/+1
2012-04-27ipconfig: Add ipconfig type to __connman_ipconfig_get_gateway_from_index()Patrik Flykt1-1/+2
In order to be able to request a certain ipconfig type, add the type as a parameter to __connman_ipconfig_get_gateway_from_index().
2012-04-24resolver: Use proper IPv6 source address when sending DNS queriesJukka Rissanen1-0/+1
This fix is for following scenario: - New interface is coming up. - There is radvd in the connected network and it is advertising IPv6 addresses and DNS servers. - Kernel receives router advertisement and picks up the DNS server information which is then routed via netlink to rtnl.c:rtnl_newnduseropt() which then creates DNS listener. - Kernel activates DAD (duplicate address detection). - As the DAD takes some time we now have interface up and it only has link local IPv6 address defined. - The DNS listener is now using link local source addresses when sending queries instead of proper autoconfigured addresses. - When DAD is finished, the interface will have autoconfigured addresses assigned and corresponding netlink message will cause function rtnl.c:process_newaddr() to be called. - If all this happens, then we re-create DNS listener in dnsproxy.c so that listener will have a proper (autoconfigured) source address when sending DNS packets.
2012-04-24notifier: Handle Manager state when exiting onlinePatrik Flykt1-3/+3
Service state can transition from online to disconnect like this: 1) old online - new disconnect/association => association 2) old association - new disconnect/disconnect => disconnect Create a separate function for leaving online mode, don't rely on the previous old_state in service_indicate_state(). Fixes BMC#25073
2012-04-20service: Implement service Timeservers propertyPatrik Flykt1-0/+2
Fixes BMC#25054.
2012-04-20timeserver: Refactor __connman_timeserver_sync()Patrik Flykt1-0/+1
Factor out code that creates the timeserver list in __connman_timeserver_sync().
2012-04-19notifier: Change __connman_notifier_count_connected() to *_is_connected()Daniel Wagner1-1/+1
No caller is interested in the number of connected services, only if there is one or more or none.
2012-04-17notifier: Add __connman_notifier_online()Daniel Wagner1-0/+1
For indicating the we entered the ONLINE state.
2012-04-17notifier: Add old state to __connman_notifier_disconnect()Daniel Wagner1-1/+2
The old state helps to distinguish between the transissionts from CONNECTED -> DISCONNECTED or ONLINE -> DISCONNECTED.
2012-04-17log: Remove D-Bus iterators for debug propertiesMarcel Holtmann1-3/+0
2012-04-17network: Remove unused functionDaniel Wagner1-2/+0
2012-04-17service: request_input_cb handle wps settingJulien Massot1-0/+1
2012-04-17service: Check the passphrase validityJulien Massot1-4/+4
A WPA passphrase is 8..63 char length. A WPA raw key is always 64 hex digit. A Wep passphrase is either 5 or 13 characters A WEP key is 10 or 26 hex digit.
2012-04-12provider: Disconnect VPN when phy service is disconnectedJukka Rissanen1-0/+1
If the VPN is connected and the underlaying service is disconnected, then we must also disconnect the VPN if it is still connected.
2012-04-11service: Add __connman_service_string2type() functionPatrik Flykt1-0/+1
2012-04-05timeserver: Create timeserver listAlok Barsode1-1/+0
Create a timeserver list for NTP query. This list consists of timeserver provided via DHCP and the ones set by user in that order. We recreate this list everytime the default service changes or one of the timeserver values change. Use getaddrinfo to determine if the timeserver is a domain name or a IP address.
2012-04-05service: Add __connman_service_get_defaultAlok Barsode1-0/+1
Export the default service via this api. This is helpful to obtain info like default service's timeserver list and gateway.
2012-04-05inet: Refactor rtnl functions in 6to4.cJukka Rissanen1-0/+40
The rtnl support functions are now in inet.c which is a more logical place for them and now other files can also use them.
2012-04-05service: Return service split routing statusJukka Rissanen1-0/+1
2012-04-05service: Add function to update the service list orderJukka Rissanen1-0/+1
2012-04-05provider: Check if there are any routes for the providerJukka Rissanen1-0/+1
2012-04-05provider: Add support for user defined routesJukka Rissanen1-0/+2
Allow user to add routes when setting up VPN. This is useful if the VPN cannot be configured to setup additional routes itself.
2012-03-19service: Allow removing only certain type nameserversJukka Rissanen1-1/+2
When nameserver are removed by __connman_connection_gateway_remove() then remove only certain type nameserver (IPv4 or IPv6). This is needed so that we do not loose IPv4 routes if only IPv6 nameservers are to be removed. This is needed when there are multiple connected services.
2012-02-28service: adding a function to know the connected state of an ipconfigTomasz Bursztyka1-0/+2
2012-02-24service: Remove 'Services' property from Manager D-Bus APIPatrik Flykt1-1/+0
Remove support functions and 'Services' property from Manager D-Bus API. Update gateway in all places service was changed.
2012-02-24dbus: Function for adding array of object paths and dictionariesPatrik Flykt1-0/+2
Function for adding an array of object paths and dictionaries to D-Bus messages.
2012-02-14agent: Add support for requesting browser actionTomasz Bursztyka1-0/+6
2012-02-13ippool: Add prefixlen argument to __connman_ippool_new/deladdr()Daniel Wagner1-2/+4
2012-02-13bridge: Fix __connman_bridge_enable() arguments orderingDaniel Wagner1-2/+2
2012-02-13nat: Move nat code into a seperate fileDaniel Wagner1-0/+7
Instead of natting all traffic, nat.c will restrict the masquerading on given network/mask. The nat handling code will be reused by session.c
2012-02-13tethering: Use notifier to update default interface.Daniel Wagner1-1/+0