[Drbd-dev] obtain addr

raulhp raulhp at ugr.es
Mon Apr 7 16:44:01 CEST 2014


Hi, Only I´m trying to understand how DRBD obtain the IP address from 
drbd.conf, but I have seen the drbdsetup.c file

Thanks!

El 2014-04-07 16:33, Lars Ellenberg escribió:
> On Thu, Apr 03, 2014 at 12:35:36PM +0200, raulhp wrote:
>> Sorry, I accidentally sent email, then...
>>
>>
>>  Where is the seccion in source code that obtain the IP address from
>> drbd.conf file?
>
> What is it you are trying to do?
>
>>  The follow code in drbd_int.h -> struct drbd_connection
>>
>>  struct sockaddr_storage my_addr;
>>  int my_addr_len;
>>  struct sockaddr_storage peer_addr;
>>  int peer_addr_len;
>>
>>
>> Best Regards,
>> Ra



More information about the drbd-dev mailing list