FreeBSD kernel IPv4 code
in_kdtrace.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sdt.h>
Include dependency graph for in_kdtrace.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
 SDT_PROVIDER_DEFINE (ip)
 
 SDT_PROVIDER_DEFINE (tcp)
 
 SDT_PROVIDER_DEFINE (udp)
 
 SDT_PROVIDER_DEFINE (udplite)
 
 SDT_PROBE_DEFINE6_XLATE (ip,,, receive, "void *", "pktinfo_t *", "void *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct ifnet *", "ifinfo_t *", "struct ip *", "ipv4info_t *", "struct ip6_hdr *", "ipv6info_t *")
 
 SDT_PROBE_DEFINE6_XLATE (ip,,, send, "void *", "pktinfo_t *", "void *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct ifnet *", "ifinfo_t *", "struct ip *", "ipv4info_t *", "struct ip6_hdr *", "ipv6info_t *")
 
 SDT_PROBE_DEFINE5_XLATE (tcp,,, accept__established, "void *", "pktinfo_t *", "struct tcpcb *", "csinfo_t *", "struct mbuf *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfoh_t *")
 
 SDT_PROBE_DEFINE5_XLATE (tcp,,, accept__refused, "void *", "pktinfo_t *", "struct tcpcb *", "csinfo_t *", "struct mbuf *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfo_t *")
 
 SDT_PROBE_DEFINE5_XLATE (tcp,,, connect__established, "void *", "pktinfo_t *", "struct tcpcb *", "csinfo_t *", "struct mbuf *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfoh_t *")
 
 SDT_PROBE_DEFINE5_XLATE (tcp,,, connect__refused, "void *", "pktinfo_t *", "struct tcpcb *", "csinfo_t *", "struct mbuf *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfoh_t *")
 
 SDT_PROBE_DEFINE5_XLATE (tcp,,, connect__request, "void *", "pktinfo_t *", "struct tcpcb *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfo_t *")
 
 SDT_PROBE_DEFINE5_XLATE (tcp,,, receive, "void *", "pktinfo_t *", "struct tcpcb *", "csinfo_t *", "struct mbuf *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfoh_t *")
 
 SDT_PROBE_DEFINE5_XLATE (tcp,,, send, "void *", "pktinfo_t *", "struct tcpcb *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfo_t *")
 
 SDT_PROBE_DEFINE1_XLATE (tcp,,, siftr, "struct pkt_node *", "siftrinfo_t *")
 
 SDT_PROBE_DEFINE3_XLATE (tcp,,, debug__input, "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfoh_t *", "struct mbuf *", "ipinfo_t *")
 
 SDT_PROBE_DEFINE3_XLATE (tcp,,, debug__output, "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfo_t *", "struct mbuf *", "ipinfo_t *")
 
 SDT_PROBE_DEFINE2_XLATE (tcp,,, debug__user, "struct tcpcb *", "tcpsinfo_t *", "int", "int")
 
 SDT_PROBE_DEFINE3_XLATE (tcp,,, debug__drop, "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfoh_t *", "struct mbuf *", "ipinfo_t *")
 
 SDT_PROBE_DEFINE6_XLATE (tcp,,, state__change, "void *", "void *", "struct tcpcb *", "csinfo_t *", "void *", "void *", "struct tcpcb *", "tcpsinfo_t *", "void *", "void *", "int", "tcplsinfo_t *")
 
 SDT_PROBE_DEFINE6_XLATE (tcp,,, receive__autoresize, "void *", "void *", "struct tcpcb *", "csinfo_t *", "struct mbuf *", "ipinfo_t *", "struct tcpcb *", "tcpsinfo_t *", "struct tcphdr *", "tcpinfoh_t *", "int", "int")
 
 SDT_PROBE_DEFINE5_XLATE (udp,,, receive, "void *", "pktinfo_t *", "struct inpcb *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct inpcb *", "udpsinfo_t *", "struct udphdr *", "udpinfo_t *")
 
 SDT_PROBE_DEFINE5_XLATE (udp,,, send, "void *", "pktinfo_t *", "struct inpcb *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct inpcb *", "udpsinfo_t *", "struct udphdr *", "udpinfo_t *")
 
 SDT_PROBE_DEFINE5_XLATE (udplite,,, receive, "void *", "pktinfo_t *", "struct inpcb *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct inpcb *", "udplitesinfo_t *", "struct udphdr *", "udpliteinfo_t *")
 
 SDT_PROBE_DEFINE5_XLATE (udplite,,, send, "void *", "pktinfo_t *", "struct inpcb *", "csinfo_t *", "uint8_t *", "ipinfo_t *", "struct inpcb *", "udplitesinfo_t *", "struct udphdr *", "udpliteinfo_t *")
 

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ SDT_PROBE_DEFINE1_XLATE()

SDT_PROBE_DEFINE1_XLATE ( tcp  ,
siftr  ,
"struct pkt_node *"  ,
"siftrinfo_t *"   
)

◆ SDT_PROBE_DEFINE2_XLATE()

SDT_PROBE_DEFINE2_XLATE ( tcp  ,
debug__user  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"int"  ,
"int"   
)

◆ SDT_PROBE_DEFINE3_XLATE() [1/3]

