sctp_output.h (244021) | sctp_output.h (246595) |
---|---|
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 * --- 17 unchanged lines hidden (view full) --- 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.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 * --- 17 unchanged lines hidden (view full) --- 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.h 244021 2012-12-08 08:22:33Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.h 246595 2013-02-09 17:26:14Z tuexen $"); |
35 36#ifndef _NETINET_SCTP_OUTPUT_H_ 37#define _NETINET_SCTP_OUTPUT_H_ 38 39#include <netinet/sctp_header.h> 40 41#if defined(_KERNEL) || defined(__Userspace__) 42 --- 7 unchanged lines hidden (view full) --- 50 uint16_t * padding_len, uint16_t * chunk_len); 51 52 53int sctp_is_addr_restricted(struct sctp_tcb *, struct sctp_ifa *); 54 55 56int 57sctp_is_address_in_scope(struct sctp_ifa *ifa, | 35 36#ifndef _NETINET_SCTP_OUTPUT_H_ 37#define _NETINET_SCTP_OUTPUT_H_ 38 39#include <netinet/sctp_header.h> 40 41#if defined(_KERNEL) || defined(__Userspace__) 42 --- 7 unchanged lines hidden (view full) --- 50 uint16_t * padding_len, uint16_t * chunk_len); 51 52 53int sctp_is_addr_restricted(struct sctp_tcb *, struct sctp_ifa *); 54 55 56int 57sctp_is_address_in_scope(struct sctp_ifa *ifa, |
58 int ipv4_addr_legal, 59 int ipv6_addr_legal, 60 int loopback_scope, 61 int ipv4_local_scope, 62 int local_scope, 63 int site_scope, | 58 struct sctp_scoping *scope, |
64 int do_update); | 59 int do_update); |
60 |
|
65int 66 sctp_is_addr_in_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa); 67 68struct sctp_ifa * 69sctp_source_address_selection(struct sctp_inpcb *inp, 70 struct sctp_tcb *stcb, 71 sctp_route_t * ro, struct sctp_nets *net, 72 int non_asoc_addr_ok, uint32_t vrf_id); --- 145 unchanged lines hidden --- | 61int 62 sctp_is_addr_in_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa); 63 64struct sctp_ifa * 65sctp_source_address_selection(struct sctp_inpcb *inp, 66 struct sctp_tcb *stcb, 67 sctp_route_t * ro, struct sctp_nets *net, 68 int non_asoc_addr_ok, uint32_t vrf_id); --- 145 unchanged lines hidden --- |