use static array of function pointers instead of static array with structs.
This will ease windows development since it will later allow calling 'init'
function for each module (tcp/rdma) instead of relying on compile time static
initialization of many structs without having good syntax for that in our
windows compiler

Change-Id: Idb90d074477dc69ff4cad4f56bcd3b9b45a35577
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>