Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/4] Remove global vars of IP and port of spp-ctl
@ 2019-06-24 10:44 yasufum.o
  2019-06-24 10:44 ` [spp] [PATCH 1/4] spp_nfv: remove global vars of spp-ctl IP and port yasufum.o
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: yasufum.o @ 2019-06-24 10:44 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

From: Yasufumi Ogawa <yasufum.o@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-24 10:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-24 10:44 [spp] [PATCH 0/4] Remove global vars of IP and port of spp-ctl yasufum.o
2019-06-24 10:44 ` [spp] [PATCH 1/4] spp_nfv: remove global vars of spp-ctl IP and port yasufum.o
2019-06-24 10:44 ` [spp] [PATCH 2/4] spp_vf: " yasufum.o
2019-06-24 10:44 ` [spp] [PATCH 3/4] spp_mirror: remove global vars " yasufum.o
2019-06-24 10:44 ` [spp] [PATCH 4/4] spp_pcap: " yasufum.o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).