tcp_var.h (191688) | tcp_var.h (193731) |
---|---|
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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95 | 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95 |
30 * $FreeBSD: head/sys/netinet/tcp_var.h 191688 2009-04-30 13:36:26Z zec $ | 30 * $FreeBSD: head/sys/netinet/tcp_var.h 193731 2009-06-08 17:15:40Z zec $ |
31 */ 32 33#ifndef _NETINET_TCP_VAR_H_ 34#define _NETINET_TCP_VAR_H_ 35 36#include <netinet/tcp.h> 37 38struct vnet; --- 540 unchanged lines hidden (view full) --- 579void tcp_twclose(struct tcptw *_tw, int _reuse); 580void tcp_ctlinput(int, struct sockaddr *, void *); 581int tcp_ctloutput(struct socket *, struct sockopt *); 582struct tcpcb * 583 tcp_drop(struct tcpcb *, int); 584void tcp_drain(void); 585void tcp_fasttimo(void); 586void tcp_init(void); | 31 */ 32 33#ifndef _NETINET_TCP_VAR_H_ 34#define _NETINET_TCP_VAR_H_ 35 36#include <netinet/tcp.h> 37 38struct vnet; --- 540 unchanged lines hidden (view full) --- 579void tcp_twclose(struct tcptw *_tw, int _reuse); 580void tcp_ctlinput(int, struct sockaddr *, void *); 581int tcp_ctloutput(struct socket *, struct sockopt *); 582struct tcpcb * 583 tcp_drop(struct tcpcb *, int); 584void tcp_drain(void); 585void tcp_fasttimo(void); 586void tcp_init(void); |
587#ifdef VIMAGE 588void tcp_destroy(void); 589#endif |
|
587void tcp_fini(void *); 588char *tcp_log_addrs(struct in_conninfo *, struct tcphdr *, void *, 589 const void *); 590int tcp_reass(struct tcpcb *, struct tcphdr *, int *, struct mbuf *); 591void tcp_reass_init(void); 592void tcp_input(struct mbuf *, int); 593u_long tcp_maxmtu(struct in_conninfo *, int *); 594u_long tcp_maxmtu6(struct in_conninfo *, int *); --- 5 unchanged lines hidden (view full) --- 600struct inpcb * 601 tcp_mtudisc(struct inpcb *, int); 602struct tcpcb * 603 tcp_newtcpcb(struct inpcb *); 604int tcp_output(struct tcpcb *); 605void tcp_respond(struct tcpcb *, void *, 606 struct tcphdr *, struct mbuf *, tcp_seq, tcp_seq, int); 607void tcp_tw_init(void); | 590void tcp_fini(void *); 591char *tcp_log_addrs(struct in_conninfo *, struct tcphdr *, void *, 592 const void *); 593int tcp_reass(struct tcpcb *, struct tcphdr *, int *, struct mbuf *); 594void tcp_reass_init(void); 595void tcp_input(struct mbuf *, int); 596u_long tcp_maxmtu(struct in_conninfo *, int *); 597u_long tcp_maxmtu6(struct in_conninfo *, int *); --- 5 unchanged lines hidden (view full) --- 603struct inpcb * 604 tcp_mtudisc(struct inpcb *, int); 605struct tcpcb * 606 tcp_newtcpcb(struct inpcb *); 607int tcp_output(struct tcpcb *); 608void tcp_respond(struct tcpcb *, void *, 609 struct tcphdr *, struct mbuf *, tcp_seq, tcp_seq, int); 610void tcp_tw_init(void); |
611#ifdef VIMAGE 612void tcp_tw_destroy(void); 613#endif |
|
608void tcp_tw_zone_change(void); 609int tcp_twcheck(struct inpcb *, struct tcpopt *, struct tcphdr *, 610 struct mbuf *, int); 611int tcp_twrespond(struct tcptw *, int); 612void tcp_setpersist(struct tcpcb *); 613#ifdef TCP_SIGNATURE 614int tcp_signature_compute(struct mbuf *, int, int, int, u_char *, u_int); 615#endif --- 4 unchanged lines hidden (view full) --- 620void tcp_timer_activate(struct tcpcb *, int, u_int); 621int tcp_timer_active(struct tcpcb *, int); 622void tcp_trace(short, short, struct tcpcb *, void *, struct tcphdr *, int); 623void tcp_xmit_bandwidth_limit(struct tcpcb *tp, tcp_seq ack_seq); 624/* 625 * All tcp_hc_* functions are IPv4 and IPv6 (via in_conninfo) 626 */ 627void tcp_hc_init(void); | 614void tcp_tw_zone_change(void); 615int tcp_twcheck(struct inpcb *, struct tcpopt *, struct tcphdr *, 616 struct mbuf *, int); 617int tcp_twrespond(struct tcptw *, int); 618void tcp_setpersist(struct tcpcb *); 619#ifdef TCP_SIGNATURE 620int tcp_signature_compute(struct mbuf *, int, int, int, u_char *, u_int); 621#endif --- 4 unchanged lines hidden (view full) --- 626void tcp_timer_activate(struct tcpcb *, int, u_int); 627int tcp_timer_active(struct tcpcb *, int); 628void tcp_trace(short, short, struct tcpcb *, void *, struct tcphdr *, int); 629void tcp_xmit_bandwidth_limit(struct tcpcb *tp, tcp_seq ack_seq); 630/* 631 * All tcp_hc_* functions are IPv4 and IPv6 (via in_conninfo) 632 */ 633void tcp_hc_init(void); |
634#ifdef VIMAGE 635void tcp_hc_destroy(void); 636#endif |
|
628void tcp_hc_get(struct in_conninfo *, struct hc_metrics_lite *); 629u_long tcp_hc_getmtu(struct in_conninfo *); 630void tcp_hc_updatemtu(struct in_conninfo *, u_long); 631void tcp_hc_update(struct in_conninfo *, struct hc_metrics_lite *); 632 633extern struct pr_usrreqs tcp_usrreqs; 634extern u_long tcp_sendspace; 635extern u_long tcp_recvspace; --- 15 unchanged lines hidden --- | 637void tcp_hc_get(struct in_conninfo *, struct hc_metrics_lite *); 638u_long tcp_hc_getmtu(struct in_conninfo *); 639void tcp_hc_updatemtu(struct in_conninfo *, u_long); 640void tcp_hc_update(struct in_conninfo *, struct hc_metrics_lite *); 641 642extern struct pr_usrreqs tcp_usrreqs; 643extern u_long tcp_sendspace; 644extern u_long tcp_recvspace; --- 15 unchanged lines hidden --- |