dabba: refactor port string getter function name.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: regroup command processing in one function.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor cmd table variable names.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor argc argv processing

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor thread get to select proper rpc call.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: refactor capture get to select proper rpc call.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: no point have default operation.

Giving all operations are mandatory to then start to parse the option at
the right argv.
Therefore, it is useless to have default operations.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: adjust argc/argv before using getopt*().

The command parsing manipulates argv such as the first option is
in argv[0].
However getopt*() starts to parse for options from argv[1].
Therefore, argc/argv are adjusted before calling getopt*() when needed.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: always get settings on 'capture get'.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
test: adjust cmd cli argument to new scheme.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: remove obsolete interface enumerations.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
rpc: remove redundant 'interface list' rpc call.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabbad: remove 'interface list get' rpc support.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: remove 'interface list get' rpc support.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabbad: remove useless cpu affinity printf.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabbad: add the trailing comma separator properly.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
rpc: remove redundant 'thread list' rpc call.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabbad: remove 'thread list get' rpc support.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabba: remove 'thread list get' rpc support.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
libdabba: add interface pause setter function.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>