summaryrefslogtreecommitdiff
path: root/src/connman.h
AgeCommit message (Collapse)AuthorFilesLines
2017-08-16[connman]Added DBus method for wifi Specific AP Scan.submit/tizen/20170817.042132accepted/tizen/unified/20170818.000126Niraj Kumar Goit1-0/+4
Change-Id: Ib8f446164242caeb7fbc29c2917eff4b8a5b8bf7 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-09[connman] Added support to get WiFi vendor element.submit/tizen/20170811.041528accepted/tizen/unified/20170811.133331Niraj Kumar Goit1-0/+4
Change-Id: I560be68a876a5fef516647365db3c56761f2aba1 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-03Changes required for DHCP leased seconds APIsubmit/tizen/20170809.085632submit/tizen/20170808.043745accepted/tizen/unified/20170811.021044Abhishek Sansanwal1-0/+5
Change-Id: I0727c24f30be5162d27e49996dfa376348f98527 Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
2017-03-28Merge "Fix to prevent RA message processing" into tizentaesub kim1-5/+9
2017-03-28Modified the DHCP descover/request timeout and disable DHCP reququest for ↵taesub kim1-0/+5
last address (DHCP discovery) wlan0 retry timeout=1sec retries=15 (DHCP request) retry timeout=1sec Change-Id: I28b8f8361dcf2c8cff7f3084c47707f05bc0da64 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-03-28Fix to prevent RA message processingSeonah Moon1-5/+9
Added fix to prevent RA message processing pass by kernel via RTM_NEDNDUSEROPT if ipv6 DNS method is set as manual. Change-Id: Ibee486071e5a235a1426028f107e105920499c6e Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-14Apply DNS configuration methodsubmit/tizen/20170322.011410accepted/tizen/wearable/20170322.235735accepted/tizen/unified/20170322.235830accepted/tizen/tv/20170322.235708accepted/tizen/mobile/20170322.235633accepted/tizen/ivi/20170322.235801accepted/tizen/common/20170322.153711Seonah Moon1-0/+14
Change-Id: If16e739fde7e9d736c66015ab1efa982e49d3482 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-23[connman] Merged IPv6 related code.Seonah Moon1-0/+3
1. Added code to set IPv6 gateway addess. 2. Fix IPv6 issue in case of auto-configuration. Change-Id: Ie0e1d53dd269a09600d2f08e66d73cefd6dd3c29 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-01-25Remove Profile Build Dependency (1/2): do it at runtimeMyungJoo Ham1-0/+9
- This is for Tizen 4.0. : Tizen 4.0 Configurability and Build Blocks require to remove all profile-depending build options in spec files. (No More profile macros) - It is recommended to distinguish features/profiles at runtime. unless it incurs too much overhead, which requires you to create multiple binaries and subpackages. - Now it reads if it is TV based on the /etc/ conf file. Change-Id: Id9d2f6e9db7814ab06f5d166ef2299a1a8aacb51 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-07-05Fixed some issuessubmit/tizen/20160705.082658accepted/tizen/wearable/20160705.101859accepted/tizen/tv/20160705.101845accepted/tizen/mobile/20160705.101933accepted/tizen/ivi/20160705.101849accepted/tizen/common/20160705.170548hyunuktak1-2/+0
Removed to set autoconnect when 4way handshake failed Release passphrase of service when indicate error occurred for invalid key Change-Id: Id748ddcd21ad896f0d8e91ce4711a4c9c0df6d96 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-06-22Remove some features and modify service filesubmit/tizen/20160624.012559accepted/tizen/wearable/20160624.064357accepted/tizen/tv/20160624.064037accepted/tizen/mobile/20160624.064052accepted/tizen/ivi/20160624.064339accepted/tizen/common/20160624.132425hyunuktak1-5/+0
Change-Id: Id3697d995e4db5d6f03cdf182825d5f61136e235 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-06-17[SPIN] Fix the connman bugs.Niraj Kumar Goit1-0/+4
- Fixed NTP service's DNS resolving failure in Hive project. - Do not turn "wlan0" interface down in cleanup_devices(). - Set resource limits "RLIMIT_NOFILE" for a process. - After appending a file, fflush and fsync all modified in-core data of the file. Change-Id: I2767b3302d6204d066fe2075027828ff209d0ee0 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] implement to check blacklist for auto connection.Niraj Kumar Goit1-0/+4
Change-Id: I174b228529374f80b1c4197a310124c028564bb8 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2016-06-14[SPIN] wifi: enable to reload service profile from storage.Niraj Kumar Goit1-0/+2
Change-Id: Idf19d82d0052f83a69b424536ecfceca65e840cb Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432hyunuktak1-7/+13
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2015-07-08Fix for wifi_scan-->"no Wifi-ap found"submit/tizen/20150708.074848pradeep kumar B1-0/+4
Change-Id: Ia624ab6e2ddc967c1581ed48a7eababa0cdb909f Signed-off-by: pradeep kumar B <b.pradeep@samsung.com
2015-07-08Fix MMS connection failureJaehyun Kim1-0/+13
Change-Id: Id3847d1d8233c2177cfbd65ba42ead8ff44a06a8
2014-11-07multi-user: Add multi-user support in serviceZhang zhengguang1-0/+3
Use cases: Given 2 users: UserA and UserB 1. If UserA is connected to a wifi service, then UserB is not allowed to connect wifi service, and not allowed to disconnect the service UserA connected. 2. If UserA is connected to a wifi service, then UserB is allowed to use the same connection, but he is not allowed to modify the connection. 3. If UserA is connected to a wifi service with security wep/wpa/psk, then UserA disconnects it, when UserB tries to connect the same wifi service, it must input passphrase to connect it. Change-Id: Id686ebd7d1f3490875a9d8f877219bd004907227
2014-10-31Tizen: Export network proxy API for telephony pluginArron Wang1-0/+4
Telephony plug-in requires manual PROXY setting function Telephony stack provides proxy address (3G profile). Change-Id: Iaa02f59465a687961c303667ee09051b419507d2
2014-10-29Imported Upstream version 1.26upstream/1.26Zhang zhengguang1-8/+46
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang1-84/+185
2013-06-10session: Use service iterator instead of match/creation callbacksDaniel Wagner1-11/+4
When a new session is created we need to get the initial list of services which match the session AllowedBearers criteria. As soon the session is running add or removed services are tracked via the notifier interface. We concluded that exposing all the services is not really necessary and therefore we are using currently two callbacks to get the initial list. That exposes implementation details from session to service, that is GSequence. We also need to expose the type 'struct service_entry'. Instead doing so we are using an iterator and keep all the implementation details in session.c.
2013-05-31session: Add session argument to create_service_entry_cbDaniel Wagner1-0/+1
Remember which session this struct service_entry belongs to when removing the entries again.
2013-05-20clock: Export information about time update methodPatrik Flykt1-0/+7
2013-04-05inet: Get an address from a given interface and address familyJukka Rissanen1-0/+1
The returned address is used when we need to have a listening socket tied to specific interface and address, and do not want to bind to any address.
2013-03-25firewall: Add firewall APIDaniel Wagner1-0/+10
The main idea behind this API is to collect several iptables rules together and enable or disable in one go. For this a context is created via __connman_firewall_create() and the rules added to this context via __connman_firewall_add_rule(). In order to append all rules __connman_firewall_enable() has to be called. To remove all rules associated with one context __connman_firewall_disable() has to be used. If something goes awry the code tries to get back to the initial state.
2013-03-25firewall: Add firewall fileDaniel Wagner1-0/+4
2013-03-25iptables: Add chain iteratorDaniel Wagner1-0/+6
We will implement the ConnMan iptables specific part in a different file and leave the iptables.c file as small as possible. Therefore, we move the flushing part out, but we need a way to find our chains on bootup (left over from a crash). Let's add an interater which walks over all chains which allows a higher level to find the chains it is looking for (e.g. connman-INPUT)
2013-03-25iptables: Add __connman_iptables_insert()Daniel Wagner1-0/+3
This was wrongly removed with commit 161efbae
2013-03-18iptables: Add __connman_iptables_dump()Daniel Wagner1-0/+1
In order to allow our test tool iptables-tests to dump a table we need an dump function. The only user will be this tool. That allows the linker to remove this code, so no additional code size.
2013-03-08provider: Change the name of provider remove functionJukka Rissanen1-1/+1
Following patch will introduce provider remove function that can be used from vpn plugin so rename the current removal function to reflect better its usage.
2013-02-22service: Refactor ipconfig setterJukka Rissanen1-0/+3
Done so that the function can be called also from config.c The idea is that if ethernet .config file is removed, we are able to clear the interface properly.
2013-02-22ipconfig: Add function to set the IPv6 privacy optionJukka Rissanen1-0/+2
2013-02-22service: Add function to set timeserversJukka Rissanen1-0/+2
2013-02-22service: Add function to manipulate DNS search domainsJukka Rissanen1-0/+2
2013-02-22service: Add function to manipulate ignore flagJukka Rissanen1-0/+2
2013-02-19storage: Add function to load provider configuration fileJukka Rissanen1-0/+1
2013-02-12iptables: Remove unused __connman_iptables_command()Daniel Wagner1-2/+0
2013-02-12iptables: Add split out iptables commandsDaniel Wagner1-0/+16
Instead of having a pure string based API, we add two new main functions, __connman_iptables_append() and __connman_iptables_remove(). The missing commands will be added later. To simplify the whole code, the __connman_iptables_command() code is refactored into smaller pieces: parse_rule_spec() calls a few functions such as clear_tables_flags() and parse_xt_modules() which should make the reading of the main parser loop simpler. Also added a few comments on the parser which is really tricky.
2013-01-04storage: Remove storage migration codePatrik Flykt1-1/+0
2012-11-23inotify: Move inotify code into its own fileDaniel Wagner1-0/+5
The inotify code will be used by the core (config.c) and the session policy plugin. We introduce a new API for file modifcation notifcation. We move the factored out code part from the last patch into a new file and also change the inotify code so that it allows to monitor not only STORAGEDIR. When registering a new observer, the callee has to tell which directory should be watched. inotify.c will group the observers together.
2012-11-23storage: Add function to remove provider filesJukka Rissanen1-0/+1
2012-11-23agent: Split agent code into generic and service specific partsJukka Rissanen1-9/+0
2012-11-23provider: Provider disconnect function made available to pluginJukka Rissanen1-1/+0
The VPN needs to be able to call the provider disconnect.
2012-11-23log: Give program name and version in log initJukka Rissanen1-1/+2
This allows the correct output when the log functions are used from separate vpn daemon.
2012-11-23ipconfig: Move IP address API into separate ipaddress.c fileJukka Rissanen1-1/+1
Done so that connman_ipaddress_* functions can be used from separate vpn daemon.
2012-11-22core: Use interface index instead of interface namePatrik Flykt1-7/+7
Service and network code use only interface indexes. Convert the rest of the code using interface names to use interface indexes instead. The files affected are: include/resolver.h src/connman.h src/dnsproxy.c src/resolver.c src/rtnl.c src/service.c src/tethering.c As the network and service code used interface indexes, the interface name had to be looked up via a SIOCGIFNAME ioctl when needed. If a service was removed due to the interface and network being taken down, the lookup wouldn't work. This caused DNS servers to be left behind with broken sockets since removing the DNS servers was done using the interface name.
2012-11-05storage: Add void if function does not have any argumentsDaniel Wagner1-3/+3
2012-11-02ipconfig: Add function to clear ipaddress informationJukka Rissanen1-0/+1
2012-09-28log: Disable stack trace from command linePatrik Flykt1-2/+2
Add a '--nobacktrace' command line switch to let the system handle stack traces. The default is to let ConnMan handle them as before