patch-2.1.15 linux/include/net/udp.h
Next file: linux/init/main.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Dec 12 16:54:21 1996
- Orig file:
v2.1.14/linux/include/net/udp.h
- Orig date:
Sat Nov 30 12:03:12 1996
diff -u --recursive --new-file v2.1.14/linux/include/net/udp.h linux/include/net/udp.h
@@ -31,21 +31,13 @@
extern struct proto udp_prot;
-extern void udp_err(int type, int code, unsigned char *header,
- __u32 info, __u32 daddr, __u32 saddr,
- struct inet_protocol *protocol, int len);
-extern void udp_send_check(struct udphdr *uh, __u32 saddr,
- __u32 daddr, int len, struct sock *sk);
+extern void udp_err(struct sk_buff *, unsigned char *);
extern int udp_connect(struct sock *sk,
struct sockaddr *usin, int addr_len);
-extern int udp_sendmsg(struct sock *sk, struct msghdr *msg,
- int len, int noblock, int flags);
+extern int udp_sendmsg(struct sock *sk, struct msghdr *msg, int len);
-extern int udp_rcv(struct sk_buff *skb, struct device *dev,
- struct options *opt, __u32 daddr,
- unsigned short len, __u32 saddr, int redo,
- struct inet_protocol *protocol);
+extern int udp_rcv(struct sk_buff *skb, unsigned short len);
extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
extern void udp_cache_zap(void); /* Remove udp last socket cache */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov