Jaehyun Kim [Mon, 2 Jun 2025 12:31:56 +0000 (21:31 +0900)]
Fix excessive CPU usage issue in DNS monitoring
Change-Id: Ib437bf5ec0996e123fb54c428d3f90a353dc27e7
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
hyunsube-lee [Wed, 30 Apr 2025 07:39:06 +0000 (16:39 +0900)]
Disable rtnl and retry tx monitoring
Change-Id: I1186340186ff11726bd5fa84f5b819a1e11917c2
(cherry picked from commit
a3f9b668d1f8763fa1ea5859b9a35ace5e1afb88)
hyunsube-lee [Mon, 14 Apr 2025 08:25:20 +0000 (17:25 +0900)]
Launch inm-manager on boot and Disable some monitoring functions
Change-Id: I1d3f1b8dbd7264545e79434c27ac453cb4ba0023
chaehee.hong [Tue, 4 Feb 2025 02:19:27 +0000 (11:19 +0900)]
Fix DIVIDE_BY_ZERO issue
Change-Id: I0ab089094b225fd3ea4c7b507f9c3a4f0a2ae3d0
chaehee.hong [Mon, 3 Feb 2025 10:55:35 +0000 (19:55 +0900)]
Fix DEREF_OF_NULL.RET.ALLOC issue
Change-Id: Idcadc4a4c16dc37a82078fbf09c1cf950ea584c5
a-nijhara [Mon, 14 Oct 2024 05:01:54 +0000 (10:31 +0530)]
Fix crash Issue
Change-Id: I404cf07d7c53b3c5fef7d29d13a9dd4e8788a70a
Jaehyun Kim [Thu, 26 Sep 2024 11:06:38 +0000 (20:06 +0900)]
Separate gcc version for gcov
Change-Id: I0174507960b2c13d710ac3adf7c0a75309b6bc10
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 26 Sep 2024 02:33:48 +0000 (11:33 +0900)]
Fix indirect dependency issue with tizen.h
inm-manager package are including header files capi-common-base headers
by indirect dependency on dlog. This causes cosmos build failure.
[ 54s] /home/abuild/rpmbuild/BUILD/inm-manager-0.0.33/include/inm-error.h:35:10: fatal error: tizen.h: No such file or directory
[ 54s] 35 | #include <tizen.h>
[ 54s] | ^~~~~~~~~
Change-Id: I3a875cd2321e4e717200a96640af8ff3e5b93c2d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Thu, 29 Aug 2024 04:56:36 +0000 (13:56 +0900)]
Fix UNREACHABLE_CODE.RET issue
Change-Id: I5eb0a3bc4e935f650a98e852a81a856d7bf10f1c
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
anujk-singh [Fri, 26 Jul 2024 04:32:35 +0000 (10:02 +0530)]
Fix UNREACHABLE_CODE.RET issue
Change-Id: Iafc0a59d9da63636e2aa0eb0acc2c2d8f533d45a
Signed-off-by: anujk-singh <anujk.singh@samsung.com>
Jaehyun Kim [Tue, 9 Jul 2024 07:29:01 +0000 (07:29 +0000)]
Merge "Fix memory leak and some issues" into tizen
Jaehyun Kim [Tue, 9 Jul 2024 04:45:06 +0000 (13:45 +0900)]
Fix memory leak and some issues
Fix some issues
- Memory leak
- Privilege missing
- Function pointer mismatch
- Use of incorrect parameter
- Unreachable code
Change-Id: I7f503c116a3641a1c03b5ca883decad1813bdae7
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Dohyun Pyun [Mon, 8 Jul 2024 23:05:29 +0000 (08:05 +0900)]
Fix GCC-14 build issues
Change-Id: I92dfc49d52bf7bcea00e4f7e62ea62c8c8b9cb30
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
Jaehyun Kim [Mon, 24 Jun 2024 09:10:42 +0000 (18:10 +0900)]
Add support for Gateway/DNS state monitoring
Methods have been added to support the following functions.
- Default Gateway state monitoring
- DNS state monitoring
- Online state checking
Change-Id: Idc252553776b1e716d94d130d6adcc5dbd744a98
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Anjali Nijhara [Thu, 16 Mar 2023 10:18:19 +0000 (15:48 +0530)]
Fix dead Code Issue
Change-Id: I048906ac420d52765313287832411d79919314b9
Nishant Chaprana [Wed, 8 Sep 2021 06:15:23 +0000 (11:45 +0530)]
Fix NULL pointer dereference
The wrapper function is called in scenarios in which p_trace_route can be NULL.
So NULL check should be performed before deallocation of memory.
Change-Id: I3e985f6890b1f2233a16e08c9cf7e10217b2dd3b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu [Mon, 7 Dec 2020 04:29:33 +0000 (13:29 +0900)]
Disable SSL verify option
Description: Sometimes there's case that target device has
different certification folder. Default certification location is
/etc/ssl for curl.
[
Change-Id: Ie7330d3f8b4c637cfa86ef2aba6fb00646c0814a
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 24 Jun 2020 22:53:36 +0000 (07:53 +0900)]
Change the service file path using macro
Change-Id: Idcefebdf345d1987fe229e4ac895594b9f9a689e
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
sanghyeok.oh [Tue, 21 Apr 2020 12:51:16 +0000 (21:51 +0900)]
[fix] Rename dbus auto-activation service file
Naming rule for dbus auto-activation service file : well-known name + ".service"
https://bugs.freedesktop.org/show_bug.cgi?id=99874
Change-Id: I4552a9543dc11c68aabe28b5f6fe7d9740cd6f9d
Yu [Wed, 20 May 2020 04:23:15 +0000 (13:23 +0900)]
Fill source IP address for ARP request when there's specified target
Change-Id: Ie9edd7bff9629fe027bc56555132e15b59644d86
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Mon, 11 May 2020 06:55:28 +0000 (15:55 +0900)]
Add FCS to ethernet frame for ARP
Change-Id: I0354c4bd187709ca60b8f0edef763ca91186e96e
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 12 Feb 2020 05:02:25 +0000 (14:02 +0900)]
Fix bugs which are reported by static analyzer
Change-Id: I81ebba473f603b3530294fe6fb756647e3967928
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Mon, 20 Jan 2020 09:23:00 +0000 (18:23 +0900)]
Remove duplicated code
Change-Id: Ibb1e44662b0b8b8cb38289d72a3341d04d15b9c8
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Nishant Chaprana [Wed, 23 Oct 2019 13:48:56 +0000 (19:18 +0530)]
Remove goto statement from inm_error_logger_check_disconnection_faults()
Change-Id: Ia9e62603938dd1650cfbd6f12fdc421f7d9059b6
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Cheoleun Moon [Wed, 23 Oct 2019 18:11:09 +0000 (03:11 +0900)]
Fix resource leak
Change-Id: I5a7e62a5f68a385cfa350f3e8b9aed36bfb37d81
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Coverity:
1053584
Nishant Chaprana [Tue, 22 Oct 2019 14:37:58 +0000 (20:07 +0530)]
Consider no change in connection state when ipv4_state, ipv6_state and error are same
Change-Id: I21dc3cc99de1459a30b0f92af8683980e7f823bd
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu [Fri, 4 Oct 2019 01:25:37 +0000 (10:25 +0900)]
Extends timeout for checking availability of DNS lookup
Change-Id: If969f2d00e75aacd1c83e631c20ffc4589283bef
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Cheoleun Moon [Wed, 25 Sep 2019 09:35:25 +0000 (18:35 +0900)]
Fix typo
Change-Id: Ie460d50e90f0484a312ba9b51103510833e64b7e
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Nishant Chaprana [Thu, 5 Sep 2019 14:18:38 +0000 (19:48 +0530)]
Added Network Fault Diagnosis feature
Note: To enable feature make _inm_error_analysis variable as "yes" in spec file.
Change-Id: I3dd5add60ab4c0cc552f57ba00f40f75bbb2bc15
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
INSUN PYO [Wed, 7 Aug 2019 03:10:03 +0000 (12:10 +0900)]
Remove duplicate dependency with implicit dependencies at "Type=dbus"
Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html
- Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket.
Change-Id: Iae146e4b018a00c33089c502d4062adaf55782db
cheoleun moon [Fri, 12 Jul 2019 01:41:14 +0000 (01:41 +0000)]
Merge "Delete meaningless configuration" into tizen
Yu [Tue, 9 Jul 2019 01:15:19 +0000 (10:15 +0900)]
Fix bug reported from static analyzer
Change-Id: I08833626ae2b99f5748390e844692cf6bb435442
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
INSUN PYO [Mon, 8 Jul 2019 10:19:45 +0000 (19:19 +0900)]
Delete meaningless configuration
Change-Id: Iecfa355c8245058d9dcedb76f86efd099db24ccf
cheoleun moon [Wed, 12 Jun 2019 01:37:58 +0000 (01:37 +0000)]
Merge "Add GDBus interface for port scan" into tizen
cheoleun moon [Wed, 12 Jun 2019 01:37:50 +0000 (01:37 +0000)]
Merge "Add raw socket based port scanner" into tizen
cheoleun moon [Wed, 12 Jun 2019 01:37:35 +0000 (01:37 +0000)]
Merge "Add TCP connection based port scanner" into tizen
Nishant Chaprana [Wed, 1 May 2019 05:16:03 +0000 (10:46 +0530)]
Use libnl-3.0 in place of libnl-2.0
Change-Id: I40692dfe84485e2f937c4707e61d1c1be4152347
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu [Thu, 9 May 2019 11:41:24 +0000 (20:41 +0900)]
Add GDBus interface for port scan
Change-Id: I880d0b5bfbfc05b38a75340af002b77410c90aa1
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 7 May 2019 08:14:38 +0000 (17:14 +0900)]
Add raw socket based port scanner
Change-Id: I92c3a0203eb96d683ba9f3ac10afbb4fedd7a727
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 2 May 2019 00:53:54 +0000 (09:53 +0900)]
Add TCP connection based port scanner
Description : Using SOCK_STREAM socket to scan port.
This can be burdensome process for network environment because
it consumes and depends on actual TCP socket stack.
According to ip(7) man page, SOCK_STREAM sockets can't use MSG_ERRQUEUE.
So, I implement asynchronous TCP connection logic by getsockopt with
SO_ERROR option and G_IO_FLAG_NONBLOCK.
Change-Id: Ic5b1d01f505edbef5edfe705374c11feeeeef3e6
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 18 Apr 2019 06:11:24 +0000 (15:11 +0900)]
Add function to get current IP from connman module
Change-Id: I471cf503fbbb772f800ce00f6317cfdd13cd847d
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
cheoleun moon [Mon, 29 Apr 2019 01:09:23 +0000 (01:09 +0000)]
Merge "Fixed typo error" into tizen
cheoleun moon [Mon, 29 Apr 2019 01:09:15 +0000 (01:09 +0000)]
Merge "Fixed Array index -1 is out of bounds issue" into tizen
cheoleun moon [Mon, 29 Apr 2019 01:09:11 +0000 (01:09 +0000)]
Merge "Fixed dead code issue" into tizen
Cheoleun Moon [Fri, 26 Apr 2019 00:50:04 +0000 (09:50 +0900)]
Add more padding for arp packets
The minimum size of ethernet frame is 512 bits (64 octets).
https://review.tizen.org/gerrit/#/c/platform/core/connectivity/net-config/+/204698/
Change-Id: I586d2e2645a71b4de5c8725ba9ca3e624893fc92
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Nishant Chaprana [Wed, 24 Apr 2019 14:52:52 +0000 (20:22 +0530)]
Fixed typo error
Change-Id: I295bf3bb002c3cb1b827457cd171e7cc513d4ab8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 24 Apr 2019 14:29:27 +0000 (19:59 +0530)]
Fixed Array index -1 is out of bounds issue
Change-Id: I6f1fa2789b42be00acddc30524cb78cfafece6e9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 24 Apr 2019 14:23:25 +0000 (19:53 +0530)]
Fixed dead code issue
Statements following return, break, continue, goto or throw will never be executed.
so correcting the position of dead code statements.
Change-Id: I71eb914854779a74f9196f772527f9027f47ab16
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu [Thu, 28 Mar 2019 05:59:38 +0000 (14:59 +0900)]
Add a result code to Url reacher signal
Change-Id: I9cb5480d1f98811ea243e5799c54b355c04b3180
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 27 Mar 2019 09:25:55 +0000 (18:25 +0900)]
Use MaxSpeed instead of MaxRate from connman
Description : This change is related to connman Tizen extension.
https://review.tizen.org/gerrit/#/c/platform/upstream/connman/+/189563/
Change-Id: I14b6e964aed9c9b430cd954d6b8ed1224654a28e
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 27 Mar 2019 04:19:10 +0000 (13:19 +0900)]
Add handler for ARP socket IO error
Change-Id: I0818a48dc15bcdcf649f24def33664d3ad944135
Yu [Wed, 27 Mar 2019 01:58:46 +0000 (10:58 +0900)]
Modify recover logic for arp sock
Description : There's been block at read operation for
g_io_channel_read_chars on arp sock sometimes.
It seems that socket recovery fuction wasn't working properly
because it closes a socket only. So, read operation on the g io channel
can be wrong.
I change the recover logic to cover both socket and related g io channel.
Change-Id: I79c356434967965d26161b332c61ce9a9623ce8c
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 27 Mar 2019 01:54:06 +0000 (10:54 +0900)]
Reduce log to make easy to read
Change-Id: Ibe2b16d0b2e02504cd615248dd40daf75b5103b0
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Mon, 25 Mar 2019 07:17:55 +0000 (16:17 +0900)]
Add translation from rtnetlink scope to CAPI link scope value
Change-Id: I09df3a7fdf7768e95a81ca19b9727f3f19e67458
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 20 Mar 2019 07:33:03 +0000 (16:33 +0900)]
Specify IP address family as version 4 for the reacher
Description: Without specifying IP address family, Curl'll resolve
the name for both ipv4 and Ipv6 by default(See CURLOPT_IPRESOLVE).
The curl tries to resolve IP v6 first. If there's no response,
it'll try to resolve the name for IP v4.
The DNS lookup timeout'll be determined by c-ares library.
It is from several seconds to minutes depends on
the number of DNS server addresses.
We'll add further functionality to check both IPv4 and IPv6
seperately later.
Change-Id: Ic701bc745cf30922c5dca1f27c9668e247970365
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 20 Mar 2019 05:28:45 +0000 (14:28 +0900)]
Remove additional log to dlogutil
Description : The inm-manager leaves logs as a file at
that point. I think additional dlog is no longer needed.
Change-Id: Ia9f5862cb952172ba44db2a0dde03e5c0283aa9d
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 20 Mar 2019 00:52:45 +0000 (09:52 +0900)]
Remove unused files and sync function names in test
Change-Id: I7ec8c92b4ba55305d07aa9334ffd0dac26c82c02
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 6 Mar 2019 00:39:38 +0000 (09:39 +0900)]
Fix build warning
Change-Id: I4ed4c13505a97d2221467a6cb78b8022dd269ac3
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 5 Mar 2019 07:24:16 +0000 (16:24 +0900)]
Fix memory leak in arping
Change-Id: I6e2f52f1a3d65becf9a0e7f218d689e1a1d86621
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 27 Feb 2019 05:49:48 +0000 (14:49 +0900)]
Modify internal name related to check url reachability
Change-Id: I38ccc2dd7f87b9af6ff2298deba758fd979b1d66
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 26 Feb 2019 04:33:59 +0000 (13:33 +0900)]
Attatch GIO channel to ARES socket to check event
Change-Id: Id379c6da18862186c70f0df8a131bbac6bc510ec
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 26 Feb 2019 02:13:07 +0000 (11:13 +0900)]
Initialize ARES channel and start DNS lookup
Change-Id: I34698eba3ddd60ead9b095dc20cdfd0a49371241
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 26 Feb 2019 02:05:55 +0000 (11:05 +0900)]
Add function body to start dns lookup
Change-Id: Ifd4cf2d1e0e9b1ef07ee21974ec78c7bded86bb4
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 26 Feb 2019 01:52:21 +0000 (10:52 +0900)]
Add skeleton of DNS Lookup
Change-Id: I586bccbcd566aed960cbf46cc74c50b387b02a99
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Mon, 25 Feb 2019 08:34:33 +0000 (17:34 +0900)]
Add GDBus method handler for DefaultDnsLookupCheck
Change-Id: I3be4c300fab5ebc5a17a67247ebaa82a5749fdfd
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Mon, 25 Feb 2019 07:49:07 +0000 (16:49 +0900)]
Modify internal name for checking gateway
Change-Id: I63e5976c068d9b67b239d66695b93d2c2f0daaec
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 21 Feb 2019 10:59:08 +0000 (19:59 +0900)]
Modify internal name for ARP Request
Change-Id: I1d7dc551b3f4870e71573bdcf463354c47d8b886
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 21 Feb 2019 06:37:23 +0000 (15:37 +0900)]
Add GDBus method handler for GetArpPacketInterval
Change-Id: I4ce0ee15d196e2309560a005187beca2165b2eda
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 21 Feb 2019 05:16:18 +0000 (14:16 +0900)]
Add GDBus method handler for SetArpPacketInterval
Change-Id: Ic4fd2238cb381ab1a98e450eb09bdb6c717b7120
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 1 Feb 2019 07:29:48 +0000 (16:29 +0900)]
Add gio channel create/destroy functions to util
Change-Id: Iaa2160d929b8531aaffbdf9502db5f25a62fa9d5
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 24 Jan 2019 07:31:13 +0000 (16:31 +0900)]
Fix bugs detected by static anlayzer
Change-Id: I6ea5d2b20ecde3995e9fe3d91d37cb3a86d01626
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 17 Jan 2019 01:26:17 +0000 (10:26 +0900)]
Fix warnings from static analyzer
Change-Id: Ia3ef2a393fe836adca8d3bd51114d9cc9def81d0
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Wed, 26 Dec 2018 04:31:03 +0000 (13:31 +0900)]
Fix log format errors
Change-Id: Iba778498c660e64d248628f5ee6bb21836f045c1
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 18 Dec 2018 02:29:00 +0000 (11:29 +0900)]
Fix GVariant format for out argument of GetLinks method
Change-Id: I12a52c770132c1dadf8e175cea11eefc43a66698
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 14 Dec 2018 02:16:33 +0000 (11:16 +0900)]
Add route information to link variant
Change-Id: I5b75460842f57dd1b1e37093047e471ed269dd7d
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 14 Dec 2018 02:15:19 +0000 (11:15 +0900)]
Add neighbor information to link variant
Change-Id: Ie86a32b32922ad2e9daf38b0484767775bd5b580
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 14 Dec 2018 02:11:14 +0000 (11:11 +0900)]
Add address to link variant
Change-Id: I570517476bdb589655d52998233535ab3d2c9c73
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 14 Dec 2018 02:09:01 +0000 (11:09 +0900)]
Add function to get link information as variant
Change-Id: I74ff424572c5f07bce6f48479b0b2733c53a44d4
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 14 Dec 2018 02:02:51 +0000 (11:02 +0900)]
Add link method and signal to DBus interface
Change-Id: I3e2c3c5b6769ab78cc9d881bfb057ebc8b6ca79c
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 13 Dec 2018 01:39:40 +0000 (10:39 +0900)]
Add route information to link
Change-Id: Ia6273b5fdfd708e486e9f96b3c04a923eb2395ec
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 13 Dec 2018 01:39:01 +0000 (10:39 +0900)]
Add neighbor information to link
Change-Id: I06a915b5f5542259db2c6d9c5253b80b3d1297a1
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 13 Dec 2018 01:37:41 +0000 (10:37 +0900)]
Add address information to link
Change-Id: I4792bdcc0a6c248dff8e4547d6ec4fe06d0fbf14
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Thu, 13 Dec 2018 01:35:40 +0000 (10:35 +0900)]
Free dst first and check src later
Change-Id: Ic15b4321cc8a3ad73d365a5145d91a919ca31825
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 11 Dec 2018 07:49:23 +0000 (16:49 +0900)]
Hold link information to pass it to user
Change-Id: I9667f641d80310c501067d88797cbed5b9ed35e5
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Tue, 11 Dec 2018 03:59:32 +0000 (12:59 +0900)]
Fix debug message
Change-Id: I4bc506517d404776c275497418f67f9f96a37412
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Mon, 10 Dec 2018 06:18:01 +0000 (15:18 +0900)]
Remove unnecessary included header and debug messages
Change-Id: I60583710c5041c1a97908c8f25fc41f876ecd6b0
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:44:33 +0000 (17:44 +0900)]
Allocate memory wlan security information when it needs
Change-Id: I5f444dad88b3d2fa4779fc640e4144b52dc93d43
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:41:13 +0000 (17:41 +0900)]
Allocate memory for telephony information when it needs
Change-Id: Ifec25d952f6e550e608e6ea35658f6ded4c9e3d6
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:33:54 +0000 (17:33 +0900)]
Remove unnecessary information from wpa_supplicant mon
Description: Connman can provide most of BSS and network
informations. Also, we don't use p2p and supplicant
specific information currently.
Change-Id: I9e4bf25cf2d505fc0f008570686dcedd5ed871d8
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:25:51 +0000 (17:25 +0900)]
Allocate memory when monitoring statistics starts
Change-Id: Ibd25889af68f548477e5308ac7da01290f58603a
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:22:27 +0000 (17:22 +0900)]
Move netlink related definitions from header to source file
Change-Id: Ia9ef46a5d3428fe73dfc7d6b557c2869fd5f7f63
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:18:41 +0000 (17:18 +0900)]
Allocate ip-conflict monitoring memory dynamically
Change-Id: I9b30725dad29770baebd8df4829053bed4fdcc5b
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:13:43 +0000 (17:13 +0900)]
Modify daemon monitoring function to reduce code size
Change-Id: I725e5c64d8166e360fa437decfd95b8acf3df293
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 08:08:55 +0000 (17:08 +0900)]
Replace code with function
Change-Id: Icef751cc90ca01813cf28e1da30cac0866e8eaca
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 07:02:03 +0000 (16:02 +0900)]
Move DBus introspection into init function
Description: It's hard to match introspection and
related handler function if it is placed far from
function codes. So, I moved it into initialize function.
Change-Id: Ia693c31cd0530f4de272d7c1edb4f7c8adcb02f4
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 06:57:02 +0000 (15:57 +0900)]
Remove unused DBus methods
Description : Some methods were developed for test purpose but not removed.
Change-Id: Idef1f934ce534832bfe1152a850a5a88311f4ac8
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 06:45:06 +0000 (15:45 +0900)]
Allocate DBus related memory dynamically
Change-Id: Ic86d3f037b1830f0dc0ad2eba41c1bfc6d7fc5e2
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 06:10:18 +0000 (15:10 +0900)]
Remove unecessary log dump code
Change-Id: I470cd602bcb41ad3bd9611a270fb63ba7b52329c
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 06:01:41 +0000 (15:01 +0900)]
Remove unused connman information
Description : Essid and connman manager interface
information aren't used for any purpose at this point.
Change-Id: I828f0f392fdf1bfded0884455c6222df1bc075df
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>
Yu [Fri, 7 Dec 2018 05:52:23 +0000 (14:52 +0900)]
Allocate congestion monitoring memory when it starts
Change-Id: Ifbf2896370d18782f50115594b94ce8a085a1669
Signed-off-by: Yu Jiung <jiung.yu@samsung.com>