mirror of
https://repo.or.cz/socat.git
synced 2025-07-17 16:43:24 +00:00
new address "interface" for transparent network interface handling
This commit is contained in:
parent
d70b8963aa
commit
de910892f2
18 changed files with 300 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
/* source: xioopen.c */
|
||||
/* Copyright Gerhard Rieger 2001-2007 */
|
||||
/* Copyright Gerhard Rieger 2001-2008 */
|
||||
/* Published under the GNU General Public License V.2, see file COPYING */
|
||||
|
||||
/* this is the source file of the extended open function */
|
||||
|
@ -55,6 +55,9 @@ const struct addrname addressnames[] = {
|
|||
#if WITH_GOPEN
|
||||
{ "gopen", &addr_gopen },
|
||||
#endif
|
||||
#if WITH_INTERFACE
|
||||
{ "if", &xioaddr_interface },
|
||||
#endif
|
||||
#if (WITH_IP4 || WITH_IP6) && WITH_TCP
|
||||
{ "inet", &addr_tcp_connect },
|
||||
#endif
|
||||
|
@ -76,6 +79,9 @@ const struct addrname addressnames[] = {
|
|||
{ "inet6-l", &addr_tcp6_listen },
|
||||
{ "inet6-listen", &addr_tcp6_listen },
|
||||
#endif
|
||||
#if WITH_INTERFACE
|
||||
{ "interface", &xioaddr_interface },
|
||||
#endif
|
||||
#if WITH_RAWIP
|
||||
#if (WITH_IP4 || WITH_IP6)
|
||||
{ "ip", &addr_rawip_sendto },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue