File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -408,10 +408,6 @@ pub const F_SETLKW: ::c_int = 0x7;
408408pub const HUPCL : :: tcflag_t = 0x400 ;
409409pub const ICANON : :: tcflag_t = 0x2 ;
410410pub const IEXTEN : :: tcflag_t = 0x8000 ;
411- pub const IPV6_MULTICAST_HOPS : :: c_int = 0x12 ;
412- pub const IPV6_MULTICAST_IF : :: c_int = 0x11 ;
413- pub const IPV6_UNICAST_HOPS : :: c_int = 0x10 ;
414- pub const IP_MULTICAST_IF : :: c_int = 0x20 ;
415411pub const ISIG : :: tcflag_t = 0x1 ;
416412pub const IUTF8 : :: tcflag_t = 0x4000 ;
417413pub const IXOFF : :: tcflag_t = 0x1000 ;
Original file line number Diff line number Diff line change @@ -891,6 +891,22 @@ pub const TCP_INFO: ::c_int = 11;
891891pub const TCP_QUICKACK : :: c_int = 12 ;
892892pub const TCP_CONGESTION : :: c_int = 13 ;
893893
894+ // Source:
895+ // https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8
896+ // /libc/sysdeps/linux/common/bits/in.h
897+ // Same for all architectures
898+ pub const IPV6_MULTICAST_HOPS : :: c_int = 18 ;
899+ pub const IP_MULTICAST_IF : :: c_int = 32 ;
900+ pub const IPV6_MULTICAST_IF : :: c_int = 17 ;
901+ pub const IPV6_UNICAST_HOPS : :: c_int = 16 ;
902+
903+ // Source:
904+ // https://github.com/kraj/uClibc/tree/ca1c74d67dd115d059a875150e10b8560a9c35a8
905+ // Same for all architectures
906+ pub const FUTEX_WAIT : :: c_int = 0 ;
907+ pub const FUTEX_PRIVATE_FLAG : :: c_int = 128 ;
908+ pub const FUTEX_WAKE : :: c_int = 1 ;
909+
894910pub const IPV6_MULTICAST_LOOP : :: c_int = 19 ;
895911pub const IPV6_V6ONLY : :: c_int = 26 ;
896912
You can’t perform that action at this time.
0 commit comments