root/include/net/raw.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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 extern struct proto raw_prot;
  22 
  23 
  24 extern void     raw_err(int type, int code, unsigned char *header, __u32 daddr,
  25                         __u32 saddr, struct inet_protocol *protocol);
  26 extern int      raw_recvfrom(struct sock *sk, unsigned char *to,
  27                         int len, int noblock, unsigned flags,
  28                         struct sockaddr_in *sin, int *addr_len);
  29 extern int      raw_read(struct sock *sk, unsigned char *buff,
  30                         int len, int noblock, unsigned flags);
  31 extern int      raw_rcv(struct sock *, struct sk_buff *, struct device *, 
  32                         __u32, __u32);
  33 
  34 #endif  /* _RAW_H */

/* [previous][next][first][last][top][bottom][index][help] */