andrei 2008/08/18 16:55:13 CEST
SER CVS Repository
Modified files:
. cfg.y ip_addr.h main.c route.c
route_struct.c socket_info.c
socket_info.h
Log:
sctp multi-homing config support
- config support for sctp multi-homing (listen on multiple addresses in the
same time).
Format: sctp:(addr1, addr2, addr3)
sctp:(eth0) -> will listen on all eth0 addresses in the same
time
(eth0,lo) -> sctp will listen on all addresses from eth0 & lo
in the same time, while the other protocols will
create different socket for each of the addresses
(e.g.: for udp it would be equivalent with:
listen= udp:eth0 udp:lo)
The first address is always the main one.
Conflicts are resolved automatically, by removing the duplicates. Main
addresses have priority (e.g: sctp:(lo,eth0) sctp:(eth0,eth1) after
duplicate removal will become sctp:(lo) sctp:(eth0,eth1)).
- try to always keep the order in which listen addresses were given in
config (fixes reordering between interface names and hostnames, e.g.
listen= eth0 foo.bar resulted in ip(foo.bar) , ip(eth0) )
Revision Changes Path
1.162 +126 -10 sip_router/cfg.y
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/cfg.y.diff?r1=1.161&r2=1.162
1.46 +27 -4 sip_router/ip_addr.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/ip_addr.h.diff?r1=1.45&r2=1.46
1.265 +3 -3 sip_router/main.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/main.c.diff?r1=1.264&r2=1.265
1.76 +14 -9 sip_router/route.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/route.c.diff?r1=1.75&r2=1.76
1.42 +4 -4 sip_router/route_struct.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/route_struct.c.diff?r1=1.41&r2=1.42
1.20 +681 -173 sip_router/socket_info.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/socket_info.c.diff?r1=1.19&r2=1.20
1.12 +7 -3 sip_router/socket_info.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/socket_info.h.diff?r1=1.11&r2=1.12
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev