mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02: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:
committed by
Tom Rini
parent
e3dc5924ca
commit
215df01de4
@@ -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)
|
||||
|
Reference in New Issue
Block a user