diff options
Diffstat (limited to 'shared-module/network/__init__.h')
| -rw-r--r-- | shared-module/network/__init__.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shared-module/network/__init__.h b/shared-module/network/__init__.h index 504065979..f4eb05bb5 100644 --- a/shared-module/network/__init__.h +++ b/shared-module/network/__init__.h @@ -25,11 +25,12 @@ * THE SOFTWARE. */ -void network_module_create_random_mac_address(uint8_t *mac); - #ifndef MICROPY_INCLUDED_SHARED_MODULE_NETWORK___INIT___H #define MICROPY_INCLUDED_SHARED_MODULE_NETWORK___INIT___H +void network_module_create_random_mac_address(uint8_t *mac); +uint16_t network_module_create_random_source_tcp_port(void); + #define MOD_NETWORK_IPADDR_BUF_SIZE (4) #define MOD_NETWORK_AF_INET (2) |
