Kevin Krakauer
59ccbb1044
Remove centralized registration of protocols.
...
Also removes the need for protocol names.
PiperOrigin-RevId: 271186030
2019-09-25 12:57:05 -07:00
Ian Gudger
747320a7aa
Update remaining users of LinkEndpoints to not refer to them as an ID.
...
PiperOrigin-RevId: 269614517
2019-09-17 11:31:00 -07:00
Tamir Duberstein
573e6e4bba
Use tcpip.Subnet in tcpip.Route
...
This is the first step in replacing some of the redundant types with the
standard library equivalents.
PiperOrigin-RevId: 264706552
2019-08-21 15:31:18 -07:00
Adin Scannell
add40fd6ad
Update canonical repository.
...
This can be merged after:
https://github.com/google/gvisor-website/pull/77
or
https://github.com/google/gvisor-website/pull/78
PiperOrigin-RevId: 253132620
2019-06-13 16:50:15 -07:00
Bhasker Hariharan
85be01b42d
Add multi-fd support to fdbased endpoint.
...
This allows an fdbased endpoint to have multiple underlying fd's from which
packets can be read and dispatched/written to.
This should allow for higher throughput as well as better scalability of the
network stack as number of connections increases.
Updates #231
PiperOrigin-RevId: 251852825
2019-06-06 08:07:02 -07:00
Michael Pratt
4d52a55201
Change copyright notice to "The gVisor Authors"
...
Based on the guidelines at
https://opensource.google.com/docs/releasing/authors/ .
1. $ rg -l "Google LLC" | xargs sed -i 's/Google LLC.*/The gVisor Authors./'
2. Manual fixup of "Google Inc" references.
3. Add AUTHORS file. Authors may request to be added to this file.
4. Point netstack AUTHORS to gVisor AUTHORS. Drop CONTRIBUTORS.
Fixes #209
PiperOrigin-RevId: 245823212
Change-Id: I64530b24ad021a7d683137459cafc510f5ee1de9
2019-04-29 14:26:23 -07:00
Fabricio Voznika
9f8c89fc7f
Return error from fdbased.New
...
RELNOTES: n/a
PiperOrigin-RevId: 244031742
Change-Id: Id0cdb73194018fb5979e67b58510ead19b5a2b81
2019-04-17 11:16:35 -07:00
Kevin Krakauer
23e66ee96d
Remove unused commit() function argument to Bind.
...
PiperOrigin-RevId: 236926132
Change-Id: I5cf103f22766e6e65a581de780c7bb9ca0fa3181
2019-03-05 14:53:34 -08:00
Ian Gudger
8fce67af24
Use correct company name in copyright header
...
PiperOrigin-RevId: 217951017
Change-Id: Ie08bf6987f98467d07457bcf35b5f1ff6e43c035
2018-10-19 16:35:11 -07:00
Googler
fb65b0b471
Change tcpip.Route.Mask to tcpip.AddressMask.
...
PiperOrigin-RevId: 214975659
Change-Id: I7bd31a2c54f03ff52203109da312e4206701c44c
2018-09-28 12:18:15 -07:00
Googler
bbee911179
Allow building on !linux
...
PiperOrigin-RevId: 209819644
Change-Id: I329d054bf8f4999e7db0dcd95b13f7793c65d4e2
2018-08-22 13:31:11 -07:00
Ian Gudger
3cd7824410
Move stack clock to options struct
...
PiperOrigin-RevId: 207039273
Change-Id: Ib8f55a6dc302052ab4a10ccd70b07f0d73b373df
2018-08-01 20:22:02 -07:00
Zhaozhong Ni
beb89bb757
netstack: update goroutine save / restore safety comments.
...
PiperOrigin-RevId: 204930314
Change-Id: Ifc4c41ed28616cd57fafbf7c92e87141a945c41f
2018-07-17 10:15:00 -07:00
Nicolas Lacasse
bf0fa09537
Switch netstack licenses to Apache 2.0.
...
Fixes #27
PiperOrigin-RevId: 203825288
Change-Id: Ie9f3a2b2c1e296b026b024f75c07da1a7e118633
2018-07-09 14:04:40 -07:00
Ian Gudger
3d3deef573
Implement SO_TIMESTAMP
...
PiperOrigin-RevId: 195047018
Change-Id: I6d99528a00a2125f414e1e51e067205289ec9d3d
2018-05-01 22:11:49 -07:00
Googler
d02b74a5dc
Check in gVisor.
...
PiperOrigin-RevId: 194583126
Change-Id: Ica1d8821a90f74e7e745962d71801c598c652463
2018-04-28 01:44:26 -04:00