@@ -1917,6 +1917,54 @@ pub const RTAX_STATIC: c_int = 13;
19171917pub const RTAX_SEARCH : c_int = 14 ;
19181918pub const RTAX_MAX : c_int = 15 ;
19191919
1920+ // net/route.h
1921+ pub const RTF_CLONING : :: c_int = 0x100 ;
1922+ pub const RTF_MULTICAST : :: c_int = 0x200 ;
1923+ pub const RTF_LLINFO : :: c_int = 0x400 ;
1924+ pub const RTF_PROTO3 : :: c_int = 0x2000 ;
1925+ pub const RTF_ANNOUNCE : :: c_int = :: RTF_PROTO2 ;
1926+
1927+ pub const RTF_CLONED : :: c_int = 0x10000 ;
1928+ pub const RTF_CACHED : :: c_int = 0x20000 ;
1929+ pub const RTF_MPATH : :: c_int = 0x40000 ;
1930+ pub const RTF_MPLS : :: c_int = 0x100000 ;
1931+ pub const RTF_LOCAL : :: c_int = 0x200000 ;
1932+ pub const RTF_BROADCAST : :: c_int = 0x400000 ;
1933+ pub const RTF_CONNECTED : :: c_int = 0x800000 ;
1934+ pub const RTF_BFD : :: c_int = 0x1000000 ;
1935+ pub const RTF_FMASK : :: c_int = b'\\' as _ ;
1936+
1937+ pub const RTM_VERSION : :: c_int = 5 ;
1938+ pub const RTM_RESOLVE : :: c_int = 0xb ;
1939+ pub const RTM_NEWADDR : :: c_int = 0xc ;
1940+ pub const RTM_DELADDR : :: c_int = 0xd ;
1941+ pub const RTM_IFINFO : :: c_int = 0xe ;
1942+ pub const RTM_IFANNOUNCE : :: c_int = 0xf ;
1943+ pub const RTM_DESYNC : :: c_int = 0x10 ;
1944+ pub const RTM_INVALIDATE : :: c_int = 0x11 ;
1945+ pub const RTM_BFD : :: c_int = 0x12 ;
1946+ pub const RTM_PROPOSAL : :: c_int = 0x13 ;
1947+ pub const RTM_CHGADDRATTR : :: c_int = 0x14 ;
1948+ pub const RTM_80211INFO : :: c_int = 0x15 ;
1949+ pub const RTM_SOURCE : :: c_int = 0x16 ;
1950+
1951+ pub const RTA_SRC : :: c_int = 0x100 ;
1952+ pub const RTA_SRCMASK : :: c_int = 0x200 ;
1953+ pub const RTA_LABEL : :: c_int = 0x400 ;
1954+ pub const RTA_BFD : :: c_int = 0x800 ;
1955+ pub const RTA_DNS : :: c_int = 0x1000 ;
1956+ pub const RTA_STATIC : :: c_int = 0x2000 ;
1957+ pub const RTA_SEARCH : :: c_int = 0x4000 ;
1958+
1959+ pub const RTAX_SRC : :: c_int = 8 ;
1960+ pub const RTAX_SRCMASK : :: c_int = 9 ;
1961+ pub const RTAX_LABEL : :: c_int = 10 ;
1962+ pub const RTAX_BFD : :: c_int = 11 ;
1963+ pub const RTAX_DNS : :: c_int = 12 ;
1964+ pub const RTAX_STATIC : :: c_int = 13 ;
1965+ pub const RTAX_SEARCH : :: c_int = 14 ;
1966+ pub const RTAX_MAX : :: c_int = 15 ;
1967+
19201968const_fn ! {
19211969 { const } fn _ALIGN( p: usize ) -> usize {
19221970 ( p + _ALIGNBYTES) & !_ALIGNBYTES
0 commit comments