[spp] [PATCH 0/4] Remove global vars of IP and port of spp-ctl

yasufum.o at gmail.com yasufum.o at gmail.com
Mon Jun 24 12:44:07 CEST 2019


From: Yasufumi Ogawa <yasufum.o at gmail.com>

In secondary processes, IP address and port given as command args are
defined as global variables, but no need to be global. This update is to
change them to be retrieved from functions and remove global
variables.

Yasufumi Ogawa (4):
  spp_nfv: remove global vars of spp-ctl IP and port
  spp_vf: remove global vars of spp-ctl IP and port
  spp_mirror: remove global vars spp-ctl IP and port
  spp_pcap: remove global vars spp-ctl IP and port

 src/mirror/spp_mirror.c | 60 ++++++++++++-------------------
 src/nfv/commands.h      |  6 ++--
 src/nfv/main.c          |  6 +++-
 src/nfv/params.h        |  7 ----
 src/pcap/spp_pcap.c     | 78 +++++++++++++++++------------------------
 src/shared/common.c     | 48 +++++++++++++++++++++++++
 src/shared/common.h     | 42 +++++++++++++++++++++-
 src/vf/spp_vf.c         | 60 ++++++++++++-------------------
 8 files changed, 175 insertions(+), 132 deletions(-)

-- 
2.17.1



More information about the spp mailing list