chiark / gitweb /
Start rationalizing network address configuration.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Mar 2009 14:56:56 +0000 (14:56 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Mar 2009 14:56:56 +0000 (14:56 +0000)
commit76e72f65da97e7482da0a1eb0b110ca323f21643
tree0e0ff495388bc919ba83a023f6d8ad7fc63aafe0
parent1ce62256052854cdf87b90fb555a39eb6deea0f8
Start rationalizing network address configuration.

New 'struct netaddress' has address family, address and port.  Family
can be unspecified (effectively, let the OS choose), IPv4, IPv6 or UNIX
domain sockets (though in practice the latter won't work well in most
contexts).

The RTP server configuration uses this logic.
lib/addr.c
lib/addr.h
lib/configuration.c
lib/configuration.h
lib/uaudio-rtp.c
lib/uaudio.c
server/server.c