1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ead: allow the client to override the source ip of the server, so that it can work with route filtering properly

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13883 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2009-01-06 14:08:07 +00:00
parent 67f1074730
commit 555b1af398
3 changed files with 15 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
#ifndef __EAD_H
#define __EAD_H
#define EAD_DEBUGLEVEL 2
#define EAD_DEBUGLEVEL 1
#include <stdint.h>
#include <stddef.h>
@@ -120,6 +120,7 @@ struct ead_msg {
uint32_t type;
uint16_t nid; /* node id */
uint16_t tid; /* transaction id */
uint32_t ip; /* source ip for responses from the server */
union {
struct ead_msg_pong pong;
struct ead_msg_user user;