Xenomai  3.1
ip_output.h
1 /***
2  *
3  * include/ipv4/ip_output.h - prepare outgoing IP packets
4  *
5  * RTnet - real-time networking subsystem
6  * Copyright (C) 1999,2000 Zentropic Computing, LLC
7  * 2002 Ulrich Marx <marx@kammer.uni-hannover.de>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22  *
23  */
24 
25 #ifndef __RTNET_IP_OUTPUT_H_
26 #define __RTNET_IP_OUTPUT_H_
27 
28 #include <linux/init.h>
29 
30 #include <rtdev.h>
31 #include <ipv4/route.h>
32 
33 extern int rt_ip_build_xmit(struct rtsocket *sk,
34  int getfrag(const void *, unsigned char *,
35  unsigned int, unsigned int),
36  const void *frag, unsigned length,
37  struct dest_route *rt, int flags);
38 
39 extern void __init rt_ip_init(void);
40 extern void rt_ip_release(void);
41 
42 #endif /* __RTNET_IP_OUTPUT_H_ */