diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-02-28 16:01:38 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-02-28 16:23:25 +0100 |
commit | 58b363d32bf9b8b504c5664ae4d8b3bb1fab6ddb (patch) | |
tree | e70984bc5ec425397ffc554fb39e8f7e1b431026 /src/local.c | |
parent | 929c2a77ba3e9e6c72c08cdded99b0ecccf2fc62 (diff) | |
download | conntrack-tools-58b363d32bf9b8b504c5664ae4d8b3bb1fab6ddb.tar.gz conntrack-tools-58b363d32bf9b8b504c5664ae4d8b3bb1fab6ddb.zip |
conntrackd: split __run() routine for poll and event-driven modes
This patch splits the __run() routine into two functions, run_polling()
and run_events() that are selected once in run-time. We save one branch
in a loop that intensively executed.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/local.c')
0 files changed, 0 insertions, 0 deletions