packet lib: calculate the udp length
packet lib: calculate the udp length

If the length is not given, calculate it.

Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

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