Print this page
3903 DTrace SCTP Provider

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdtrace/common/ip.d.in
          +++ new/usr/src/lib/libdtrace/common/ip.d.in
↓ open down ↓ 168 lines elided ↑ open up ↑
 169  169  } ipv6info_t;
 170  170  
 171  171  /*
 172  172   * void_ip_t is a void pointer to either an IPv4 or IPv6 header.  It has
 173  173   * its own type name so that a translator can be determined.
 174  174   */
 175  175  typedef uintptr_t void_ip_t;
 176  176  
 177  177  /*
 178  178   * __dtrace_ipsr_ill_t is used by the translator to take an ill_t plus an
 179      - * additional arg6 from the ip:::send and ip:::recieve probes, and translate
      179 + * additional arg6 from the ip:::send and ip:::receive probes, and translate
 180  180   * them to an ifinfo_t.
 181  181   */
 182  182  typedef ill_t __dtrace_ipsr_ill_t;
 183  183  
 184  184  /*
 185  185   * __dtrace_tcp_void_ip_t is used by the translator to take either the
 186  186   * non-NULL void_ip_t * passed in or, if it is NULL, uses arg3 (tcp_t *)
 187      - * from the tcp:::send and tcp:::recieve probes to translate to an ipinfo_t.
      187 + * from the tcp:::send and tcp:::receive probes to translate to an ipinfo_t.
 188  188   * When no headers are available in the TCP fusion case for tcp:::send
 189  189   * and tcp:::receive case, this allows us to present the consumer with header
 190  190   * data based on the tcp_t * content in order to hide the implementation
 191  191   * details of TCP fusion.
 192  192   */
 193  193  typedef void * __dtrace_tcp_void_ip_t;
 194  194  
 195  195  #pragma D binding "1.5" translator
 196  196  translator pktinfo_t < mblk_t *M > {
 197  197          pkt_addr = NULL;
↓ open down ↓ 177 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX