Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: base/net/web-net6-html.c
- Revision:
- 110:8ab752842d25
- Child:
- 142:b472ba95b018
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/base/net/web-net6-html.c Tue Apr 30 12:45:08 2019 +0000
@@ -0,0 +1,37 @@
+#include "http.h"
+#include "web-nav-base.h"
+#include "web-add.h"
+
+void WebNet6Html()
+{
+ HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
+ WebAddHeader("Net IPv6", "settings.css", "net6.js");
+ WebAddNav(NET6_PAGE);
+ WebAddH1("Net IPv6");
+
+ WebAddH2("ARP");
+ HttpAddText("<code id='ajax-arp'></code>\r\n");
+ WebAddH2("DNS");
+ HttpAddText("<code id='ajax-dns'></code>\r\n");
+
+ WebAddH2("NDP");
+ WebAddAjaxLabelled("Hop limit", "ajax-hop-limit");
+ WebAddAjaxLed ("Managed address", "ajax-managed");
+ WebAddAjaxLed ("Other configuration", "ajax-other");
+ WebAddAjaxLabelled("Router MAC", "ajax-router-mac");
+ WebAddAjaxLabelled("Prefix length", "ajax-prefix-length");
+ WebAddAjaxLed ("Prefix flag L", "ajax-prefix-l");
+ WebAddAjaxLed ("Prefix flag A", "ajax-prefix-a");
+ WebAddAjaxLabelled("Prefix valid secs", "ajax-prefix-limit");
+ WebAddAjaxLabelled("Prefix preferred secs", "ajax-prefix-preferred");
+ WebAddAjaxLabelled("Prefix", "ajax-prefix");
+ WebAddAjaxLabelled("DNS life secs", "ajax-dns-life");
+ WebAddAjaxLabelled("DNS server", "ajax-dns-ip");
+ WebAddAjaxLabelled("Lease time", "ajax-ndp-lease");
+ WebAddAjaxLabelled("Elapsed", "ajax-ndp-elapsed");
+ WebAddAjaxLabelled("SLAAC", "ajax-slaac");
+ WebAddAjaxLabelled("MTU", "ajax-mtu");
+
+ WebAddEnd();
+
+}