X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fnet.h;h=1c8ab12454b7e80de56eaaf8572f1fe3899e8957;hb=01471d538fb163f472a769f21267d7676c91267c;hp=4873000c0d87b1adbb6f871dbce23dd964b19851;hpb=9e4623a0addf58fe4fd389fbdd559c179146f4a0;p=oweals%2Fu-boot.git diff --git a/include/net.h b/include/net.h index 4873000c0d..1c8ab12454 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__ */