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
base/net/web-net6-html.c
- Committer:
- andrewboyson
- Date:
- 2021-01-04
- Revision:
- 146:6bc151bd7063
- Parent:
- 144:7106252b7abf
File content as of revision 146:6bc151bd7063:
#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("NDP - Neighbour Advertisement"); HttpAddText("<code id='ajax-arp'></code>\r\n"); HttpAddText("<div class='line'>\r\n"); HttpAddText("<button onclick = 'Net.clearVendorsFromLocalStorage()'>Clear vendors</button>\r\n"); HttpAddText("</div>\r\n"); WebAddH2("Link local"); WebAddAjaxLabelled("SLAAC", "ajax-slaac"); WebAddH2("NDP - Router Advertisement"); WebAddAjaxLabelled("Hop limit", "ajax-hop-limit"); WebAddAjaxLed ("Managed address", "ajax-managed"); WebAddAjaxLed ("Other configuration", "ajax-other"); WebAddAjaxLabelled("Lease time", "ajax-ndp-lease"); WebAddAjaxLabelled("Elapsed", "ajax-ndp-elapsed"); WebAddH2("RA options"); WebAddAjaxLabelled("Router MAC", "ajax-router-mac"); WebAddAjaxLabelled("MTU", "ajax-mtu"); WebAddAjaxLabelled("DNS server", "ajax-dns-ip"); WebAddAjaxLabelled("DNS life secs", "ajax-dns-life"); WebAddH2("Unique local"); WebAddAjaxLabelled("Prefix length", "ajax-unique-prefix-length"); WebAddAjaxLed ("Prefix flag L", "ajax-unique-prefix-l"); WebAddAjaxLed ("Prefix flag A", "ajax-unique-prefix-a"); WebAddAjaxLabelled("Prefix valid secs", "ajax-unique-prefix-limit"); WebAddAjaxLabelled("Prefix preferred secs", "ajax-unique-prefix-preferred"); WebAddAjaxLabelled("Prefix", "ajax-unique-prefix"); WebAddH2("Global"); WebAddAjaxLabelled("Prefix length", "ajax-global-prefix-length"); WebAddAjaxLed ("Prefix flag L", "ajax-global-prefix-l"); WebAddAjaxLed ("Prefix flag A", "ajax-global-prefix-a"); WebAddAjaxLabelled("Prefix valid secs", "ajax-global-prefix-limit"); WebAddAjaxLabelled("Prefix preferred secs", "ajax-global-prefix-preferred"); WebAddAjaxLabelled("Prefix", "ajax-global-prefix"); WebAddEnd(); }