mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
GSO-Friendly Packet Memory (#175)
This commit is contained in:
parent
2f4629f27d
commit
fecdd10417
11 changed files with 19 additions and 60 deletions
|
@ -974,7 +974,8 @@ struct lsquic_out_spec
|
|||
const struct sockaddr *local_sa;
|
||||
const struct sockaddr *dest_sa;
|
||||
void *peer_ctx;
|
||||
int ecn; /* Valid values are 0 - 3. See RFC 3168 */
|
||||
lsquic_conn_ctx_t *conn_ctx; /* will be NULL when sending out the first batch of handshake packets */
|
||||
int ecn; /* Valid values are 0 - 3. See RFC 3168 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1043,7 +1044,7 @@ struct lsquic_packout_mem_if
|
|||
/**
|
||||
* Allocate buffer for sending.
|
||||
*/
|
||||
void * (*pmi_allocate) (void *pmi_ctx, void *peer_ctx, unsigned short sz,
|
||||
void * (*pmi_allocate) (void *pmi_ctx, void *peer_ctx, lsquic_conn_ctx_t *, unsigned short sz,
|
||||
char is_ipv6);
|
||||
/**
|
||||
* This function is used to release the allocated buffer after it is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue