tcp_var.h (242b24828472137ec4411826b86e753d49bd2c39) tcp_var.h (bd79708dbffde195226ade494aa72c345328e745)
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

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

744#define V_tcp_do_sack VNET(tcp_do_sack)
745#define V_tcp_sc_rst_sock_fail VNET(tcp_sc_rst_sock_fail)
746
747VNET_DECLARE(int, tcp_do_ecn); /* TCP ECN enabled/disabled */
748VNET_DECLARE(int, tcp_ecn_maxretries);
749#define V_tcp_do_ecn VNET(tcp_do_ecn)
750#define V_tcp_ecn_maxretries VNET(tcp_ecn_maxretries)
751
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

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

744#define V_tcp_do_sack VNET(tcp_do_sack)
745#define V_tcp_sc_rst_sock_fail VNET(tcp_sc_rst_sock_fail)
746
747VNET_DECLARE(int, tcp_do_ecn); /* TCP ECN enabled/disabled */
748VNET_DECLARE(int, tcp_ecn_maxretries);
749#define V_tcp_do_ecn VNET(tcp_do_ecn)
750#define V_tcp_ecn_maxretries VNET(tcp_ecn_maxretries)
751
752#ifdef TCP_HHOOK
752VNET_DECLARE(struct hhook_head *, tcp_hhh[HHOOK_TCP_LAST + 1]);
753#define V_tcp_hhh VNET(tcp_hhh)
753VNET_DECLARE(struct hhook_head *, tcp_hhh[HHOOK_TCP_LAST + 1]);
754#define V_tcp_hhh VNET(tcp_hhh)
755#endif
754
755VNET_DECLARE(int, tcp_do_rfc6675_pipe);
756#define V_tcp_do_rfc6675_pipe VNET(tcp_do_rfc6675_pipe)
757
758int tcp_addoptions(struct tcpopt *, u_char *);
759int tcp_ccalgounload(struct cc_algo *unload_algo);
760struct tcpcb *
761 tcp_close(struct tcpcb *);

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

783 struct tcphdr *, struct mbuf *, int);
784void tcp_xmit_timer(struct tcpcb *, int);
785void tcp_newreno_partial_ack(struct tcpcb *, struct tcphdr *);
786void cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
787 uint16_t nsegs, uint16_t type);
788void cc_conn_init(struct tcpcb *tp);
789void cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
790void cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type);
756
757VNET_DECLARE(int, tcp_do_rfc6675_pipe);
758#define V_tcp_do_rfc6675_pipe VNET(tcp_do_rfc6675_pipe)
759
760int tcp_addoptions(struct tcpopt *, u_char *);
761int tcp_ccalgounload(struct cc_algo *unload_algo);
762struct tcpcb *
763 tcp_close(struct tcpcb *);

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

785 struct tcphdr *, struct mbuf *, int);
786void tcp_xmit_timer(struct tcpcb *, int);
787void tcp_newreno_partial_ack(struct tcpcb *, struct tcphdr *);
788void cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
789 uint16_t nsegs, uint16_t type);
790void cc_conn_init(struct tcpcb *tp);
791void cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
792void cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type);
793#ifdef TCP_HHOOK
791void hhook_run_tcp_est_in(struct tcpcb *tp,
792 struct tcphdr *th, struct tcpopt *to);
794void hhook_run_tcp_est_in(struct tcpcb *tp,
795 struct tcphdr *th, struct tcpopt *to);
796#endif
793
794int tcp_input(struct mbuf **, int *, int);
795void tcp_do_segment(struct mbuf *, struct tcphdr *,
796 struct socket *, struct tcpcb *, int, int, uint8_t,
797 int);
798
799int register_tcp_functions(struct tcp_function_block *blk, int wait);
800int deregister_tcp_functions(struct tcp_function_block *blk);

--- 95 unchanged lines hidden ---
797
798int tcp_input(struct mbuf **, int *, int);
799void tcp_do_segment(struct mbuf *, struct tcphdr *,
800 struct socket *, struct tcpcb *, int, int, uint8_t,
801 int);
802
803int register_tcp_functions(struct tcp_function_block *blk, int wait);
804int deregister_tcp_functions(struct tcp_function_block *blk);

--- 95 unchanged lines hidden ---