Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_lro.h
/*- | /*- | ||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD | * SPDX-License-Identifier: BSD-2-Clause-FreeBSD | ||||
* | * | ||||
* Copyright (c) 2006, Myricom Inc. | * Copyright (c) 2006, Myricom Inc. | ||||
* Copyright (c) 2008, Intel Corporation. | * Copyright (c) 2008, Intel Corporation. | ||||
* Copyright (c) 2016 Mellanox Technologies. | * Copyright (c) 2016-2021 Mellanox Technologies. | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | ||||
* are met: | * are met: | ||||
* 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | ||||
* notice, this list of conditions and the following disclaimer. | * notice, this list of conditions and the following disclaimer. | ||||
* 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright | ||||
▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
struct inpcb; | struct inpcb; | ||||
struct lro_entry { | struct lro_entry { | ||||
LIST_ENTRY(lro_entry) next; | LIST_ENTRY(lro_entry) next; | ||||
LIST_ENTRY(lro_entry) hash_next; | LIST_ENTRY(lro_entry) hash_next; | ||||
struct mbuf *m_head; | struct mbuf *m_head; | ||||
struct mbuf *m_tail; | struct mbuf *m_tail; | ||||
struct mbuf *m_last_mbuf; | struct mbuf *m_last_mbuf; | ||||
struct mbuf *m_prev_last; | |||||
struct inpcb *inp; | struct inpcb *inp; | ||||
union { | union { | ||||
struct ip *ip4; | struct ip *ip4; | ||||
struct ip6_hdr *ip6; | struct ip6_hdr *ip6; | ||||
} leip; | } leip; | ||||
union { | union { | ||||
in_addr_t s_ip4; | in_addr_t s_ip4; | ||||
struct in6_addr s_ip6; | struct in6_addr s_ip6; | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |