sw test tool: Refactor packet sending processes
sw test tool: Refactor packet sending processes

Methods of STATE_FLOW_MATCH_CHK and STATE_UNMATCH_PACKET_SEND have similar processes that send a packet.
This patch refactors this redundancy.

Signed-off-by: WATANABE Fumitaka <a812fe5314bf661a31c9964da17c5f0f3d2272ca@gmail.com>
Signed-off-by: Yuichi Ito <7a83edf5b53f0b21d4182a3da7518164ce03dc3a@gmail.com>
Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

OpenState-SDN/ryu,fkakuma/ryu,haniehrajabi/ryu,ntts-clo/mld-ryu,hisaharu/ryu,ynkjm/ryu,yamada-h/ryu,gareging/SDN_Framework,StephenKing/ryu,elahejalalpour/ELRyu,fujita/ryu,Tesi-Luca-Davide/ryu,StephenKing/ryu,gopchandani/ryu,Zouyiran/ryu,Tesi-Luca-Davide/ryu,elahejalalpour/ELRyu,hisaharu/ryu,pichuang/ryu,openvapour/ryu,lzppp/mylearning,osrg/ryu,openvapour/ryu,jkoelker/ryu,yamt/ryu,ttsubo/ryu,jalilm/ryu,jazzmes/ryu,ynkjm/ryu,fkakuma/ryu,habibiefaried/ryu,iwaseyusuke/ryu,TakeshiTseng/ryu,evanscottgray/ryu,zangree/ryu,ysywh/ryu,alyosha1879/ryu,lzppp/mylearning,elahejalalpour/ELRyu,Tejas-Subramanya/RYU_MEC,zyq001/ryu,habibiefaried/ryu,takahashiminoru/ryu,ynkjm/ryu,gopchandani/ryu,zangree/ryu,habibiefaried/ryu,lsqtongxin/ryu,muzixing/ryu,shinpeimuraoka/ryu,lzppp/mylearning,diogommartins/ryu,fkakuma/ryu,ntts-clo/ryu,ttsubo/ryu,alyosha1879/ryu,umkcdcrg01/ryu_openflow,sivaramakrishnansr/ryu,TakeshiTseng/ryu,TakeshiTseng/ryu,gareging/SDN_Framework,muzixing/ryu,fujita/ryu,jalilm/ryu,jalilm/ryu,pichuang/ryu,gopchandani/ryu,zangree/ryu,darjus-amzn/ryu,castroflavio/ryu,Zouyiran/ryu,OpenState-SDN/ryu,Tesi-Luca-Davide/ryu,ttsubo/ryu,diogommartins/ryu,osrg/ryu,shinpeimuraoka/ryu,lzppp/mylearning,diogommartins/ryu,gareging/SDN_Framework,umkcdcrg01/ryu_openflow,Zouyiran/ryu,sivaramakrishnansr/ryu,jkoelker/ryu,lsqtongxin/ryu,yamt/ryu,darjus-amzn/ryu,iwaseyusuke/ryu,haniehrajabi/ryu,ntts-clo/ryu,fujita/ryu,muzixing/ryu,OpenState-SDN/ryu,lagopus/ryu-lagopus-ext,hisaharu/ryu,jalilm/ryu,evanscottgray/ryu,ttsubo/ryu,jazzmes/ryu,alanquillin/ryu,zangree/ryu,castroflavio/ryu,StephenKing/summerschool-2015-ryu,habibiefaried/ryu,darjus-amzn/ryu,jkoelker/ryu,Tejas-Subramanya/RYU_MEC,StephenKing/summerschool-2015-ryu,takahashiminoru/ryu,StephenKing/summerschool-2015-ryu,yamada-h/ryu,zyq001/ryu,fujita/ryu,haniehrajabi/ryu,John-Lin/ryu,zyq001/ryu,Tejas-Subramanya/RYU_MEC,diogommartins/ryu,alyosha1879/ryu,Tesi-Luca-Davide/ryu,pichuang/ryu,John-Lin/ryu,lagopus/ryu-lagopus-ext,TakeshiTseng/ryu,lagopus/ryu-lagopus-ext,shinpeimuraoka/ryu,gopchandani/ryu,elahejalalpour/ELRyu,lagopus/ryu-lagopus-ext,muzixing/ryu,yamt/ryu,habibiefaried/ryu,shinpeimuraoka/ryu,castroflavio/ryu,osrg/ryu,iwaseyusuke/ryu,OpenState-SDN/ryu,StephenKing/ryu,zyq001/ryu,osrg/ryu,alyosha1879/ryu,Zouyiran/ryu,osrg/ryu,haniehrajabi/ryu,John-Lin/ryu,yamt/ryu,lsqtongxin/ryu,lsqtongxin/ryu,elahejalalpour/ELRyu,Tejas-Subramanya/RYU_MEC,torufuru/oolhackathon,takahashiminoru/ryu,openvapour/ryu,alanquillin/ryu,takahashiminoru/ryu,shinpeimuraoka/ryu,openvapour/ryu,lagopus/ryu-lagopus-ext,fkakuma/ryu,gareging/SDN_Framework,StephenKing/summerschool-2015-ryu,umkcdcrg01/ryu_openflow,hisaharu/ryu,zangree/ryu,ntts-clo/mld-ryu,openvapour/ryu,ysywh/ryu,sivaramakrishnansr/ryu,darjus-amzn/ryu,o3project/ryu-oe,Zouyiran/ryu,ysywh/ryu,gopchandani/ryu,torufuru/oolhackathon,hisaharu/ryu,iwaseyusuke/ryu,lsqtongxin/ryu,pichuang/ryu,alanquillin/ryu,yamt/ryu,o3project/ryu-oe,evanscottgray/ryu,haniehrajabi/ryu,lzppp/mylearning,torufuru/oolhackathon,umkcdcrg01/ryu_openflow,John-Lin/ryu,ttsubo/ryu,ysywh/ryu,gareging/SDN_Framework,StephenKing/summerschool-2015-ryu,John-Lin/ryu,OpenState-SDN/ryu,sivaramakrishnansr/ryu,muzixing/ryu,darjus-amzn/ryu,jazzmes/ryu,umkcdcrg01/ryu_openflow,pichuang/ryu,Tejas-Subramanya/RYU_MEC,ysywh/ryu,TakeshiTseng/ryu,zyq001/ryu,alanquillin/ryu,sivaramakrishnansr/ryu,StephenKing/ryu,iwaseyusuke/ryu,ynkjm/ryu,fujita/ryu,ynkjm/ryu,alanquillin/ryu,fkakuma/ryu,diogommartins/ryu,takahashiminoru/ryu,jalilm/ryu,Tesi-Luca-Davide/ryu,StephenKing/ryu