Ermal Luçi ed55edceef 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.

Sponsored-by: rsync.net
Differential Revision: D9235
Reviewed-by: adrian
2017-02-10 05:16:14 +00:00
..
2016-05-03 18:05:43 +00:00
2016-10-02 01:42:45 +00:00
2016-05-03 18:05:43 +00:00
2016-03-31 00:53:23 +00:00
2017-02-06 08:49:57 +00:00
2016-10-02 01:42:45 +00:00
2015-07-31 09:02:28 +00:00
2016-12-09 20:50:35 +00:00
2017-02-06 08:49:57 +00:00
2016-05-03 18:05:43 +00:00
2016-05-03 18:05:43 +00:00
2017-02-06 08:49:57 +00:00
2016-12-26 11:06:41 +00:00
2016-12-06 10:21:25 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2016-12-06 10:21:25 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2017-02-06 08:49:57 +00:00
2016-12-26 11:06:41 +00:00
2017-02-06 08:49:57 +00:00
2016-12-26 11:06:41 +00:00
2017-02-06 08:49:57 +00:00
2016-12-26 11:06:41 +00:00
2016-12-06 10:21:25 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2016-12-06 10:21:25 +00:00
2016-12-26 11:06:41 +00:00
2016-12-26 11:06:41 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00