diff options
author | Sean Anderson <seanga2@gmail.com> | 2023-10-14 16:47:52 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-17 20:50:52 -0400 |
commit | 7ccc6044e964829459fa089da01b742a442df65e (patch) | |
tree | aa4d5ffe4f0460347c9c3a98c59fa4e2488f005d /net/bootp.h | |
parent | 7d04986adf299624aba3015515b446c822b475a4 (diff) | |
download | u-boot-7ccc6044e964829459fa089da01b742a442df65e.tar.gz |
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>
Diffstat (limited to 'net/bootp.h')
-rw-r--r-- | net/bootp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bootp.h b/net/bootp.h index 567340ec5d4..4e32b19d424 100644 --- a/net/bootp.h +++ b/net/bootp.h @@ -15,6 +15,9 @@ /**********************************************************************/ +#define PORT_BOOTPS 67 /* BOOTP server UDP port */ +#define PORT_BOOTPC 68 /* BOOTP client UDP port */ + /* * BOOTP header. */ |