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 #include "sock.h" /* struct sock */ 25
26 externintbackoff(intn);
27
28 externvoidip_print(structiphdr *ip);
29 externintip_ioctl(structsock *sk, intcmd,
30 unsignedlongarg);
31 externvoidip_route_check(unsignedlongdaddr);
32 externintip_build_header(structsk_buff *skb,
33 unsignedlongsaddr,
34 unsignedlongdaddr,
35 structdevice **dev, inttype,
36 structoptions *opt, intlen);
37 externunsignedshortip_compute_csum(unsignedchar * buff, intlen);
38 externintip_rcv(structsk_buff *skb, structdevice *dev,
39 structpacket_type *pt);
40 externvoidip_queue_xmit(structsock *sk,
41 structdevice *dev, structsk_buff *skb,
42 intfree);
43 externvoidip_retransmit(structsock *sk, intall);
44
45 #endif/* _IP_H */