algebra.synGiveUpSends
This function gives the SYNs that a connect sends before it gives up: the first SYN and each retransmission (`synGiveUpWaits`). A connect whose SYN does not leave adds each of them to the field `drop` of conntrack, and each retransmission to `TCPRetransFail`.
CLI- Package
- @procedures/algebra · README
- Path
["algebra","synGiveUpSends"]- CLI
mark algebra synGiveUpSends --retries <number> --linear <number>- As data
{"$proc":["algebra","synGiveUpSends"],"input":{}}
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/algebra/register"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["algebra","synGiveUpSends"], { retries: 1, linear: 1 });
console.log(JSON.stringify(result));From the command line
$ mark algebra synGiveUpSends --retries <number> --linear <number>
As data, in a program
{
"$proc": ["algebra", "synGiveUpSends"],
"input": { "retries": 1, "linear": 1 }
}Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
retries | number | yes | ||
linear | number | yes |
Output
The schema does not list fields (number).
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"retries": {
"type": "number"
},
"linear": {
"type": "number"
}
},
"required": [
"retries",
"linear"
],
"additionalProperties": false
},
"output": {
"type": "number"
}
}