Re: [Babel-users] Propagation of unknown sub-TLV?

2018-01-27 Thread Lorenzo Ghiro
Thank you, a reply so full of insights! Please let us know what you decide -- I'll be glad to give a hand if > you're not sure what to do. mm, up to now we imposed every node to originate at least a route, so that it was easy to disseminate router-ids in the whole network and run the centrality

[Babel-users] Propagation of unknown sub-TLV?

2018-01-24 Thread Lorenzo Ghiro
ed in a sub-TLV attached to a router-id parent TLV. Is it possible to accomplish this kind of “silent-propagation”? For instance, I am thinking to this in order to deploy an extension without the need to reboot the whole network. Thank you and regards, Lorenzo Ghiro PS: In BGP it seems there is somethi

[Babel-users] Get interface address string

2017-06-07 Thread Lorenzo Ghiro
Hi everybody! I would like to know which is the proper method to get the string representation of the ipv4 address of an interface. I would appreciate very much something working like this: struct interface *ifp=...assume that it really points to some interface... char addr[16];

[Babel-users] Main Loop Frequency

2017-03-07 Thread Lorenzo Ghiro
Hi everybody! I would like to know how to schedule an operation (write to file) with below-second frequency, any advise? My strategy up to now has been to check, in the main loop, how many time passed from the last operation's occurence. Given that variable now is updated in every loop

Re: [Babel-users] Source stream

2017-01-12 Thread Lorenzo Ghiro
[Errata corrige] I am sorry to have asked the above silly question and to have disturbed all the readers of this mailing list. I had a wrong concept of Source in my mind and therefore did a mistake. I apologize for the inconvenience. Best regards, Lorenzo 2017-01-12 16:10 GMT+01:00 Lorenzo

[Babel-users] Source stream

2017-01-12 Thread Lorenzo Ghiro
Hi everybody! I need your help in developing the proper method to iterate over sources :) For instance for routes, some time ago M. Boutier helped me highlighting this piece of code > You must iterate over all the routing entries with "route streams" and > search > the one you want (or write

Re: [Babel-users] Next Hop TLV meaning

2016-12-07 Thread Lorenzo Ghiro
All clear, thank you! Lorenzo 2016-12-07 14:27 GMT+01:00 Juliusz Chroboczek : > > so if I understand correctly, when A sends an Update to B, B needs to > know > > address of A and, according to the proper circumstances, B gets address > of A > > either from IPv6 packet's source

Re: [Babel-users] Next Hop TLV meaning

2016-12-07 Thread Lorenzo Ghiro
Thank you so much, so if I understand correctly, when A sends an Update to B, B needs to know address of A and, according to the proper circumstances, B gets address of A either from IPv6 packet's source address (case 1) or from The Next-hop TLV sent on purpose by A (case 2). Considering the

[Babel-users] Next Hop TLV meaning

2016-12-06 Thread Lorenzo Ghiro
Hi everybody, once again I need your help! :) I do not understand the meaning of "next-hop" TLV for a subsequent Update. I built a very basic network with two Babel nodes connected via a wired link. Host1 interface's address is 1.1.1.1, Host2 interface's address is 2.2.2.2 Well, consider that

Re: [Babel-users] Betweenness centrality: extend ROUTE UPDATE

2016-11-21 Thread Lorenzo Ghiro
Thank you Matthieu! Precise and super fast answer :) 2016-11-21 18:07 GMT+01:00 Matthieu Boutier < bout...@pps.univ-paris-diderot.fr>: > Hi Lorenzo, > > > Is this the right place where to ask? > > Yes. > > > how to get the routing table entry matching a given prefix... > > You must iterate over