Move SCTP DTrace probe definitions into a .c file.
Previously they were defined in a header which was included exactly once. Change this to follow the usual practice of putting definitions in C files. No functional change intended. Discussed with: tuexen MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9c04e4c01e
commit
671d68fad9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353477
@ -4258,6 +4258,7 @@ netinet/sctp_cc_functions.c optional inet sctp | inet6 sctp
|
||||
netinet/sctp_crc32.c optional inet | inet6
|
||||
netinet/sctp_indata.c optional inet sctp | inet6 sctp
|
||||
netinet/sctp_input.c optional inet sctp | inet6 sctp
|
||||
netinet/sctp_kdtrace.c optional inet sctp | inet6 sctp
|
||||
netinet/sctp_output.c optional inet sctp | inet6 sctp
|
||||
netinet/sctp_pcb.c optional inet sctp | inet6 sctp
|
||||
netinet/sctp_peeloff.c optional inet sctp | inet6 sctp
|
||||
|
@ -34,9 +34,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#ifndef _NETINET_SCTP_DTRACE_DEFINE_H_
|
||||
#define _NETINET_SCTP_DTRACE_DEFINE_H_
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/sdt.h>
|
||||
|
||||
@ -173,5 +171,3 @@ SDT_PROBE_DEFINE4(sctp, flightsize, assoc, val,
|
||||
* order. */
|
||||
"int", /* The up/down amount */
|
||||
"int"); /* The new value of the cwnd */
|
||||
|
||||
#endif
|
@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <netinet/sctp_output.h>
|
||||
#include <netinet/sctp_timer.h>
|
||||
#include <netinet/sctp_bsd_addr.h>
|
||||
#include <netinet/sctp_dtrace_define.h>
|
||||
#if defined(INET) || defined(INET6)
|
||||
#include <netinet/udp.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user