Skip to content

Commit 9458a0e

Browse files
committed
add IP_TOS and IP_RECVTOS fuschia APIs
1 parent 392d28c commit 9458a0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libc-test/semver/fuchsia.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ IPPROTO_UDPLITE
372372
IPV6_ADD_MEMBERSHIP
373373
IPV6_DROP_MEMBERSHIP
374374
IP_FREEBIND
375+
IP_TOS
376+
IP_RECVTOS
375377
IP_HDRINCL
376378
IP_TRANSPARENT
377379
ITIMER_PROF

src/fuchsia/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,8 +1768,10 @@ pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP;
17681768
pub const SOCK_RAW: ::c_int = 3;
17691769
pub const SOCK_RDM: ::c_int = 4;
17701770

1771+
pub const IP_TOS: ::c_int = 1;
17711772
pub const IP_TTL: ::c_int = 2;
17721773
pub const IP_HDRINCL: ::c_int = 3;
1774+
pub const IP_RECVTOS: ::c_int = 13;
17731775
pub const IP_FREEBIND: ::c_int = 15;
17741776
pub const IP_TRANSPARENT: ::c_int = 19;
17751777
pub const IP_MULTICAST_IF: ::c_int = 32;

0 commit comments

Comments
 (0)