mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 22:14:54 +00:00
net: bootp: Move port numbers to header
These defines are useful when testing bootp. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
7d04986adf
commit
7ccc6044e9
2 changed files with 3 additions and 3 deletions
|
@ -41,9 +41,6 @@
|
||||||
*/
|
*/
|
||||||
#define TIMEOUT_MS ((3 + (CONFIG_NET_RETRY_COUNT * 5)) * 1000)
|
#define TIMEOUT_MS ((3 + (CONFIG_NET_RETRY_COUNT * 5)) * 1000)
|
||||||
|
|
||||||
#define PORT_BOOTPS 67 /* BOOTP server UDP port */
|
|
||||||
#define PORT_BOOTPC 68 /* BOOTP client UDP port */
|
|
||||||
|
|
||||||
#ifndef CFG_DHCP_MIN_EXT_LEN /* minimal length of extension list */
|
#ifndef CFG_DHCP_MIN_EXT_LEN /* minimal length of extension list */
|
||||||
#define CFG_DHCP_MIN_EXT_LEN 64
|
#define CFG_DHCP_MIN_EXT_LEN 64
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
|
|
||||||
/**********************************************************************/
|
/**********************************************************************/
|
||||||
|
|
||||||
|
#define PORT_BOOTPS 67 /* BOOTP server UDP port */
|
||||||
|
#define PORT_BOOTPC 68 /* BOOTP client UDP port */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BOOTP header.
|
* BOOTP header.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue