sctp_asconf.h (172091) | sctp_asconf.h (172190) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31/* $KAME: sctp_asconf.h,v 1.8 2005/03/06 16:04:16 itojun Exp $ */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are met: 6 * 7 * a) Redistributions of source code must retain the above copyright notice, 8 * this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 28 * THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31/* $KAME: sctp_asconf.h,v 1.8 2005/03/06 16:04:16 itojun Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_asconf.h 172091 2007-09-08 17:48:46Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_asconf.h 172190 2007-09-15 19:07:42Z rrs $"); |
35 36#ifndef _NETINET_SCTP_ASCONF_H_ 37#define _NETINET_SCTP_ASCONF_H_ 38 39#if defined(_KERNEL) 40 41/* 42 * function prototypes 43 */ 44extern void sctp_asconf_cleanup(struct sctp_tcb *, struct sctp_nets *); 45 | 35 36#ifndef _NETINET_SCTP_ASCONF_H_ 37#define _NETINET_SCTP_ASCONF_H_ 38 39#if defined(_KERNEL) 40 41/* 42 * function prototypes 43 */ 44extern void sctp_asconf_cleanup(struct sctp_tcb *, struct sctp_nets *); 45 |
46extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *, int *); | 46extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *, int *, int); |
47 48extern void 49sctp_handle_asconf(struct mbuf *, unsigned int, struct sctp_asconf_chunk *, 50 struct sctp_tcb *, int i); 51 52extern void | 47 48extern void 49sctp_handle_asconf(struct mbuf *, unsigned int, struct sctp_asconf_chunk *, 50 struct sctp_tcb *, int i); 51 52extern void |
53sctp_handle_asconf_ack(struct mbuf *, int, 54 struct sctp_asconf_ack_chunk *, struct sctp_tcb *, struct sctp_nets *); | 53sctp_handle_asconf_ack(struct mbuf *, int, struct sctp_asconf_ack_chunk *, 54 struct sctp_tcb *, struct sctp_nets *, int *); |
55 56extern uint32_t 57sctp_addr_mgmt_ep_sa(struct sctp_inpcb *, struct sockaddr *, 58 uint32_t, uint32_t, struct sctp_ifa *); 59 60 61extern int 62sctp_asconf_iterator_ep(struct sctp_inpcb *inp, void *ptr, --- 29 unchanged lines hidden --- | 55 56extern uint32_t 57sctp_addr_mgmt_ep_sa(struct sctp_inpcb *, struct sockaddr *, 58 uint32_t, uint32_t, struct sctp_ifa *); 59 60 61extern int 62sctp_asconf_iterator_ep(struct sctp_inpcb *inp, void *ptr, --- 29 unchanged lines hidden --- |