diff options
author | hsu <hsu@FreeBSD.org> | 2002-06-14 08:35:21 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2002-06-14 08:35:21 +0000 |
commit | abda76de0b81d58e1eb0e275c4e384fe97cca491 (patch) | |
tree | 4544f6f0f46695f374bc2a22ee6af0eecc9a671f /sys/netinet/udp_var.h | |
parent | 0c8a9db6f99a60d7dd69784a1c0e0f6d254fdcc3 (diff) | |
download | FreeBSD-src-abda76de0b81d58e1eb0e275c4e384fe97cca491.zip FreeBSD-src-abda76de0b81d58e1eb0e275c4e384fe97cca491.tar.gz |
Notify functions can destroy the pcb, so they have to return an
indication of whether this happenned so the calling function
knows whether or not to unlock the pcb.
Submitted by: Jennifer Yang (yangjihui@yahoo.com)
Bug reported by: Sid Carter (sidcarter@symonds.net)
Diffstat (limited to 'sys/netinet/udp_var.h')
-rw-r--r-- | sys/netinet/udp_var.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h index b966396..66db23f 100644 --- a/sys/netinet/udp_var.h +++ b/sys/netinet/udp_var.h @@ -107,7 +107,8 @@ void udp_ctlinput(int, struct sockaddr *, void *); void udp_init(void); void udp_input(struct mbuf *, int); -void udp_notify(struct inpcb *inp, int errno); +struct inpcb * + udp_notify(struct inpcb *inp, int errno); int udp_shutdown(struct socket *so); #endif |