aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket.txt
Commit message (Collapse)AuthorAgeFilesLines
...
* executor: add two slave interfaces for bridge,bond,teamHangbin Liu2018-04-131-1/+1
| | | | | | | | Bridge device is used for forwarding. Bond/team device is used for load balance and fail over. So it would make more sense to add two slave interfaces for these devices. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
* sys/linux: add veth devices to devnamesDmitry Vyukov2018-04-111-1/+1
| | | | Also comment new veth code for future me.
* executor: create team deviceDmitry Vyukov2018-04-061-3/+5
|
* sys/linux: make ifreq template, fix some usagesDmitry Vyukov2018-03-051-19/+7
|
* sys/linux: use size attributes on structsDmitry Vyukov2018-03-051-36/+31
| | | | | | | | | | | 1. Add size attribte on sockaddr. 2. Remove sockaddr's that are larger than 16 bytes from sockaddr. 3. Add size attribute on sockaddr_storage which wasn't actually 128 bytes. 4. Add size attribute to ifreq. 5. Fix ifmap field types as uncovered by the size attributes. 6. Fix sockaddr_storage_tcp from struct to union which is should be. 7. Make sockaddr_un_file fixed size as it should be. 8. Fix some explicit paddings that were only correct for 64 bits.
* sys/linux: a bunch of assorted improvements and fixesDmitry Vyukov2018-03-051-44/+10
|
* sys/linux: remove proc type from network descriptionsDmitry Vyukov2018-02-261-16/+3
| | | | | | | | | | We now always create net namespace for testing, so socket ports and other IDs do not overlap between different test processes. Proc types play badly with squashing packets to ANYBLOB. To squash into a block we need concrete value, but it depends on process id. Removing proc also makes tun setup and address descriptions simpler.
* sys/linux: fix devname_mask alignmentDmitry Vyukov2018-01-241-2/+2
| | | | | | Since we use int64, it has 8-byte alignment. It's wrong, it must have 1-byte alignment. Use int8 instead.
* sys/linux: add netfilter descriptionsDmitry Vyukov2018-01-221-0/+7
| | | | Lots of TODOs and only ipv4, but some start.
* sys/linux: add AF_VSOCK/vhost descriptionsDmitry Vyukov2018-01-191-2/+2
|
* sys/linux: add AF_RDS descriptionsDmitry Vyukov2018-01-191-6/+0
|
* sys/linux: add AF_PPPOX descriptionsDmitry Vyukov2018-01-151-3/+19
|
* sys/linux: add AF_CAN descriptionsDmitry Vyukov2018-01-131-2/+2
|
* executor: setup network devicesDmitry Vyukov2018-01-131-2/+6
| | | | | | We test in a new network namespace, which does not have any devices set up (even lo). Create/up as many devices as possible. Give them some addresses and use these addresses in descriptions.
* sys/linux: resolve few TODOsDmitry Vyukov2018-01-081-2/+0
|
* sys/linux: add type alias for socket portDmitry Vyukov2018-01-081-4/+5
| | | | | | type sock_port proc[20000, 4, int16be] That was repeated a few times.
* sys/linux: fix some copy-paste errorsDmitry Vyukov2017-12-281-3/+1
|
* sys/linux: assorted improvements to descriptionsDmitry Vyukov2017-11-271-1/+2
|
* sys/linux: fix control len in msghdr'sDmitry Vyukov2017-11-271-4/+4
| | | | Contol len is in bytes, not array elements.
* sys/linux: add MSG_ZEROCOPYWillem de Bruijn2017-10-171-2/+2
|
* sys: move linux descriptions to sys/linuxDmitry Vyukov2017-09-151-0/+871