|
Hi,
I'm reading source code of LVS (version 0.81 for 2.4.5 kernel). There is
one part I'm not quite clear. As I understand in ipvsadm.c
setsockopt() with SOCK_RAW passes an ip_vs_rule_user structure to the
kernel. And in ip_vs_ctl.c nf_register_sockopt() registers handlers for
the data passed from ipvsadm process.
But I don't understand how these two parts get together. It seems to me,
by reading sys_setsockopt() and nf_register_sockopt() source code, they
are not connected. I must be missing something...
Thanks,
-Tao
|