mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
net: convert NET_MAXDEFRAG to Kconfig
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
e3dc5924ca
commit
215df01de4
3 changed files with 10 additions and 4 deletions
|
@ -883,9 +883,6 @@ int net_send_ip_packet(uchar *ether, struct in_addr dest, int dport, int sport,
|
|||
* to the algorithm in RFC815. It returns NULL or the pointer to
|
||||
* a complete packet, in static storage
|
||||
*/
|
||||
#ifndef CONFIG_NET_MAXDEFRAG
|
||||
#define CONFIG_NET_MAXDEFRAG 16384
|
||||
#endif
|
||||
#define IP_PKTSIZE (CONFIG_NET_MAXDEFRAG)
|
||||
|
||||
#define IP_MAXUDP (IP_PKTSIZE - IP_HDR_SIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue