root/net/inet/ip.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 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 extern int              backoff(int n);
  27 
  28 extern void             ip_print(struct iphdr *ip);
  29 extern int              ip_ioctl(struct sock *sk, int cmd,
  30                                  unsigned long arg);
  31 extern void             ip_route_check(unsigned long daddr);
  32 extern int              ip_build_header(struct sk_buff *skb,
  33                                         unsigned long saddr,
  34                                         unsigned long daddr,
  35                                         struct device **dev, int type,
  36                                         struct options *opt, int len);
  37 extern unsigned short   ip_compute_csum(unsigned char * buff, int len);
  38 extern int              ip_rcv(struct sk_buff *skb, struct device *dev,
  39                                struct packet_type *pt);
  40 extern void             ip_queue_xmit(struct sock *sk,
  41                                       struct device *dev, struct sk_buff *skb,
  42                                       int free);
  43 extern void             ip_retransmit(struct sock *sk, int all);
  44 
  45 #endif  /* _IP_H */

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