[Drbd-dev] obtain addr

Lars Ellenberg lars.ellenberg at linbit.com
Mon Apr 7 16:33:20 CEST 2014


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

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.


More information about the drbd-dev mailing list