Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
577fdc86
Commit
577fdc86
authored
6 years ago
by
bors
Browse files
Options
Downloads
Plain Diff
Auto merge of #1248 - Ralith:flowinfo, r=gnzlbg
Expose IPV6_FLOWINFO* on Linux
parents
dda85056
b59eb6b4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libc-test/build.rs
+12
-1
12 additions, 1 deletion
libc-test/build.rs
src/unix/notbsd/mod.rs
+6
-0
6 additions, 0 deletions
src/unix/notbsd/mod.rs
with
18 additions
and
1 deletion
libc-test/build.rs
+
12
−
1
View file @
577fdc86
...
...
@@ -701,7 +701,18 @@ fn do_ctest() {
"AF_MAX"
|
"PF_MAX"
=>
true
,
// These are not in a glibc release yet, only in kernel headers.
"AF_XDP"
|
"PF_XDP"
|
"SOL_XDP"
if
linux
=>
true
,
"AF_XDP"
|
"PF_XDP"
|
"SOL_XDP"
|
"IPV6_FLOWINFO"
|
"IPV6_FLOWLABEL_MGR"
|
"IPV6_FLOWINFO_SEND"
|
"IPV6_FLOWINFO_FLOWLABEL"
|
"IPV6_FLOWINFO_PRIORITY"
if
linux
=>
{
true
}
// Present on historical versions of iOS, but now removed in more
// recent SDKs
...
...
This diff is collapsed.
Click to expand it.
src/unix/notbsd/mod.rs
+
6
−
0
View file @
577fdc86
...
...
@@ -785,6 +785,7 @@ pub const IP_RECVTOS: ::c_int = 13;
pub
const
IP_ADD_MEMBERSHIP
:
::
c_int
=
35
;
pub
const
IP_DROP_MEMBERSHIP
:
::
c_int
=
36
;
pub
const
IP_TRANSPARENT
:
::
c_int
=
19
;
pub
const
IPV6_FLOWINFO
:
::
c_int
=
11
;
pub
const
IPV6_UNICAST_HOPS
:
::
c_int
=
16
;
pub
const
IPV6_MULTICAST_IF
:
::
c_int
=
17
;
pub
const
IPV6_MULTICAST_HOPS
:
::
c_int
=
18
;
...
...
@@ -792,11 +793,16 @@ pub const IPV6_MULTICAST_LOOP: ::c_int = 19;
pub
const
IPV6_ADD_MEMBERSHIP
:
::
c_int
=
20
;
pub
const
IPV6_DROP_MEMBERSHIP
:
::
c_int
=
21
;
pub
const
IPV6_V6ONLY
:
::
c_int
=
26
;
pub
const
IPV6_FLOWLABEL_MGR
:
::
c_int
=
32
;
pub
const
IPV6_FLOWINFO_SEND
:
::
c_int
=
33
;
pub
const
IPV6_RECVPKTINFO
:
::
c_int
=
49
;
pub
const
IPV6_PKTINFO
:
::
c_int
=
50
;
pub
const
IPV6_RECVTCLASS
:
::
c_int
=
66
;
pub
const
IPV6_TCLASS
:
::
c_int
=
67
;
pub
const
IPV6_FLOWINFO_FLOWLABEL
:
::
c_int
=
0x000fffff
;
pub
const
IPV6_FLOWINFO_PRIORITY
:
::
c_int
=
0x0ff00000
;
pub
const
TCP_NODELAY
:
::
c_int
=
1
;
pub
const
TCP_MAXSEG
:
::
c_int
=
2
;
pub
const
TCP_CORK
:
::
c_int
=
3
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment