tcp_syncache.h (8d5719aa74f1d1441ee5ee365d45d53f934e81d6) tcp_syncache.h (cb8d7c44d6acd4f7f6be7f8b762315260f70d896)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1982, 1986, 1993, 1994, 1995
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

129 uint32_t hash_secret;
130 struct vnet *vnet;
131 struct syncookie_secret secret;
132 struct mtx pause_mtx;
133 struct callout pause_co;
134 time_t pause_until;
135 uint8_t pause_backoff;
136 volatile bool paused;
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1982, 1986, 1993, 1994, 1995
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

129 uint32_t hash_secret;
130 struct vnet *vnet;
131 struct syncookie_secret secret;
132 struct mtx pause_mtx;
133 struct callout pause_co;
134 time_t pause_until;
135 uint8_t pause_backoff;
136 volatile bool paused;
137 bool see_other;
137};
138
139/* Internal use for the syncookie functions. */
140union syncookie {
141 uint8_t cookie;
142 struct {
143 uint8_t odd_even:1,
144 sack_ok:1,
145 wscale_idx:3,
146 mss_idx:3;
147 } flags;
148};
149
150#endif /* _KERNEL */
151#endif /* !_NETINET_TCP_SYNCACHE_H_ */
138};
139
140/* Internal use for the syncookie functions. */
141union syncookie {
142 uint8_t cookie;
143 struct {
144 uint8_t odd_even:1,
145 sack_ok:1,
146 wscale_idx:3,
147 mss_idx:3;
148 } flags;
149};
150
151#endif /* _KERNEL */
152#endif /* !_NETINET_TCP_SYNCACHE_H_ */