Import 2.1.15
[davej-history.git] / include / net / udp.h
blobaedde17a57ae320ffd8bd857d5e4af280c851684
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.
6 * Definitions for the UDP module.
8 * Version: @(#)udp.h 1.0.2 05/07/93
10 * Authors: Ross Biro, <bir7@leland.Stanford.Edu>
11 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
13 * Fixes:
14 * Alan Cox : Turned on udp checksums. I don't want to
15 * chase 'memory corruption' bugs that aren't!
17 * This program is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU General Public License
19 * as published by the Free Software Foundation; either version
20 * 2 of the License, or (at your option) any later version.
22 #ifndef _UDP_H
23 #define _UDP_H
25 #include <linux/udp.h>
28 #define UDP_NO_CHECK 0
31 externstruct proto udp_prot;
34 externvoidudp_err(struct sk_buff *,unsigned char*);
35 externintudp_connect(struct sock *sk,
36 struct sockaddr *usin,int addr_len);
38 externintudp_sendmsg(struct sock *sk,struct msghdr *msg,int len);
40 externintudp_rcv(struct sk_buff *skb,unsigned short len);
41 externintudp_ioctl(struct sock *sk,int cmd,unsigned long arg);
42 externvoidudp_cache_zap(void);/* Remove udp last socket cache */
44 /* CONFIG_IP_TRANSPARENT_PROXY */
45 externintudp_chkaddr(struct sk_buff *skb);
47 #endif/* _UDP_H */
close