Commit graph

14 commits

Author SHA1 Message Date
Marten Seemann
3b5950a1ce use a netip.Addr instead of a net.IP in the packetInfo struct 2023-06-03 10:44:15 +03:00
Marten Seemann
072a602cc1
pass around receivedPacket as struct instead of as pointer (#3823) 2023-06-03 00:08:58 -07:00
Marten Seemann
56432a8b79
ci: run linter on all supported platforms (#3816)
* only define packetInfo.ifIndex on platforms where it's actually used

* fix comment and stylecheck for IP_DONTFRAGMENT on Windows

* fix build flags on test file

* ci: run golangci-lint on multiple platforms
2023-06-02 23:47:05 -07:00
Marten Seemann
5b5ffa942b pack packets into large buffers when GSO is available 2023-06-03 09:21:55 +03:00
Marten Seemann
39ae200972 enable GSO on Linux, if available 2023-06-02 18:35:02 +03:00
Marten Seemann
614fdb3271
only run DPLPMTUD if the connection can send packets with the DF bit set (#3879) 2023-06-02 06:54:34 -07:00
Marten Seemann
74be4d2755 add a function to set the UDP send buffer size
This function is the equivalent to the function used to set the UDP
receive buffer size. It's so similar that code generation is used to
make a copy of the setReceiveBuffer function.
2023-05-08 14:35:21 +03:00
Marten Seemann
600502ab06 simplify connection handling when setting the receive buffer 2023-05-08 14:14:54 +03:00
Marten Seemann
58cedf7a4f
rename module, adjust import paths to quic-go/quic-go (#3680) 2023-01-21 19:53:57 -08:00
Marten Seemann
df762b7552
use the new zero-allocation control message parsing function from x/sys (#3609) 2022-11-04 04:36:46 -07:00
Marten Seemann
5cd5341545
preallocate the message buffers of the ipv4.Message passed to ReadBatch (#3541) 2022-08-30 04:11:43 -07:00
Marten Seemann
ea9de26ed5
drop support for Go 1.16 and 1.17 (#3482) 2022-08-10 03:42:14 -07:00
Marten Seemann
d7ad1b6b9b rename the connection to rawConn 2022-03-27 12:28:43 +01:00
Marten Seemann
3126062aa7 rename files dealing with low level conns to sys_conn 2022-03-27 12:28:41 +01:00
Renamed from conn_oob.go (Browse further)