Skip to content

Commit f80833c

Browse files
authored
Merge pull request #4391 from ningyuan-wang/so-bindtoifindex-android
Define SO_BINDTOIFINDEX on Android
2 parents d0f1abc + efc6949 commit f80833c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/android.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2446,6 +2446,7 @@ SOL_X25
24462446
SOMAXCONN
24472447
SO_ACCEPTCONN
24482448
SO_BINDTODEVICE
2449+
SO_BINDTOIFINDEX
24492450
SO_BROADCAST
24502451
SO_BSDCOMPAT
24512452
SO_BUSY_POLL

src/unix/linux_like/android/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1513,6 +1513,7 @@ pub const SO_PEEK_OFF: c_int = 42;
15131513
pub const SO_BUSY_POLL: c_int = 46;
15141514
pub const SCM_TIMESTAMPING_OPT_STATS: c_int = 54;
15151515
pub const SCM_TIMESTAMPING_PKTINFO: c_int = 58;
1516+
pub const SO_BINDTOIFINDEX: c_int = 62;
15161517
pub const SO_TIMESTAMP_NEW: c_int = 63;
15171518
pub const SO_TIMESTAMPNS_NEW: c_int = 64;
15181519
pub const SO_TIMESTAMPING_NEW: c_int = 65;

0 commit comments

Comments
 (0)