MIKE HIGGINBOTTOM

A Digital Garden - frequent growth but a bit weedy in the back corner

PacketForm

A named kind of ARP packet, e.g. GratuitousARPReply: the field value sets a receiver treats as the same packet

The field value sets in a packet form differ only in fields that don’t change what the packet is. The fields that do are its DefiningFields

GratuitousARPReply, for example, covers ARPFieldValueSet511, ARPFieldValueSet521 and ARPFieldValueSet531, which differ only in Target MAC (unicast, ff:ff:ff:ff:ff:ff or 00:00:00:00:00:00). A receiver treats all three alike, so Target MAC isn’t a defining field and one filter catches all three

A packet form is read off the packet alone, so a capture can be sorted into packet forms without knowing the network. What a packet is sent for can’t be, and is its PacketPurpose

There are 48:

Every valid field value set is in exactly one packet form. An invalid one breaking several rules matches a packet form for each, and is counted as the first: see MatchesAndPrimary

Half the valid packet forms are twins of the other half whose Ethernet src doesn’t match Sender MAC, e.g. GratuitousARPReplySenderMACMismatch: see SenderMACMismatchVariant

Each packet form has a topic and a line in ARPPacketForms. The topic holds notes, then its IP relationship (valid forms only), field value sets, defining fields, and BPF and Wireshark display filters that test exactly the defining fields. The part from the IP relationship line to the filters is rewritten by ARPTablesAndFilters, and the notes are left alone: see GeneratedLines