net/ng_netapi: fixed implementation
net/ng_netapi: fixed implementation

- renamed opt variable in _get_set
- fixed msg type MACRO names

hamilton-mote/RIOT-OS,gebart/RIOT,lazytech-org/RIOT,msolters/RIOT,toonst/RIOT,abp719/RIOT,OlegHahm/RIOT,Osblouf/RIOT,OlegHahm/RIOT,chris-wood/RIOT,tfar/RIOT,zhuoshuguo/RIOT,ximus/RIOT,kaspar030/RIOT,backenklee/RIOT,msolters/RIOT,dhruvvyas90/RIOT,ximus/RIOT,syin2/RIOT,sgso/RIOT,bartfaizoltan/RIOT,brettswann/RIOT,centurysys/RIOT,rajma996/RIOT,JensErdmann/RIOT,patkan/RIOT,kaleb-himes/RIOT,Hyungsin/RIOT-OS,wentaoshang/RIOT,haoyangyu/RIOT,alignan/RIOT,x3ro/RIOT,jasonatran/RIOT,openkosmosorg/RIOT,MarkXYang/RIOT,authmillenon/RIOT,patkan/RIOT,gebart/RIOT,TobiasFredersdorf/RIOT,BytesGalore/RIOT,MarkXYang/RIOT,gebart/RIOT,Lexandro92/RIOT-CoAP,biboc/RIOT,ks156/RIOT,centurysys/RIOT,mtausig/RIOT,asanka-code/RIOT,daniel-k/RIOT,rakendrathapa/RIOT,binarylemon/RIOT,tdautc19841202/RIOT,avmelnikoff/RIOT,A-Paul/RIOT,msolters/RIOT,rfuentess/RIOT,attdona/RIOT,RubikonAlpha/RIOT,RubikonAlpha/RIOT,miri64/RIOT,MohmadAyman/RIOT,adrianghc/RIOT,stevenj/RIOT,Yonezawa-T2/RIOT,mziegert/RIOT,adjih/RIOT,FrancescoErmini/RIOT,automote/RIOT,herrfz/RIOT-old,toonst/RIOT,khhhh/RIOT,rousselk/RIOT,dkm/RIOT,kb2ma/RIOT,asanka-code/RIOT,gbarnett/RIOT,beurdouche/RIOT,mtausig/RIOT,arvindpdmn/RIOT,syin2/RIOT,hamilton-mote/RIOT-OS,bartfaizoltan/RIOT,jasonatran/RIOT,rajma996/RIOT,jasonatran/RIOT,rakendrathapa/RIOT,abkam07/RIOT,latsku/RIOT,neumodisch/RIOT,Darredevil/RIOT,khhhh/RIOT,centurysys/RIOT,jremmert-phytec-iot/RIOT,binarylemon/RIOT,benoit-canet/RIOT,herrfz/RIOT,mtausig/RIOT,neumodisch/RIOT,OlegHahm/RIOT,immesys/RiSyn,rajma996/RIOT,FrancescoErmini/RIOT,kb2ma/RIOT,kaspar030/RIOT,Ell-i/RIOT,abp719/RIOT,automote/RIOT,msolters/RIOT,rousselk/RIOT,changbiao/RIOT,dkm/RIOT,koenning/RIOT,katezilla/RIOT,Josar/RIOT,RBartz/RIOT,Yonezawa-T2/RIOT,ThanhVic/RIOT,alex1818/RIOT,ant9000/RIOT,kushalsingh007/RIOT,LudwigOrtmann/RIOT,LudwigOrtmann/RIOT,gbarnett/RIOT,kaspar030/RIOT,Ell-i/RIOT,authmillenon/RIOT,herrfz/RIOT-old,rakendrathapa/RIOT,neumodisch/RIOT,mziegert/RIOT,JensErdmann/RIOT,chris-wood/RIOT,OlegHahm/RIOT,alignan/RIOT,OTAkeys/RIOT,jbeyerstedt/RIOT-OTA-update,RIOT-OS/RIOT,gautric/RIOT,ThanhVic/RIOT,hamilton-mote/RIOT-OS,josephnoir/RIOT,openkosmosorg/RIOT,malosek/RIOT,biboc/RIOT,RBartz/RIOT,phiros/RIOT,robixnai/RIOT,ant9000/RIOT,yogo1212/RIOT,marcosalm/RIOT,Yonezawa-T2/RIOT,mziegert/RIOT,adrianghc/RIOT,rfswarm/RIOT,herrfz/RIOT-old,thomaseichinger/RIOT,jasonatran/RIOT,A-Paul/RIOT,josephnoir/RIOT,backenklee/RIOT,haoyangyu/RIOT,kbumsik/RIOT,daniel-k/RIOT,cladmi/RIOT,wentaoshang/RIOT,kbumsik/RIOT,automote/RIOT,hamilton-mote/RIOT-OS,malosek/RIOT,PSHIVANI/Riot-Code,alex1818/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,lazytech-org/RIOT,biboc/RIOT,jremmert-phytec-iot/RIOT,plushvoxel/RIOT,lebrush/RIOT,Hyungsin/RIOT-OS,jfischer-phytec-iot/RIOT,kerneltask/RIOT,jasonatran/RIOT,plushvoxel/RIOT,Osblouf/RIOT,MarkXYang/RIOT,DipSwitch/RIOT,attdona/RIOT,shady33/RIOT,binarylemon/RIOT,EmuxEvans/RIOT,patkan/RIOT,mtausig/RIOT,kYc0o/RIOT,d00616/RIOT,immesys/RiSyn,watr-li/RIOT,gbarnett/RIOT,dhruvvyas90/RIOT,MohmadAyman/RIOT,yogo1212/RIOT,abp719/RIOT,dhruvvyas90/RIOT,roberthartung/RIOT,neiljay/RIOT,kushalsingh007/RIOT,tdautc19841202/RIOT,automote/RIOT,katezilla/RIOT,changbiao/RIOT,herrfz/RIOT,zhuoshuguo/RIOT,x3ro/RIOT,attdona/RIOT,rousselk/RIOT,OTAkeys/RIOT,chris-wood/RIOT,gbarnett/RIOT,EmuxEvans/RIOT,patkan/RIOT,lebrush/RIOT,Lexandro92/RIOT-CoAP,mtausig/RIOT,tdautc19841202/RIOT,thiagohd/RIOT,openkosmosorg/RIOT,DipSwitch/RIOT,sumanpanchal/RIOT,bartfaizoltan/RIOT,kbumsik/RIOT,openkosmosorg/RIOT,latsku/RIOT,watr-li/RIOT,BytesGalore/RIOT,alex1818/RIOT,cladmi/RIOT,l3nko/RIOT,jferreir/RIOT,luciotorre/RIOT,benoit-canet/RIOT,dailab/RIOT,miri64/RIOT,basilfx/RIOT,backenklee/RIOT,aeneby/RIOT,aeneby/RIOT,abkam07/RIOT,asanka-code/RIOT,dailab/RIOT,kbumsik/RIOT,openkosmosorg/RIOT,authmillenon/RIOT,EmuxEvans/RIOT,watr-li/RIOT,yogo1212/RIOT,rajma996/RIOT,LudwigKnuepfer/RIOT,LudwigKnuepfer/RIOT,ant9000/RIOT,patkan/RIOT,PSHIVANI/Riot-Code,phiros/RIOT,BytesGalore/RIOT,wentaoshang/RIOT,ntrtrung/RIOT,DipSwitch/RIOT,FrancescoErmini/RIOT,jbeyerstedt/RIOT-OTA-update,kYc0o/RIOT,MonsterCode8000/RIOT,herrfz/RIOT,Osblouf/RIOT,avmelnikoff/RIOT,ximus/RIOT,toonst/RIOT,lebrush/RIOT,robixnai/RIOT,benoit-canet/RIOT,bartfaizoltan/RIOT,mziegert/RIOT,rakendrathapa/RIOT,rfuentess/RIOT,thomaseichinger/RIOT,Osblouf/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,adrianghc/RIOT,miri64/RIOT,OTAkeys/RIOT,Yonezawa-T2/RIOT,roberthartung/RIOT,LudwigOrtmann/RIOT,kb2ma/RIOT,dailab/RIOT,JensErdmann/RIOT,openkosmosorg/RIOT,adjih/RIOT,tdautc19841202/RIOT,thiagohd/RIOT,gautric/RIOT,syin2/RIOT,MonsterCode8000/RIOT,neiljay/RIOT,tdautc19841202/RIOT,LudwigOrtmann/RIOT,benoit-canet/RIOT,beurdouche/RIOT,watr-li/RIOT,immesys/RiSyn,biboc/RIOT,koenning/RIOT,herrfz/RIOT,asanka-code/RIOT,automote/RIOT,rousselk/RIOT,roberthartung/RIOT,smlng/RIOT,robixnai/RIOT,d00616/RIOT,abkam07/RIOT,jbeyerstedt/RIOT-OTA-update,RubikonAlpha/RIOT,MarkXYang/RIOT,kerneltask/RIOT,zhuoshuguo/RIOT,lebrush/RIOT,ximus/RIOT,basilfx/RIOT,wentaoshang/RIOT,TobiasFredersdorf/RIOT,bartfaizoltan/RIOT,basilfx/RIOT,LudwigOrtmann/RIOT,MonsterCode8000/RIOT,kb2ma/RIOT,kbumsik/RIOT,rfuentess/RIOT,avmelnikoff/RIOT,altairpearl/RIOT,FrancescoErmini/RIOT,backenklee/RIOT,jremmert-phytec-iot/RIOT,OTAkeys/RIOT,neumodisch/RIOT,x3ro/RIOT,kYc0o/RIOT,jferreir/RIOT,fnack/RIOT,zhuoshuguo/RIOT,miri64/RIOT,altairpearl/RIOT,d00616/RIOT,gebart/RIOT,haoyangyu/RIOT,jferreir/RIOT,OlegHahm/RIOT,herrfz/RIOT-old,rajma996/RIOT,jbeyerstedt/RIOT-OTA-update,MonsterCode8000/RIOT,MohmadAyman/RIOT,Josar/RIOT,ant9000/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,jremmert-phytec-iot/RIOT,daniel-k/RIOT,wentaoshang/RIOT,shady33/RIOT,herrfz/RIOT-old,neumodisch/RIOT,kerneltask/RIOT,authmillenon/RIOT,gebart/RIOT,latsku/RIOT,neumodisch/RIOT,sumanpanchal/RIOT,BytesGalore/RIOT,hamilton-mote/RIOT-OS,rakendrathapa/RIOT,gbarnett/RIOT,RubikonAlpha/RIOT,alex1818/RIOT,RIOT-OS/RIOT,cladmi/RIOT,benoit-canet/RIOT,RubikonAlpha/RIOT,jhollister/RIOT,MohmadAyman/RIOT,immesys/RiSyn,josephnoir/RIOT,alex1818/RIOT,avmelnikoff/RIOT,roberthartung/RIOT,ThanhVic/RIOT,changbiao/RIOT,gautric/RIOT,beurdouche/RIOT,jfischer-phytec-iot/RIOT,robixnai/RIOT,stevenj/RIOT,phiros/RIOT,marcosalm/RIOT,ks156/RIOT,adjih/RIOT,katezilla/RIOT,wentaoshang/RIOT,rfswarm/RIOT,changbiao/RIOT,arvindpdmn/RIOT,robixnai/RIOT,dkm/RIOT,JensErdmann/RIOT,ntrtrung/RIOT,MohmadAyman/RIOT,shady33/RIOT,l3nko/RIOT,brettswann/RIOT,tfar/RIOT,khhhh/RIOT,neiljay/RIOT,haoyangyu/RIOT,lebrush/RIOT,RBartz/RIOT,RBartz/RIOT,thomaseichinger/RIOT,LudwigOrtmann/RIOT,shady33/RIOT,thomaseichinger/RIOT,attdona/RIOT,jhollister/RIOT,alignan/RIOT,fnack/RIOT,kushalsingh007/RIOT,sgso/RIOT,ntrtrung/RIOT,rfswarm/RIOT,binarylemon/RIOT,changbiao/RIOT,kushalsingh007/RIOT,authmillenon/RIOT,jbeyerstedt/RIOT-OTA-update,immesys/RiSyn,kb2ma/RIOT,thiagohd/RIOT,sumanpanchal/RIOT,syin2/RIOT,avmelnikoff/RIOT,authmillenon/RIOT,phiros/RIOT,rfuentess/RIOT,msolters/RIOT,tfar/RIOT,MarkXYang/RIOT,jferreir/RIOT,biboc/RIOT,alex1818/RIOT,LudwigKnuepfer/RIOT,cladmi/RIOT,brettswann/RIOT,abkam07/RIOT,kerneltask/RIOT,basilfx/RIOT,koenning/RIOT,PSHIVANI/Riot-Code,brettswann/RIOT,yogo1212/RIOT,thiagohd/RIOT,kaleb-himes/RIOT,Yonezawa-T2/RIOT,marcosalm/RIOT,daniel-k/RIOT,haoyangyu/RIOT,kYc0o/RIOT,kushalsingh007/RIOT,phiros/RIOT,Yonezawa-T2/RIOT,Darredevil/RIOT,shady33/RIOT,LudwigKnuepfer/RIOT,gautric/RIOT,changbiao/RIOT,tfar/RIOT,watr-li/RIOT,rfuentess/RIOT,stevenj/RIOT,Josar/RIOT,attdona/RIOT,kaleb-himes/RIOT,altairpearl/RIOT,yogo1212/RIOT,DipSwitch/RIOT,thiagohd/RIOT,arvindpdmn/RIOT,haoyangyu/RIOT,thiagohd/RIOT,mfrey/RIOT,arvindpdmn/RIOT,brettswann/RIOT,Ell-i/RIOT,A-Paul/RIOT,FrancescoErmini/RIOT,chris-wood/RIOT,jferreir/RIOT,l3nko/RIOT,binarylemon/RIOT,neiljay/RIOT,l3nko/RIOT,yogo1212/RIOT,beurdouche/RIOT,msolters/RIOT,altairpearl/RIOT,attdona/RIOT,josephnoir/RIOT,basilfx/RIOT,miri64/RIOT,phiros/RIOT,mziegert/RIOT,x3ro/RIOT,latsku/RIOT,A-Paul/RIOT,plushvoxel/RIOT,latsku/RIOT,malosek/RIOT,sumanpanchal/RIOT,binarylemon/RIOT,Lexandro92/RIOT-CoAP,syin2/RIOT,sgso/RIOT,jferreir/RIOT,ntrtrung/RIOT,EmuxEvans/RIOT,DipSwitch/RIOT,khhhh/RIOT,jhollister/RIOT,jremmert-phytec-iot/RIOT,l3nko/RIOT,Josar/RIOT,fnack/RIOT,benoit-canet/RIOT,JensErdmann/RIOT,Hyungsin/RIOT-OS,sumanpanchal/RIOT,gautric/RIOT,josephnoir/RIOT,altairpearl/RIOT,gbarnett/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,ks156/RIOT,jfischer-phytec-iot/RIOT,aeneby/RIOT,shady33/RIOT,smlng/RIOT,Darredevil/RIOT,TobiasFredersdorf/RIOT,luciotorre/RIOT,latsku/RIOT,luciotorre/RIOT,stevenj/RIOT,Osblouf/RIOT,asanka-code/RIOT,Lexandro92/RIOT-CoAP,beurdouche/RIOT,dkm/RIOT,kerneltask/RIOT,RubikonAlpha/RIOT,luciotorre/RIOT,MonsterCode8000/RIOT,luciotorre/RIOT,malosek/RIOT,JensErdmann/RIOT,centurysys/RIOT,RBartz/RIOT,TobiasFredersdorf/RIOT,abkam07/RIOT,jfischer-phytec-iot/RIOT,herrfz/RIOT,automote/RIOT,ant9000/RIOT,lazytech-org/RIOT,kYc0o/RIOT,khhhh/RIOT,rajma996/RIOT,zhuoshuguo/RIOT,plushvoxel/RIOT,chris-wood/RIOT,DipSwitch/RIOT,l3nko/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,rousselk/RIOT,FrancescoErmini/RIOT,chris-wood/RIOT,koenning/RIOT,sgso/RIOT,fnack/RIOT,Hyungsin/RIOT-OS,malosek/RIOT,Hyungsin/RIOT-OS,aeneby/RIOT,jremmert-phytec-iot/RIOT,MohmadAyman/RIOT,sgso/RIOT,abp719/RIOT,jhollister/RIOT,backenklee/RIOT,Darredevil/RIOT,ntrtrung/RIOT,zhuoshuguo/RIOT,x3ro/RIOT,rfswarm/RIOT,koenning/RIOT,fnack/RIOT,kaleb-himes/RIOT,kushalsingh007/RIOT,patkan/RIOT,sumanpanchal/RIOT,aeneby/RIOT,katezilla/RIOT,tdautc19841202/RIOT,rakendrathapa/RIOT,luciotorre/RIOT,marcosalm/RIOT,watr-li/RIOT,BytesGalore/RIOT,smlng/RIOT,neiljay/RIOT,centurysys/RIOT,ks156/RIOT,fnack/RIOT,ThanhVic/RIOT,smlng/RIOT,adjih/RIOT,kaspar030/RIOT,PSHIVANI/Riot-Code,MarkXYang/RIOT,alignan/RIOT,OTAkeys/RIOT,EmuxEvans/RIOT,Darredevil/RIOT,lazytech-org/RIOT,toonst/RIOT,Josar/RIOT,rousselk/RIOT,dailab/RIOT,rfswarm/RIOT,stevenj/RIOT,katezilla/RIOT,alignan/RIOT,RBartz/RIOT,EmuxEvans/RIOT,kaleb-himes/RIOT,sgso/RIOT,RIOT-OS/RIOT,abp719/RIOT,ximus/RIOT,jhollister/RIOT,Ell-i/RIOT,malosek/RIOT,marcosalm/RIOT,TobiasFredersdorf/RIOT,dhruvvyas90/RIOT,mfrey/RIOT,khhhh/RIOT,RIOT-OS/RIOT,jhollister/RIOT,lebrush/RIOT,LudwigKnuepfer/RIOT,asanka-code/RIOT,MonsterCode8000/RIOT,plushvoxel/RIOT,ximus/RIOT,tfar/RIOT,herrfz/RIOT,jfischer-phytec-iot/RIOT,dkm/RIOT,Lexandro92/RIOT-CoAP,kaspar030/RIOT,ThanhVic/RIOT,arvindpdmn/RIOT,adrianghc/RIOT,stevenj/RIOT,bartfaizoltan/RIOT,lazytech-org/RIOT,centurysys/RIOT,mfrey/RIOT,smlng/RIOT,toonst/RIOT,d00616/RIOT,adjih/RIOT,dhruvvyas90/RIOT,adrianghc/RIOT,arvindpdmn/RIOT,mfrey/RIOT,brettswann/RIOT,daniel-k/RIOT,mziegert/RIOT,daniel-k/RIOT,robixnai/RIOT,koenning/RIOT,dhruvvyas90/RIOT,PSHIVANI/Riot-Code,d00616/RIOT,A-Paul/RIOT,dailab/RIOT,rfswarm/RIOT,abkam07/RIOT,roberthartung/RIOT,ThanhVic/RIOT,d00616/RIOT,marcosalm/RIOT,Osblouf/RIOT,ntrtrung/RIOT,cladmi/RIOT,ks156/RIOT,Ell-i/RIOT,abp719/RIOT,immesys/RiSyn,thomaseichinger/RIOT,PSHIVANI/Riot-Code,Darredevil/RIOT,mfrey/RIOT,Lexandro92/RIOT-CoAP,RIOT-OS/RIOT,altairpearl/RIOT