obtain addr
Hi,
Where is the seccion in source code that
This 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;
Sorry, I accidentally sent email, then...
Where is the seccion in source code that obtain the IP address from
drbd.conf file?
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
Hi Ra,
Quoted 9 lines
Where is the seccion in source code that obtain the IP address from
drbd.conf file?The follow code in
drbd_int.h-> structdrbd_connectionstruct
sockaddr_storagemy_addr;
intmy_addr_len;
structsockaddr_storagepeer_addr;
intpeer_addr_len;
the kernel module does _nothing_ with/about the configuration files.
"drbdadm" reads the config files, and runs
"drbdsetup" commands, these use netlink to pass data to
the kernel module.
You might want to look at sockaddr_from_str(), in user/drbdsetup.c around line 816.
Regards,
Phil
Lars Ellenberg
maintainerQuoted 5 lines · raulhp
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?
Quoted 10 lines
The follow code in
drbd_int.h-> structdrbd_connectionstruct
sockaddr_storagemy_addr;
intmy_addr_len;
structsockaddr_storagepeer_addr;
intpeer_addr_len;Best Regards,
Ra
Signature · 5 lines
: 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.
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!
Quoted 19 lines · Lars Ellenberg
Quoted 5 lines · raulhp
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?
Quoted 10 lines
The follow code in
drbd_int.h-> structdrbd_connectionstruct
sockaddr_storagemy_addr;
intmy_addr_len;
structsockaddr_storagepeer_addr;
intpeer_addr_len;Best Regards,
Ra
Any answers on this one yet?
If it's still an open item, I can blast it out via my twitter.
Let me know
Quoted 17 lines · raulhp
Hi, Only I´m trying to understand how DRBD obtain the IP address from drbd.conf, but I have seen the
drbdsetup.cfileThanks!
El 2014-04-07 16:33, Lars Ellenberg escribió:
Quoted 9 lines · raulhp
Quoted 8 lines
Sorry, I accidentally sent email, then...
Where is the section in the source code that can obtain the IP address
from
drbd.conf file?
Signature · 6 lines
Robert Kim Web Offset Printing Hong Kong Japan http://www.youtube.com/watch?v=q_qBSz0_Els <http://sparkah.com/google> 2611 S Coast Highway San Diego, CA 92007 310 598 1606