hdb3 / hBGP

A complete functional language implementation of a BGP stack (BGP speaker, dataplane, MRT and BMP)
Apache License 2.0
1 stars 1 forks source link

refactor BGPRib.Update #8

Open hdb3 opened 4 years ago

hdb3 commented 4 years ago

On the sender side the translation to wireformat is deferred yet the 'chunking' has to be done early hence encoding is effectively done twice. TODO - a) switch to using Builder b) rework the makeUpdate function to build the binary form directly (or understand/document why it is deferred)