gvisor/pkg
Tony Gong 76c7bc51b7 Set IPv4 ID on all non-atomic datagrams
RFC 6864 imposes various restrictions on the uniqueness of the IPv4
Identification field for non-atomic datagrams, defined as an IP datagram that
either can be fragmented (DF=0) or is already a fragment (MF=1 or positive
fragment offset). In order to be compliant, the ID field is assigned for all
non-atomic datagrams.

Add a TCP unit test that induces retransmissions and checks that the IPv4
ID field is unique every time. Add basic handling of the IP_MTU_DISCOVER
socket option so that the option can be used to disable PMTU discovery,
effectively setting DF=0. Attempting to set the sockopt to anything other
than disabled will fail because PMTU discovery is currently not implemented,
and the default behavior matches that of disabled.

PiperOrigin-RevId: 320081842
2020-07-07 16:14:49 -07:00
..
abi Update preadv2/pwritev2 flag handling in vfs2. 2020-07-01 22:04:42 -07:00
amutex Don't call kernel.Task.Block() from netstack.SocketOperations.Write(). 2020-05-12 12:26:05 -07:00
atomicbitops Automated rollback of changelist 303799678 2020-04-01 11:06:26 -07:00
binary Move Align{Up,Down} into binary package. 2020-02-11 11:09:31 -08:00
bits
bpf Remove various uses of 'whitelist' 2020-06-18 09:03:39 -07:00
buffer Implement splice(2) and tee(2) for VFS2. 2020-05-26 21:43:26 -07:00
cleanup Move Cleanup to its own package 2020-05-28 14:49:06 -07:00
compressio Support for saving pointers to fields in the state package. 2020-06-23 23:34:06 -07:00
context Remove obsolete TODOs for b/38173783 2020-04-13 11:02:14 -07:00
control Standardize on tools directory. 2020-01-27 12:21:00 -08:00
cpuid Remove various uses of 'whitelist' 2020-06-18 09:03:39 -07:00
eventchannel Fix all printf formatting errors. 2020-04-08 10:14:34 -07:00
fd Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fdchannel Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fdnotifier Standardize on tools directory. 2020-01-27 12:21:00 -08:00
flipcall Factor out flipcall mmap for internal use 2020-06-11 12:57:56 -07:00
fspath Port most syscalls to VFS2. 2020-02-25 13:37:34 -08:00
gate Deflake third_party/gvisor/pkg/gate/gate_test 2020-03-18 17:42:29 -07:00
gohacks Support for saving pointers to fields in the state package. 2020-06-23 23:34:06 -07:00
goid
ilist Support for saving pointers to fields in the state package. 2020-06-23 23:34:06 -07:00
linewriter Remove implicit dependencies for leaf packages. 2020-05-20 18:35:32 -07:00
log Remove implicit dependencies for leaf packages. 2020-05-20 18:35:32 -07:00
memutil Standardize on tools directory. 2020-01-27 12:21:00 -08:00
merkletree Add Generate method in merkletree 2020-06-11 13:33:09 -07:00
metric Sentry metrics updates. 2020-04-21 09:36:43 -07:00
p9 Port fallocate to VFS2. 2020-07-01 13:14:44 -07:00
pool Move p9.pool to a separate package 2020-02-06 10:07:45 -08:00
procid Update Go version build tags 2020-05-29 15:44:07 -07:00
rand
refs Standardize on tools directory. 2020-01-27 12:21:00 -08:00
safecopy Don't use REP string instructions in safecopy.memcpy. 2020-04-09 11:03:43 -07:00
safemem Ensure that safemem.BlockSeqOf(safemem.Block{}) produces an empty BlockSeq. 2020-03-04 14:30:27 -08:00
seccomp Remove various uses of 'whitelist' 2020-06-18 09:03:39 -07:00
secio Standardize on tools directory. 2020-01-27 12:21:00 -08:00
segment Implement gap tracking in the segment set. 2020-05-20 22:50:07 -07:00
sentry Fix mknod and inotify syscall test 2020-07-07 15:35:01 -07:00
sleep Update Go version build tags 2020-05-29 15:44:07 -07:00
state Support for saving pointers to fields in the state package. 2020-06-23 23:34:06 -07:00
sync Update Go version build tags 2020-05-29 15:44:07 -07:00
syncevent Update Go version build tags 2020-05-29 15:44:07 -07:00
syserr Standardize on tools directory. 2020-01-27 12:21:00 -08:00
syserror Add //pkg/sentry/fsimpl/overlay. 2020-06-11 18:34:53 -07:00
tcpip Set IPv4 ID on all non-atomic datagrams 2020-07-07 16:14:49 -07:00
test Move mount configutation to RunOpts 2020-06-17 18:43:26 -07:00
unet
urpc Standardize on tools directory. 2020-01-27 12:21:00 -08:00
usermem Implement mmap for host fs in vfs2. 2020-05-19 13:46:42 -07:00
waiter Remove waiter.Entry.Context 2020-06-24 13:56:38 -07:00