A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Thu Aug 17 14:21:02 2017 +0000
Revision:
32:679654f2d023
Parent:
13:9cd54f7db57a
Child:
37:793b39683406
Corrected issues with .local in llmnr and mdns

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 32:679654f2d023 1 DNS -- host name and domain name if network is IPv4
andrewboyson 13:9cd54f7db57a 2 client query O unicast 53053 -> 53 QR=0
andrewboyson 13:9cd54f7db57a 3 client reply I unicast 53053 <- 53 QR=1
andrewboyson 13:9cd54f7db57a 4
andrewboyson 32:679654f2d023 5 LLMNR -- just the host name
andrewboyson 13:9cd54f7db57a 6 client query O multicast 53053 -> 5355 QR=0
andrewboyson 13:9cd54f7db57a 7 client reply I unicast 53053 <- 5355 QR=1
andrewboyson 13:9cd54f7db57a 8 server query I multicast 5355 <- xxxxx QR=0
andrewboyson 13:9cd54f7db57a 9 server reply O unicast 5355 -> xxxxx QR=1
andrewboyson 13:9cd54f7db57a 10
andrewboyson 32:679654f2d023 11 MDNS -- host name + '.local'
andrewboyson 13:9cd54f7db57a 12 client query O multicast 5353 -> 5353 QR=0
andrewboyson 13:9cd54f7db57a 13 client reply I multicast 5353 <- 5353 QR=1
andrewboyson 13:9cd54f7db57a 14 server query I multicast 5353 <- 5353 QR=0
andrewboyson 13:9cd54f7db57a 15 server reply O multicast 5353 -> 5353 QR=1
andrewboyson 13:9cd54f7db57a 16
andrewboyson 32:679654f2d023 17 Dns directs packets to DnsReply(receive) and DnsServer(receive and send) and polls for DnsQuery(send) packets
andrewboyson 13:9cd54f7db57a 18
andrewboyson 32:679654f2d023 19 DnsCache holds names against addresses and synchronises requests and replies.
andrewboyson 32:679654f2d023 20
andrewboyson 32:679654f2d023 21 DnsHdr and DnsName are helper modules.
andrewboyson 32:679654f2d023 22