xref: /haiku/src/add-ons/kernel/network/stack/simple_net_buffer.h (revision 893988af824e65e49e55f517b157db8386e8002b)
1 /*
2  * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef SIMPLE_NET_BUFFER_H
6 #define SIMPLE_NET_BUFFER_H
7 
8 #include <net_buffer.h>
9 
10 
11 struct simple_net_buffer : net_buffer {
12 	uint8*				data;
13 
14 	struct {
15 		struct sockaddr_storage source;
16 		struct sockaddr_storage destination;
17 	} storage;
18 };
19 
20 
21 extern net_buffer_module_info gSimpleNetBufferModule;
22 
23 
24 #endif	// SIMPLE_NET_BUFFER_H
25