Ermal Luçi dce33a45c9 The patch provides the same socket option as Linux IP_ORIGDSTADDR.
Unfortunately they will have different integer value due to Linux value being already assigned in FreeBSD.

The patch is similar to IP_RECVDSTADDR but also provides the destination port value to the application.

This allows/improves implementation of transparent proxies on UDP sockets due to having the whole information on forwarded packets.

Reviewed by:	adrian, aw
Approved by:	ae (mentor)
Sponsored by:	rsync.net
Differential Revision:	D9235
2017-03-06 04:01:58 +00:00
..
2017-02-23 19:36:38 +00:00
2017-03-05 03:05:24 +00:00
2017-03-05 03:58:57 +00:00
2016-09-18 12:49:23 +00:00
2015-10-15 22:55:08 +00:00