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
5400c6e6
Commit
5400c6e6
authored
5 years ago
by
leo60228
Browse files
Options
Downloads
Patches
Plain Diff
Add more FreeBSD TCP_ constants
parent
75df0e19
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/unix/newlib/mod.rs
+5
-0
5 additions, 0 deletions
src/unix/newlib/mod.rs
with
5 additions
and
0 deletions
src/unix/newlib/mod.rs
+
5
−
0
View file @
5400c6e6
...
@@ -520,6 +520,11 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
...
@@ -520,6 +520,11 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
pub
const
TCP_NODELAY
:
::
c_int
=
8193
;
pub
const
TCP_NODELAY
:
::
c_int
=
8193
;
pub
const
TCP_MAXSEG
:
::
c_int
=
8194
;
pub
const
TCP_MAXSEG
:
::
c_int
=
8194
;
pub
const
TCP_NOPUSH
:
::
c_int
=
4
;
pub
const
TCP_NOOPT
:
::
c_int
=
8
;
pub
const
TCP_KEEPIDLE
:
::
c_int
=
256
;
pub
const
TCP_KEEPINTVL
:
::
c_int
=
512
;
pub
const
TCP_KEEPCNT
:
::
c_int
=
1024
;
pub
const
IP_TOS
:
::
c_int
=
3
;
pub
const
IP_TOS
:
::
c_int
=
3
;
pub
const
IP_TTL
:
::
c_int
=
8
;
pub
const
IP_TTL
:
::
c_int
=
8
;
...
...
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