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
4d0694ce
Unverified
Commit
4d0694ce
authored
6 years ago
by
Vitaly _Vi Shukela
Browse files
Options
Downloads
Patches
Plain Diff
Add IP[V6]_[RECV]ORIGDSTADDR for Linux and Android
parent
34f1c30d
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
src/unix/notbsd/android/mod.rs
+4
-0
4 additions, 0 deletions
src/unix/notbsd/android/mod.rs
src/unix/notbsd/linux/mod.rs
+4
-0
4 additions, 0 deletions
src/unix/notbsd/linux/mod.rs
with
8 additions
and
0 deletions
src/unix/notbsd/android/mod.rs
+
4
−
0
View file @
4d0694ce
...
...
@@ -1266,6 +1266,10 @@ pub const SFD_NONBLOCK: ::c_int = O_NONBLOCK;
pub
const
SOCK_NONBLOCK
:
::
c_int
=
O_NONBLOCK
;
pub
const
SO_ORIGINAL_DST
:
::
c_int
=
80
;
pub
const
IP_ORIGDSTADDR
:
::
c_int
=
20
;
pub
const
IP_RECVORIGDSTADDR
:
::
c_int
=
IP_ORIGDSTADDR
;
pub
const
IPV6_ORIGDSTADDR
:
::
c_int
=
74
;
pub
const
IPV6_RECVORIGDSTADDR
:
::
c_int
=
IPV6_ORIGDSTADDR
;
pub
const
IUTF8
:
::
tcflag_t
=
0x00004000
;
pub
const
CMSPAR
:
::
tcflag_t
=
0o10000000000
;
pub
const
O_TMPFILE
:
::
c_int
=
0o20000000
|
O_DIRECTORY
;
...
...
This diff is collapsed.
Click to expand it.
src/unix/notbsd/linux/mod.rs
+
4
−
0
View file @
4d0694ce
...
...
@@ -1331,6 +1331,10 @@ pub const FALLOC_FL_UNSHARE_RANGE: ::c_int = 0x40;
pub
const
ENOATTR
:
::
c_int
=
::
ENODATA
;
pub
const
SO_ORIGINAL_DST
:
::
c_int
=
80
;
pub
const
IP_ORIGDSTADDR
:
::
c_int
=
20
;
pub
const
IP_RECVORIGDSTADDR
:
::
c_int
=
IP_ORIGDSTADDR
;
pub
const
IPV6_ORIGDSTADDR
:
::
c_int
=
74
;
pub
const
IPV6_RECVORIGDSTADDR
:
::
c_int
=
IPV6_ORIGDSTADDR
;
pub
const
IUTF8
:
::
tcflag_t
=
0x00004000
;
pub
const
CMSPAR
:
::
tcflag_t
=
0o10000000000
;
...
...
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