Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/in_kdtrace.c
Show All 25 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include "opt_sctp.h" | |||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/sdt.h> | #include <sys/sdt.h> | ||||
SDT_PROVIDER_DEFINE(ip); | SDT_PROVIDER_DEFINE(ip); | ||||
#ifdef SCTP | |||||
SDT_PROVIDER_DEFINE(sctp); | |||||
#endif | |||||
SDT_PROVIDER_DEFINE(tcp); | SDT_PROVIDER_DEFINE(tcp); | ||||
SDT_PROVIDER_DEFINE(udp); | SDT_PROVIDER_DEFINE(udp); | ||||
SDT_PROVIDER_DEFINE(udplite); | SDT_PROVIDER_DEFINE(udplite); | ||||
SDT_PROBE_DEFINE6_XLATE(ip, , , receive, | SDT_PROBE_DEFINE6_XLATE(ip, , , receive, | ||||
"void *", "pktinfo_t *", | "void *", "pktinfo_t *", | ||||
"void *", "csinfo_t *", | "void *", "csinfo_t *", | ||||
"uint8_t *", "ipinfo_t *", | "uint8_t *", "ipinfo_t *", | ||||
"struct ifnet *", "ifinfo_t *", | "struct ifnet *", "ifinfo_t *", | ||||
"struct ip *", "ipv4info_t *", | "struct ip *", "ipv4info_t *", | ||||
"struct ip6_hdr *", "ipv6info_t *"); | "struct ip6_hdr *", "ipv6info_t *"); | ||||
SDT_PROBE_DEFINE6_XLATE(ip, , , send, | SDT_PROBE_DEFINE6_XLATE(ip, , , send, | ||||
"void *", "pktinfo_t *", | "void *", "pktinfo_t *", | ||||
"void *", "csinfo_t *", | "void *", "csinfo_t *", | ||||
"uint8_t *", "ipinfo_t *", | "uint8_t *", "ipinfo_t *", | ||||
"struct ifnet *", "ifinfo_t *", | "struct ifnet *", "ifinfo_t *", | ||||
"struct ip *", "ipv4info_t *", | "struct ip *", "ipv4info_t *", | ||||
"struct ip6_hdr *", "ipv6info_t *"); | "struct ip6_hdr *", "ipv6info_t *"); | ||||
#ifdef SCTP | |||||
SDT_PROBE_DEFINE5_XLATE(sctp, , , receive, | |||||
"void *", "pktinfo_t *", | |||||
"struct sctp_tcb *", "csinfo_t *", | |||||
"struct mbuf *", "ipinfo_t *", | |||||
"struct sctp_tcb *", "sctpsinfo_t *" , | |||||
"struct sctphdr *", "sctpinfo_t *"); | |||||
SDT_PROBE_DEFINE5_XLATE(sctp, , , send, | |||||
"void *", "pktinfo_t *", | |||||
"struct sctp_tcb *", "csinfo_t *", | |||||
"uint8_t *", "ipinfo_t *", | |||||
"struct sctp_tcb *", "sctpsinfo_t *" , | |||||
"struct sctphdr *", "sctpinfo_t *"); | |||||
SDT_PROBE_DEFINE6_XLATE(sctp, , , state__change, | |||||
"void *", "void *", | |||||
"struct sctp_tcb *", "csinfo_t *", | |||||
"void *", "void *", | |||||
"struct sctp_tcb *", "sctpsinfo_t *", | |||||
"void *", "void *", | |||||
"int", "sctplsinfo_t *"); | |||||
#endif | |||||
SDT_PROBE_DEFINE5_XLATE(tcp, , , accept__established, | SDT_PROBE_DEFINE5_XLATE(tcp, , , accept__established, | ||||
"void *", "pktinfo_t *", | "void *", "pktinfo_t *", | ||||
"struct tcpcb *", "csinfo_t *", | "struct tcpcb *", "csinfo_t *", | ||||
"struct mbuf *", "ipinfo_t *", | "struct mbuf *", "ipinfo_t *", | ||||
"struct tcpcb *", "tcpsinfo_t *" , | "struct tcpcb *", "tcpsinfo_t *" , | ||||
"struct tcphdr *", "tcpinfoh_t *"); | "struct tcphdr *", "tcpinfoh_t *"); | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |