bytecodealliance / rustix

Safe Rust bindings to POSIX-ish APIs
Other
1.46k stars 152 forks source link

Bind raw socket to an interface #1058

Open yochayKen opened 4 months ago

yochayKen commented 4 months ago

Hello there!

There is no API that can bind my raw socket fd to an Interface name (&str). Unfortunately, There is only a MAC address on my interface so I couldn't bind IP address also.

Any help would be welcomed! Thanks a lot!