summaryrefslogtreecommitdiffhomepage
path: root/wireguard-go-rs/libwg/libwg_android.go
AgeCommit message (Collapse)AuthorFilesLines
2025-01-24Add build constraints for libwg_windows and libwg_androidDavid Lönnhager1-0/+3
2025-01-24Update copyright notices in libwgDavid Lönnhager1-1/+1
2024-11-22Fix a lot of thingsMarkus Pettersson1-1/+0
- Fix remaining rustc warnings on non-Android platforms - Fix lookup entry peer if it exists in wireguard-go - Fix talpid-wireguard not compiling on windows - Fix entry peer config code - Fix clippy issue - Fix Daita - Remove TODOs
2024-11-22Clean upJonatan Rhodin1-79/+3
- Fix outdated comment - Remove unused go function - Remove outdated TODO comment - Run `go fmt` on `libwg_android.go` - Document `AllowedTunnelTraffic`, `get_socket_v4` and `get_socket_v6`
2024-11-22Fix socket function in wireguard-goJonatan Rhodin1-5/+14
2024-11-22Add initial multihop config on AndroidJonatan Rhodin1-18/+56
- Add some minor wireguard go changes
2024-11-22Add `wgTurnOnMultihop`Markus Pettersson1-0/+196
2024-09-06Replace GoString with our own function to fix mte issueJonatan Rhodin1-1/+2
Co-authored-by: Joakim Hulthe <joakim@hulthe.net>
2024-06-25Add a safe FFI wrapper in `wireguard-go-rs`Sebastian Holmin1-0/+105
- Add local wireguard go import - Activate DAITA and add `wgActivateDaita` and `wgReceiveEvent` FFI - Implement `start_daita` on Wireguard-go tunnel type - Mention DAITA in `wireguard-go-rs` description - Do not compile `wireguard-go-rs` on Windows - Handle DAITA closed on `nil` event - Handle daita action timeouts in libwg - Remove noisy log lines - Remove `maybenot_on_action` callback - Remove unused link to `../build/lib` for `talpid-wireguard` - Bump the `wireguard-go` submodule to a signed release tag in Mullvad's `wireguard-go` fork. - Update path to `libwg/go.sum` in verification script Also: - Use u64 instead of *mut void as log context - Make Tunnel::set_config take a &mut self - Use dyn Error instead of i32s for wg errors Co-authored-by: Joakim Hulthe <joakim@hulthe.net>