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(inttype, intcode, unsignedchar *header, __u32daddr,
25 __u32saddr, structinet_protocol *protocol);
26 externint raw_recvfrom(structsock *sk, unsignedchar *to,
27 intlen, intnoblock, unsignedflags,
28 structsockaddr_in *sin, int *addr_len);
29 externintraw_read(structsock *sk, unsignedchar *buff,
30 intlen, intnoblock, unsignedflags);
31 externintraw_rcv(structsock *, structsk_buff *, structdevice *,
32 __u32, __u32);
33
34 #endif/* _RAW_H */