Deleted Added
full compact
tcp_offload.h (195654) tcp_offload.h (218909)
1/*-
2 * Copyright (c) 2007, Chelsio Inc.
3 * 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 are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

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

19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 * POSSIBILITY OF SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2007, Chelsio Inc.
3 * 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 are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

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

19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 * POSSIBILITY OF SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/netinet/tcp_offload.h 195654 2009-07-13 11:51:02Z lstewart $
27 * $FreeBSD: head/sys/netinet/tcp_offload.h 218909 2011-02-21 09:01:34Z brucec $
28 */
29
30#ifndef _NETINET_TCP_OFFLOAD_H_
31#define _NETINET_TCP_OFFLOAD_H_
32
33#ifndef _KERNEL
34#error "no user-serviceable parts inside"
35#endif

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

51 * control algorithms it supports as there is currently no API for querying
52 * an operating system for the protocols that it has loaded. This is a desirable
53 * future extension.
54 *
55 *
56 *
57 * It is assumed that individuals deploying TOE will want connections
58 * to be offloaded without software changes so all connections on an
28 */
29
30#ifndef _NETINET_TCP_OFFLOAD_H_
31#define _NETINET_TCP_OFFLOAD_H_
32
33#ifndef _KERNEL
34#error "no user-serviceable parts inside"
35#endif

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

51 * control algorithms it supports as there is currently no API for querying
52 * an operating system for the protocols that it has loaded. This is a desirable
53 * future extension.
54 *
55 *
56 *
57 * It is assumed that individuals deploying TOE will want connections
58 * to be offloaded without software changes so all connections on an
59 * interface providing TOE are offloaded unless the the SO_NO_OFFLOAD
59 * interface providing TOE are offloaded unless the SO_NO_OFFLOAD
60 * flag is set on the socket.
61 *
62 *
63 * The toe_usrreqs structure constitutes the TOE driver's
64 * interface to the TCP stack for functionality that doesn't
65 * interact directly with userspace. If one wants to provide
66 * (optional) functionality to do zero-copy to/from
67 * userspace one still needs to override soreceive/sosend

--- 287 unchanged lines hidden ---
60 * flag is set on the socket.
61 *
62 *
63 * The toe_usrreqs structure constitutes the TOE driver's
64 * interface to the TCP stack for functionality that doesn't
65 * interact directly with userspace. If one wants to provide
66 * (optional) functionality to do zero-copy to/from
67 * userspace one still needs to override soreceive/sosend

--- 287 unchanged lines hidden ---