Julian Elischer 436c7212e6 Hide the interface name in the sin_zero section of the sockaddr_in
passed to the user process for incoming packets. When the sockaddr_in
is passed back to the divert socket later, use thi sas the primary
interface lookup and only revert to the IP address when the name fails.
This solves a long standing bug with divert sockets:
When two interfaces had the same address (P2P for example) the interface
"assigned" to the reinjected packet was sometimes incorect.
Probably we should define a "sockaddr_div" to officially hold this
extended information in teh same manner as sockaddr_dl.
1998-05-25 08:44:31 +00:00
..
1997-03-07 02:50:01 +00:00
1998-03-09 10:56:22 +00:00
1998-05-25 07:11:41 +00:00
1997-06-02 21:01:00 +00:00
1997-03-07 02:50:01 +00:00
1997-03-07 02:50:01 +00:00
1997-10-19 13:12:35 +00:00
1997-02-22 13:26:29 +00:00
1997-02-22 13:26:29 +00:00
1997-03-07 02:50:01 +00:00
1997-03-07 02:50:01 +00:00
1997-02-22 13:26:29 +00:00
1997-03-07 02:50:01 +00:00
1997-03-07 02:50:01 +00:00
1998-01-02 19:22:52 +00:00
1997-03-07 02:50:01 +00:00
1997-02-22 13:26:29 +00:00
1998-03-23 20:24:31 +00:00
1997-09-14 18:55:41 +00:00
1997-09-29 10:11:02 +00:00
1997-12-29 21:07:10 +00:00
1997-03-07 02:50:01 +00:00
1997-12-29 21:07:49 +00:00
1998-05-21 03:20:39 +00:00
1997-02-22 13:26:29 +00:00
1998-02-20 18:09:28 +00:00
1997-03-07 02:50:01 +00:00
1997-03-07 02:50:01 +00:00
1997-09-29 10:11:02 +00:00
1997-12-22 07:35:40 +00:00
1997-03-07 02:50:01 +00:00