The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netinet/sctp_dtrace_declare.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * SPDX-License-Identifier: BSD-3-Clause
    3  *
    4  * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
    5  * Copyright (c) 2008-2012, by Michael Tuexen. 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 are met:
    9  *
   10  * a) Redistributions of source code must retain the above copyright notice,
   11  *    this list of conditions and the following disclaimer.
   12  *
   13  * b) Redistributions in binary form must reproduce the above copyright
   14  *    notice, this list of conditions and the following disclaimer in
   15  *    the documentation and/or other materials provided with the distribution.
   16  *
   17  * c) Neither the name of Cisco Systems, Inc. nor the names of its
   18  *    contributors may be used to endorse or promote products derived
   19  *    from this software without specific prior written permission.
   20  *
   21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
   22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
   23  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   24  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
   31  * THE POSSIBILITY OF SUCH DAMAGE.
   32  */
   33 
   34 #include <sys/cdefs.h>
   35 __FBSDID("$FreeBSD: releng/12.0/sys/netinet/sctp_dtrace_declare.h 326023 2017-11-20 19:43:44Z pfg $");
   36 
   37 #ifndef _NETINET_SCTP_DTRACE_DECLARE_H_
   38 #define _NETINET_SCTP_DTRACE_DECLARE_H_
   39 
   40 #include <sys/kernel.h>
   41 #include <sys/sdt.h>
   42 
   43 /* Declare the SCTP provider */
   44 SDT_PROVIDER_DECLARE(sctp);
   45 
   46 /* The probes we have so far: */
   47 
   48 /* One to track a net's cwnd */
   49 /* initial */
   50 SDT_PROBE_DECLARE(sctp, cwnd, net, init);
   51 /* update at a ack -- increase */
   52 SDT_PROBE_DECLARE(sctp, cwnd, net, ack);
   53 /* update at a fast retransmit -- decrease */
   54 SDT_PROBE_DECLARE(sctp, cwnd, net, fr);
   55 /* update at a time-out -- decrease */
   56 SDT_PROBE_DECLARE(sctp, cwnd, net, to);
   57 /* update at a burst-limit -- decrease */
   58 SDT_PROBE_DECLARE(sctp, cwnd, net, bl);
   59 /* update at a ECN -- decrease */
   60 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
   61 /* update at a Packet-Drop -- decrease */
   62 SDT_PROBE_DECLARE(sctp, cwnd, net, pd);
   63 /* Rttvar probe declaration */
   64 SDT_PROBE_DECLARE(sctp, cwnd, net, rttvar);
   65 SDT_PROBE_DECLARE(sctp, cwnd, net, rttstep);
   66 
   67 /* One to track an associations rwnd */
   68 SDT_PROBE_DECLARE(sctp, rwnd, assoc, val);
   69 
   70 /* One to track a net's flight size */
   71 SDT_PROBE_DECLARE(sctp, flightsize, net, val);
   72 
   73 /* One to track an associations flight size */
   74 SDT_PROBE_DECLARE(sctp, flightsize, assoc, val);
   75 
   76 
   77 
   78 
   79 
   80 
   81 #endif

Cache object: 32622abf50ed487409c0d869d76c4b22


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.