A message system like D-Bus for Liminix, taken from OpenWRT's ubus
Find a file
Eyal Birger 5dfd3c16fa ubus: use network order in ubus message header fields
Changing the ubus message header fields from 'host' order to 'network' order
allows passing ubus messages between hosts with different endianity.

Example use (creating a ubus proxy):

on host A (e.g. big endian router already running ubusd), run:
$ socat TCP-LISTEN:5699,fork UNIX:/var/run/ubus.sock &

On host B (e.g. little endian development PC) run:
$ socat UNIX-LISTEN:/var/run/ubus.sock,fork TCP:<host A IP>:5699 &

Now ubus applications can be run on host B and seamlessly interact with ubus
applications on host A.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
2016-02-28 09:56:48 +01:00
examples ubus: Fix memleak in examples/client in case of failure 2015-05-08 12:06:39 +02:00
lua lua: fix stack leak in ubus method handling 2016-01-20 14:59:06 +01:00
systemd add systemd support 2013-03-04 19:11:21 +01:00
.gitignore examples: split client/server code 2012-10-24 14:37:57 +02:00
cli.c cli: add monitor support 2015-11-19 22:32:29 +01:00
CMakeLists.txt ubusd: add monitor support 2015-11-19 22:32:11 +01:00
libubus-acl.c add acl code 2015-06-18 19:01:17 +02:00
libubus-internal.h libubus: remove ubus_msghdr_data() by passing in the right data structure pointer 2014-09-15 15:33:27 +02:00
libubus-io.c ubus: use network order in ubus message header fields 2016-02-28 09:56:48 +01:00
libubus-obj.c hook acl into libubus 2015-06-18 19:01:17 +02:00
libubus-req.c libubus: add socket EOF handling to ubus_complete_request() 2015-12-09 18:35:07 +01:00
libubus-sub.c libubus: fix passing the return code of the subscriber callback to the notifier 2013-03-17 18:29:38 +01:00
libubus.c libubus: add null for ubus_context object in ubus_shutdown() 2015-12-19 12:29:23 +01:00
libubus.h libubus.h: marking unused variables 2016-02-22 11:41:03 +01:00
ubus_common.h libubus: replace __init with __constructor 2014-09-17 13:29:24 +02:00
ubusd.c ubus: use network order in ubus message header fields 2016-02-28 09:56:48 +01:00
ubusd.h ubusd: make ACL path configurable on the command line 2015-12-09 17:44:00 +01:00
ubusd_acl.c ubusd: fix a memory leak on user/group client info 2016-01-26 10:10:39 +01:00
ubusd_acl.h ubusd: fix a memory leak on user/group client info 2016-01-26 10:10:39 +01:00
ubusd_event.c make ubusd_send_event() none static 2015-06-18 19:01:17 +02:00
ubusd_id.c ubusd: use avl_strcmp 2012-12-11 23:38:00 +01:00
ubusd_id.h add copyright/license information 2011-06-17 16:35:11 +02:00
ubusd_monitor.c ubusd: add monitor support 2015-11-19 22:32:11 +01:00
ubusd_obj.c ubusd: add monitor support 2015-11-19 22:32:11 +01:00
ubusd_obj.h pass ubus_msg_buf to callback of internal object 2015-06-18 19:01:17 +02:00
ubusd_proto.c ubusd: fix a memory leak on user/group client info 2016-01-26 10:10:39 +01:00
ubusmsg.h ubusd: add monitor support 2015-11-19 22:32:11 +01:00