Searched hist:"436 c7212e69c3933c0f0d875293c10f142f86fe9" (Results 1 – 2 of 2) sorted by relevance
/freebsd/share/man/man4/ |
H A D | divert.4 | diff 436c7212e69c3933c0f0d875293c10f142f86fe9 Mon May 25 10:44:31 CEST 1998 Julian Elischer <julian@FreeBSD.org> 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. diff 436c7212e69c3933c0f0d875293c10f142f86fe9 Mon May 25 10:44:31 CEST 1998 Julian Elischer <julian@FreeBSD.org> 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.
|
/freebsd/sys/netinet/ |
H A D | ip_divert.c | diff 436c7212e69c3933c0f0d875293c10f142f86fe9 Mon May 25 10:44:31 CEST 1998 Julian Elischer <julian@FreeBSD.org> 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. diff 436c7212e69c3933c0f0d875293c10f142f86fe9 Mon May 25 10:44:31 CEST 1998 Julian Elischer <julian@FreeBSD.org> 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.
|