SDT_PROBE_DEFINE3_XLATE ( tcp  ,
debug__drop  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfoh_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"   
)

◆ SDT_PROBE_DEFINE3_XLATE() [2/3]

SDT_PROBE_DEFINE3_XLATE ( tcp  ,
debug__input  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfoh_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"   
)

◆ SDT_PROBE_DEFINE3_XLATE() [3/3]

SDT_PROBE_DEFINE3_XLATE ( tcp  ,
debug__output  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfo_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [1/11]

SDT_PROBE_DEFINE5_XLATE ( tcp  ,
accept__established  ,
"void *"  ,
"pktinfo_t *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfoh_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [2/11]

SDT_PROBE_DEFINE5_XLATE ( tcp  ,
accept__refused  ,
"void *"  ,
"pktinfo_t *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfo_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [3/11]

SDT_PROBE_DEFINE5_XLATE ( tcp  ,
connect__established  ,
"void *"  ,
"pktinfo_t *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfoh_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [4/11]

SDT_PROBE_DEFINE5_XLATE ( tcp  ,
connect__refused  ,
"void *"  ,
"pktinfo_t *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfoh_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [5/11]

SDT_PROBE_DEFINE5_XLATE ( tcp  ,
connect__request  ,
"void *"  ,
"pktinfo_t *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfo_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [6/11]

SDT_PROBE_DEFINE5_XLATE ( tcp  ,
receive  ,
"void *"  ,
"pktinfo_t *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfoh_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [7/11]

SDT_PROBE_DEFINE5_XLATE ( tcp  ,
send  ,
"void *"  ,
"pktinfo_t *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfo_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [8/11]

SDT_PROBE_DEFINE5_XLATE ( udp  ,
receive  ,
"void *"  ,
"pktinfo_t *"  ,
"struct inpcb *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct inpcb *"  ,
"udpsinfo_t *"  ,
"struct udphdr *"  ,
"udpinfo_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [9/11]

SDT_PROBE_DEFINE5_XLATE ( udp  ,
send  ,
"void *"  ,
"pktinfo_t *"  ,
"struct inpcb *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct inpcb *"  ,
"udpsinfo_t *"  ,
"struct udphdr *"  ,
"udpinfo_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [10/11]

SDT_PROBE_DEFINE5_XLATE ( udplite  ,
receive  ,
"void *"  ,
"pktinfo_t *"  ,
"struct inpcb *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct inpcb *"  ,
"udplitesinfo_t *"  ,
"struct udphdr *"  ,
"udpliteinfo_t *"   
)

◆ SDT_PROBE_DEFINE5_XLATE() [11/11]

SDT_PROBE_DEFINE5_XLATE ( udplite  ,
send  ,
"void *"  ,
"pktinfo_t *"  ,
"struct inpcb *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct inpcb *"  ,
"udplitesinfo_t *"  ,
"struct udphdr *"  ,
"udpliteinfo_t *"   
)

◆ SDT_PROBE_DEFINE6_XLATE() [1/4]

SDT_PROBE_DEFINE6_XLATE ( ip  ,
receive  ,
"void *"  ,
"pktinfo_t *"  ,
"void *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct ifnet *"  ,
"ifinfo_t *"  ,
"struct ip *"  ,
"ipv4info_t *"  ,
"struct ip6_hdr *"  ,
"ipv6info_t *"   
)

◆ SDT_PROBE_DEFINE6_XLATE() [2/4]

SDT_PROBE_DEFINE6_XLATE ( ip  ,
send  ,
"void *"  ,
"pktinfo_t *"  ,
"void *"  ,
"csinfo_t *"  ,
"uint8_t *"  ,
"ipinfo_t *"  ,
"struct ifnet *"  ,
"ifinfo_t *"  ,
"struct ip *"  ,
"ipv4info_t *"  ,
"struct ip6_hdr *"  ,
"ipv6info_t *"   
)

◆ SDT_PROBE_DEFINE6_XLATE() [3/4]

SDT_PROBE_DEFINE6_XLATE ( tcp  ,
receive__autoresize  ,
"void *"  ,
"void *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"struct mbuf *"  ,
"ipinfo_t *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"struct tcphdr *"  ,
"tcpinfoh_t *"  ,
"int"  ,
"int"   
)

◆ SDT_PROBE_DEFINE6_XLATE() [4/4]

SDT_PROBE_DEFINE6_XLATE ( tcp  ,
state__change  ,
"void *"  ,
"void *"  ,
"struct tcpcb *"  ,
"csinfo_t *"  ,
"void *"  ,
"void *"  ,
"struct tcpcb *"  ,
"tcpsinfo_t *"  ,
"void *"  ,
"void *"  ,
"int"  ,
"tcplsinfo_t *"   
)

◆ SDT_PROVIDER_DEFINE() [1/4]

SDT_PROVIDER_DEFINE ( ip  )

◆ SDT_PROVIDER_DEFINE() [2/4]

SDT_PROVIDER_DEFINE ( tcp  )

◆ SDT_PROVIDER_DEFINE() [3/4]

SDT_PROVIDER_DEFINE ( udp  )

◆ SDT_PROVIDER_DEFINE() [4/4]

SDT_PROVIDER_DEFINE ( udplite  )