raw sockets: ttl can be set or auto-detected
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Tue, 10 Aug 2010 09:09:19 +0000 (11:09 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Tue, 10 Aug 2010 09:09:19 +0000 (11:09 +0200)
commit9eb54078fd76b53f27cb57a13ccae9e14e3b5237
tree789fd78ff3021a69d5c6c1d19207819c04dc1de9
parent83a82189aa73b2175939e496b707588a94d669d6
raw sockets: ttl can be set or auto-detected

The IP TTL used when sending on raw sockets can be set using the
core.udp4_raw_ttl config variable.
By default it is auto-detected on startup (the same IP TTL as the
one for the first udp4 socket is used).
cfg_core.c
cfg_core.h
main.c
raw_sock.c
sock_ut.c [new file with mode: 0644]
sock_ut.h [new file with mode: 0644]