mirror of
https://passt.top/passt
synced 2025-05-29 04:35:33 +02:00
udp: Move UDP_MAX_FRAMES to udp.c
Recent changes mean that this define is no longer used anywhere except in udp.c. Move it back into udp.c from udp_internal.h. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
fc6ee68ad3
commit
fd844a90bc
2 changed files with 2 additions and 2 deletions
2
udp.c
2
udp.c
|
@ -116,6 +116,8 @@
|
|||
#include "udp_internal.h"
|
||||
#include "udp_vu.h"
|
||||
|
||||
#define UDP_MAX_FRAMES 32 /* max # of frames to receive at once */
|
||||
|
||||
/* Maximum UDP data to be returned in ICMP messages */
|
||||
#define ICMP4_MAX_DLEN 8
|
||||
#define ICMP6_MAX_DLEN (IPV6_MIN_MTU \
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
|
||||
#include "tap.h" /* needed by udp_meta_t */
|
||||
|
||||
#define UDP_MAX_FRAMES 32 /* max # of frames to receive at once */
|
||||
|
||||
/**
|
||||
* struct udp_payload_t - UDP header and data for inbound messages
|
||||
* @uh: UDP header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue