diff --git a/include/net.h b/include/net.h index 4873000c0d87b1adbb6f871dbce23dd964b19851..1c8ab12454b7e80de56eaaf8572f1fe3899e8957 100644 --- a/include/net.h +++ b/include/net.h @@ -517,6 +517,9 @@ extern ushort getenv_VLAN(char *); /* copy a filename (allow for "..." notation, limit length) */ extern void copy_filename (char *dst, char *src, int size); +/* get a random source port */ +extern unsigned int random_port(void); + /**********************************************************************/ #endif /* __NET_H__ */