diff options
Diffstat (limited to 'econpacket.h')
-rw-r--r-- | econpacket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/econpacket.h b/econpacket.h index fc4aea4..cde0734 100644 --- a/econpacket.h +++ b/econpacket.h @@ -19,6 +19,8 @@ #define _ECONPACKET_H_ #include <stddef.h> +#include <netinet/in.h> + #include "econproto.h" struct econ_packet { @@ -34,6 +36,9 @@ struct econ_packet { /* Holding the previous elements */ struct iovec iov[4]; + + /* For packets that are received via udp. */ + struct sockaddr_in addr; }; void |