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 RAW-IP module. 7 * 8 * Version: @(#)raw.h 1.0.2 05/07/93 9 * 10 * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> 11 * 12 * This program is free software; you can redistribute it and/or 13 * modify it under the terms of the GNU General Public License 14 * as published by the Free Software Foundation; either version 15 * 2 of the License, or (at your option) any later version. 16 */ 17 #ifndef_RAW_H 18 #define_RAW_H 19
20
21 externstructprotoraw_prot;
22
23
24 externvoidraw_err(interr, unsignedchar *header, unsignedlongdaddr,
25 unsignedlongsaddr, structinet_protocol *protocol);
26 externintraw_rcv(structsk_buff *skb, structdevice *dev,
27 structoptions *opt, unsignedlongdaddr,
28 unsignedshortlen, unsignedlongsaddr,
29 intredo, structinet_protocol *protocol);
30 externintraw_recvfrom(structsock *sk, unsignedchar *to,
31 intlen, intnoblock, unsignedflags,
32 structsockaddr_in *sin, int *addr_len);
33 externintraw_read(structsock *sk, unsignedchar *buff,
34 intlen, intnoblock, unsignedflags);
35
36 #endif/* _RAW_H */