Deleted Added
full compact
tcp_syncache.h (193510) tcp_syncache.h (193731)
1/*-
2 * Copyright (c) 1982, 1986, 1993, 1994, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
1/*-
2 * Copyright (c) 1982, 1986, 1993, 1994, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
30 * $FreeBSD: head/sys/netinet/tcp_syncache.h 193510 2009-06-05 14:31:03Z rwatson $
30 * $FreeBSD: head/sys/netinet/tcp_syncache.h 193731 2009-06-08 17:15:40Z zec $
31 */
32
33#ifndef _NETINET_TCP_SYNCACHE_H_
34#define _NETINET_TCP_SYNCACHE_H_
35#ifdef _KERNEL
36
37void syncache_init(void);
31 */
32
33#ifndef _NETINET_TCP_SYNCACHE_H_
34#define _NETINET_TCP_SYNCACHE_H_
35#ifdef _KERNEL
36
37void syncache_init(void);
38#ifdef VIMAGE
39void syncache_destroy(void);
40#endif
38void syncache_unreach(struct in_conninfo *, struct tcphdr *);
39int syncache_expand(struct in_conninfo *, struct tcpopt *,
40 struct tcphdr *, struct socket **, struct mbuf *);
41int tcp_offload_syncache_expand(struct in_conninfo *inc, struct tcpopt *to,
42 struct tcphdr *th, struct socket **lsop, struct mbuf *m);
43void syncache_add(struct in_conninfo *, struct tcpopt *,
44 struct tcphdr *, struct inpcb *, struct socket **, struct mbuf *);
45void tcp_offload_syncache_add(struct in_conninfo *, struct tcpopt *,

--- 77 unchanged lines hidden ---
41void syncache_unreach(struct in_conninfo *, struct tcphdr *);
42int syncache_expand(struct in_conninfo *, struct tcpopt *,
43 struct tcphdr *, struct socket **, struct mbuf *);
44int tcp_offload_syncache_expand(struct in_conninfo *inc, struct tcpopt *to,
45 struct tcphdr *th, struct socket **lsop, struct mbuf *m);
46void syncache_add(struct in_conninfo *, struct tcpopt *,
47 struct tcphdr *, struct inpcb *, struct socket **, struct mbuf *);
48void tcp_offload_syncache_add(struct in_conninfo *, struct tcpopt *,

--- 77 unchanged lines hidden ---