etc/services - sync with NetBSD-8
[minix.git] / minix / net / lwip / tcpisn.h
blobb7a2b60eda8fe763d27c0c443bda62406dacac9a
1 #ifndef MINIX_NET_LWIP_TCPISN_H
2 #define MINIX_NET_LWIP_TCPISN_H
4 /*
5 * Length, in bytes, of the secret (random seed) that is used as part of the
6 * input to the hashing function that generates TCP Initial Sequence Numbers.
7 */
8 #define TCPISN_SECRET_LENGTH 16
11 * Size of the hexadecimal-string representation of the secret, including
12 * trailing null terminator.
14 #define TCPISN_SECRET_HEX_LENGTH (TCPISN_SECRET_LENGTH * 2 + 1)
16 void tcpisn_init(void);
17 ssize_t tcpisn_secret(struct rmib_call * call, struct rmib_node * node,
18 struct rmib_oldp * oldp, struct rmib_newp * newp);
20 #endif /* !MINIX_NET_LWIP_TCPISN_H */