tcp_var.h (b6919741b7479fab6886ae76ec151f4103bcf350) tcp_var.h (859f0f0d6bf753c16caa0103a541c69fb6bd5e37)
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

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

629 int (*tfb_compute_pipe)(struct tcpcb *tp);
630 int (*tfb_stack_info)(struct tcpcb *tp, struct stack_specific_info *);
631 void (*tfb_inherit)(struct tcpcb *tp, struct inpcb *h_inp);
632 volatile uint32_t tfb_refcnt;
633 uint32_t tfb_flags;
634 uint8_t tfb_id;
635};
636
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

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

629 int (*tfb_compute_pipe)(struct tcpcb *tp);
630 int (*tfb_stack_info)(struct tcpcb *tp, struct stack_specific_info *);
631 void (*tfb_inherit)(struct tcpcb *tp, struct inpcb *h_inp);
632 volatile uint32_t tfb_refcnt;
633 uint32_t tfb_flags;
634 uint8_t tfb_id;
635};
636
637/* Maximum number of names each TCP function block can be registered with. */
638#define TCP_FUNCTION_NAME_NUM_MAX 8
639
637struct tcp_function {
638 TAILQ_ENTRY(tcp_function) tf_next;
639 char tf_name[TCP_FUNCTION_NAME_LEN_MAX];
640 struct tcp_function_block *tf_fb;
641};
642
643TAILQ_HEAD(tcp_funchead, tcp_function);
644

--- 934 unchanged lines hidden ---
640struct tcp_function {
641 TAILQ_ENTRY(tcp_function) tf_next;
642 char tf_name[TCP_FUNCTION_NAME_LEN_MAX];
643 struct tcp_function_block *tf_fb;
644};
645
646TAILQ_HEAD(tcp_funchead, tcp_function);
647

--- 934 unchanged lines hidden ---