1 #ifndef MINIX_NET_LWIP_TCPISN_H 2 #define MINIX_NET_LWIP_TCPISN_H 3 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 9 10 /* 11 * Size of the hexadecimal-string representation of the secret, including 12 * trailing null terminator. 13 */ 14 #define TCPISN_SECRET_HEX_LENGTH (TCPISN_SECRET_LENGTH * 2 + 1) 15 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); 19 20 #endif /* !MINIX_NET_LWIP_TCPISN_H */ 21