Project

General

Profile

Bug #202 ยป 0001-Fix-maximum-payload-size-to-UDP-constraints.patch

Hans-Werner Hilse, 05/11/2015 11:55 PM

View differences:

alfred.h
137 137
#define debugMalloc(size, num)	malloc(size)
138 138
#define debugFree(ptr, num)	free(ptr)
139 139

  
140
#define MAX_PAYLOAD ((1 << 16) - 1)
140
/* UDP packet size is max. 65535, including the UDP header itself */
141
#define MAX_PAYLOAD (65535 - 8)
141 142

  
142 143
extern const struct in6_addr in6addr_localmcast;
143 144

  
144
- 
    (1-1/1)