summaryrefslogtreecommitdiff
path: root/src/ipconfig.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-29Add proxy auto-config support to service and IP config frameworkMarcel Holtmann1-0/+21
2010-07-29Add support for proxy auto-configuration D-Bus propertiesMarcel Holtmann1-0/+17
2010-07-29Set default ipconfig method to OFF for IPv6Samuel Ortiz1-3/+6
2010-07-28Set default IPv6 method as offMartin Xu1-0/+1
2010-07-29Separate v4 and v6 gateways in connman_ipdevice structureSamuel Ortiz1-8/+20
2010-07-29Add a family argument to the ipconfig routing functionsSamuel Ortiz1-2/+2
2010-07-29Add a family member to connman_ipaddressSamuel Ortiz1-6/+8
2010-07-29Track IPv6 address changes through rtnlSamuel Ortiz1-4/+10
2010-07-29Initial IPv6 supportMartin Xu1-14/+240
Only manual/fixed setting supported for now.
2010-07-12Return manually set gateway when the ipdevice one is NULLSamuel Ortiz1-1/+8
With N (> 1) online services, only the connected device will have its gateway set (as the default route). If the remaining ones have manually set gateways, then let's return that.
2010-07-08Add additionals statistics countersDaniel Wagner1-2/+17
Adding rx_packets, tx_packets, rx_errors, tx_errors, rx_dropped and tx_dropped counters.
2010-07-07Start/stop statistics depending on LOWER_UP stateDaniel Wagner1-0/+23
The statistic counters should be updated as soon the interface enters LOWER_UP state ('cable' connected). Therefore we do not depend on the state of the Service object, which fixes also the shortcoming we have currently with private connections. Those services do not enter the ONLINE state. At least for ethernet the lower_up callback has not been called because the service was created 'too late'.
2010-06-30Update service statisticsDaniel Wagner1-1/+1
Instead of collecting statistics on interface name base and storing it local in counter.c, update the Service object. counter.c maps interface names to Service objects. The assumption is made that there is a 1:1 mapping between Service objects and interface name. A Counter object will only show Service object statistics for services in the ready state. There is no interface (yet) for retrieving information on Service objects in idle/failure/configuration/.. state.
2010-05-28Don't filter out interfaces within IP configurationMarcel Holtmann1-13/+2
2010-05-12Set system gateway correctly so it can be exportedMarcel Holtmann1-3/+32
2010-05-12Export IPv4 gateway properly information if availableMarcel Holtmann1-1/+12
2010-05-07Export Gateway from service properties IPv4Martin Xu1-0/+3
2010-04-13Add __connman_ipconfig_set_index() helperMartin Xu1-0/+5
2010-03-25Add static gateway supportMartin Xu1-0/+18
2010-03-25Add gateway to connman_ipaddressMartin Xu1-6/+33
2010-03-03Check ipconfig in __connman_ipconfig_clear_addressMartin Xu1-0/+5
3G service does not have ipconfig if the Primariy Context is not activated. So we need to check the ipconfig here.
2010-02-18Fix configuration loading for unknown serviceLucas De Marchi1-1/+4
In case a service is unknown, the expected behavior is that it uses dhcp. Currently, method will be left blank and thus connman will not be able to connect to that service unless method is explicitly set through IPv4.Configuration property.
2010-02-11Load and save ipconfig settingsMartin Xu1-0/+60
2010-02-11Add some ipconfig helpersMartin Xu1-0/+45
__connman_ipconfig_get_method(): Returns the selected ipconfig method. __connman_ipconfig_set_address(): Sets the device's IP address according to the selected method. Only the manual method is supported. __connman_ipconfig_clear_address(): Clears the device's IP address. Again, only the manual method is supported for now.
2010-01-05Include interface name in statistics usageMarcel Holtmann1-1/+2
2010-01-05Add support for exporting basic interface statisticsMarcel Holtmann1-19/+44
2010-01-05Add interface name to Ethernet settingsMarcel Holtmann1-0/+10
2010-01-04Don't re-enable configuration if already setMarcel Holtmann1-0/+3
2010-01-03Add basic interfaces for automatic proxy configurationMarcel Holtmann1-3/+10
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-20Enable notification for IP configuration changesMarcel Holtmann1-6/+20
2009-12-20Add IP configured method for fixed addressesMarcel Holtmann1-0/+7
2009-12-20Add D-Bus interface for configuring IP addressesMarcel Holtmann1-11/+137
2009-12-20Rename IP configuration methods to match specificationMarcel Holtmann1-10/+10
2009-12-20Fix netmask from prefix length string conversionMarcel Holtmann1-1/+3
2009-12-20Add tracking of system IP address settingsMarcel Holtmann1-5/+34
2009-12-20Fix update of Ethernet address and MTU valuesMarcel Holtmann1-4/+6
2009-12-19Track link address and MTU settingsMarcel Holtmann1-1/+29
2009-12-19Update handling of IPv4 configuration settingsMarcel Holtmann1-21/+5
2009-12-19Add address and netmask configuration to settingsMarcel Holtmann1-0/+15
2009-12-19Rename D-Bus helper for basic dictionary typesMarcel Holtmann1-4/+4
2009-12-15Remove faulty removal of IP address from interfaceMarcel Holtmann1-2/+0
2009-10-20Fix some coding style issues and make it more readableMarcel Holtmann1-2/+2
2009-10-20Fix command line options for device filteringSam Leffler1-2/+13
Also re-implement -I option to filter devices discovered through netlink.
2009-08-31Ignore loopback devices from IP configurationMarcel Holtmann1-0/+3
2009-08-23Add support for cloning IP configurationsMarcel Holtmann1-15/+111
2009-08-14Only add IP configurations with callbacks to the listMarcel Holtmann1-18/+20
2009-08-11Add callbacks for IP bound and release eventsMarcel Holtmann1-0/+42
2009-08-11Add cleaner handling of IP address detailsMarcel Holtmann1-61/+182
2009-08-10Use ignore method for unconfigured IP devicesMarcel Holtmann1-4/+4