1 /* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Definitions for the IP module. 7 * 8 * Version: @(#)ip.h 1.0.2 05/07/93 9 * 10 * Authors: Ross Biro, <bir7@leland.Stanford.Edu> 11 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> 12 * 13 * This program is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU General Public License 15 * as published by the Free Software Foundation; either version 16 * 2 of the License, or (at your option) any later version. 17 */ 18 #ifndef_IP_H 19 #define_IP_H 20
21
22 #include <linux/ip.h>
23
24 externintbackoff(intn);
25
26 externvoidip_print(structiphdr *ip);
27 externintip_ioctl(structsock *sk, intcmd,
28 unsignedlongarg);
29 externvoidip_route_check(unsignedlongdaddr);
30 externintip_build_header(structsk_buff *skb,
31 unsignedlongsaddr,
32 unsignedlongdaddr,
33 structdevice **dev, inttype,
34 structoptions *opt, intlen);
35 externunsignedshortip_compute_csum(unsignedchar * buff, intlen);
36 externintip_rcv(structsk_buff *skb, structdevice *dev,
37 structpacket_type *pt);
38 externvoidip_queue_xmit(structsock *sk,
39 structdevice *dev, structsk_buff *skb,
40 intfree);
41 externvoidip_retransmit(structsock *sk, intall);
42
43 #endif/* _IP_H */