Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP_PKTINFO needs to be sent, not just recieved #1064

Open
wbl opened this issue May 22, 2019 · 1 comment
Open

IP_PKTINFO needs to be sent, not just recieved #1064

wbl opened this issue May 22, 2019 · 1 comment

Comments

@wbl
Copy link

wbl commented May 22, 2019

One of the common uses of IP_PKTINFO is with a UDP port that receives packets from many addresses to know which port to send the the result to. Sadly IP_PKTINFO is only a ControlMessageOwned, not a ControlMessage and the same is true for IPv6. Every ControlMessageOwned should probably be a ControlMessage as well if it can be used on transmit.

@asomers
Copy link
Member

asomers commented May 22, 2019

I didn't realize that message could be used for transmitting to. Patches welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants