|
|
|
|
@ -40,7 +40,7 @@ struct PKTNORM* pn_init(struct ETCP_CONN* etcp) {
|
|
|
|
|
|
|
|
|
|
pn->etcp = etcp; |
|
|
|
|
pn->ua = etcp->instance->ua; |
|
|
|
|
pn->frag_size = etcp->mtu - 100; // Use MTU as fixed packet size (adjust if headers need subtraction)
|
|
|
|
|
pn->frag_size = etcp->mtu - ACK_REZERV - UDP_HDR_SIZE - UDP_SC_HDR_SIZE; // Use MTU as fixed packet size (adjust if headers need subtraction)
|
|
|
|
|
pn->tx_wait_time = 10; |
|
|
|
|
|
|
|
|
|
pn->input = queue_new(pn->ua, 0, "pn_input"); // No hash needed
|
|
|
|
|
|