From: Daniel Wagner <daniel.wag...@bmw-carit.de> Hi,
I renamed this series to 'Named Services' just in case you wonder where was v0. #1 session: Remove unused NFACCT rules #2 nfacct: Remove support for NFACCT Not used and very likely never be used. Let's remove this stuff then. If someone wants to use it, it is still in the commit history. #3 session_policy_local: Do not use NULL as key to do a hash table lookup Bug fix. #4 session: Expand '*' to all bearer types This is based on Patrik's great idea, instead having a 'any' type, expand '*' to all allowed bearers. That simplifies the code considerable. #5 session: Allow to set any string in AllowedBearers #6 session: Allow mathing on type and service name These two patches are RFC. The first one moves the parsing and interpreting of the bearer type just before we set the session active. Obviosly, we probably would like to make sure only services will be selected which have a user. I left that part out on purpose. Let's concentrate first on the upper bits. The second patch just extends the session service matcher which is pretty simple as one can see. Also you can see already how the filter out would work. An additional list with blacked listed services would be consulted before and if a service matches we rejected it at the same place. So I suggest we go with patch 1-4 since they are good indepenent what we do for named services. cheers, daniel Daniel Wagner (6): session: Remove unused NFACCT rules nfacct: Remove support for NFACCT session_policy_local: Do not use NULL as key to do a hash table lookup session: Expand '*' to all bearer types session: Allow to set any string in AllowedBearers session: Allow mathing on type and service name Makefile.am | 3 +- doc/session-overview.txt | 29 ++- plugins/session_policy_local.c | 4 +- src/main.c | 1 - src/nfacct.c | 379 --------------------------------------- src/session.c | 349 ++++++++++++----------------------- src/shared/nfacct.c | 352 ------------------------------------ src/shared/nfacct.h | 47 ----- src/shared/nfnetlink_acct_copy.h | 39 ---- tools/netlink-test.c | 240 ------------------------- 10 files changed, 127 insertions(+), 1316 deletions(-) delete mode 100644 src/nfacct.c delete mode 100644 src/shared/nfacct.c delete mode 100644 src/shared/nfacct.h delete mode 100644 src/shared/nfnetlink_acct_copy.h -- 1.8.5.3 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman