shithub: 9ferno

Download patch

ref: e57fd0cf983e4eddd433d83eb0b216e3cb069ac4
parent: 91f2ea9edb3d2b74afcecfcc3a692b9a506e95f1
author: 9ferno <gophone2015@gmail.com>
date: Thu Aug 26 21:34:51 EDT 2021

debug function definition

--- a/os/ip/ip.h	Thu Aug 26 21:30:40 2021
+++ b/os/ip/ip.h	Thu Aug 26 21:34:51 2021
@@ -733,3 +733,8 @@
 extern int	removenataddr(uchar*, uchar*, Iplifc*);
 extern void	shownataddr(void);
 extern void flushnataddr(void);
+
+/*
+ * for debugging
+ */
+void showudp(char *msg, Ip4hdr *p);