Re: [GoBGP-devel] Code Flow for Serialize Function for Various BGP Attributes..

2016-08-17 Thread Wataru Ishida
Hi, the code flow of BGP Update serialization is https://github.com/osrg/gobgp/blob/master/server/fsm.go#L1036 https://github.com/osrg/gobgp/blob/master/packet/bgp/bgp.go#L7057 https://github.com/osrg/gobgp/blob/master/packet/bgp/bgp.go#L6832 func (p *PathAttributeLocalPref) Serialize() Thank

[GoBGP-devel] Code Flow for Serialize Function for Various BGP Attributes..

2016-08-17 Thread dip
Hi, I am new to GoLang, so apologies for such a basic question. So, I am trying to understand who is calling the Serialize function associated with various attributes. For instance, for LocalPref we have Serialize function and i am trying to trace the Code flow to see who is calling this, but so