sctp_peeloff.h (b652778e426d00b6a1df29bbd86869db86f36e25) | sctp_peeloff.h (a3158782c2d7e3a64a1d7ebb77bf42a4596808ce) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are met: 8 * --- 21 unchanged lines hidden (view full) --- 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> 34__FBSDID("$FreeBSD$"); 35 36#ifndef _NETINET_SCTP_PEELOFF_H_ 37#define _NETINET_SCTP_PEELOFF_H_ | 1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are met: 8 * --- 21 unchanged lines hidden (view full) --- 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> 34__FBSDID("$FreeBSD$"); 35 36#ifndef _NETINET_SCTP_PEELOFF_H_ 37#define _NETINET_SCTP_PEELOFF_H_ |
38 39 40 41 | |
42#if defined(_KERNEL) | 38#if defined(_KERNEL) |
43 | |
44int sctp_can_peel_off(struct socket *, sctp_assoc_t); 45int sctp_do_peeloff(struct socket *, struct socket *, sctp_assoc_t); | 39int sctp_can_peel_off(struct socket *, sctp_assoc_t); 40int sctp_do_peeloff(struct socket *, struct socket *, sctp_assoc_t); |
46struct socket *sctp_get_peeloff(struct socket *, sctp_assoc_t, int *); | |
47 | 41 |
48 49 | |
50#endif /* _KERNEL */ | 42#endif /* _KERNEL */ |
51 52#endif | 43#endif /* _NETINET_SCTP_PEELOFF_H_ */ |