summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/sock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pflocal/sock.h b/pflocal/sock.h
index 8b259284..8e8bd3c2 100644
--- a/pflocal/sock.h
+++ b/pflocal/sock.h
@@ -141,6 +141,10 @@ error_t addr_create (struct addr **addr);
sock will have one reference added to it. */
error_t addr_get_sock (struct addr *addr, struct sock **sock);
+/* Try to shutdown any active sockets, returning EBUSY if we can't. Assumes
+ RPCS's have been disabled. */
+error_t sock_goaway (int flags);
+
extern struct port_class *sock_user_port_class;
extern struct port_class *addr_port_class;