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

Expose IP_PKTINFO Control Message on Android and iOS #1265

Merged
merged 1 commit into from Jul 7, 2020

Commits on Jul 4, 2020

  1. Expose IP_PKTINFO Control Message on Android

    The commit nix-rust#1222 added the very
    useful Ipv4PktInfo to allow `sendmsg` to define the origin of the ip.
    
    Unfortunattely, it didn't add the struct to Android target devices as
    well. This commit adds the `target_os = "android"` checks on the same
    place to allow the compilation to work for the following archs tested:
    
    - `cross build --target aarch64-linux-android`
    - `cross build --target x86_64-linux-android`
    - `cross build --target armv7-linux-androideabi`
    
    Also introduces iOS to allow using on libs for those platforms
    bltavares committed Jul 4, 2020
    Copy the full SHA
    0a97376 View commit details
    Browse the repository at this point in the history