| 270 | |
| 271 | |
| 272 | class CDPMsgProtoHello(CDPMsgGeneric): |
| 273 | name = "Protocol Hello" |
| 274 | type = 0x0008 |
| 275 | fields_desc = [XShortEnumField("type", 0x0008, _cdp_tlv_types), |
| 276 | ShortField("len", 32), |
| 277 | OUIField("oui", 0x00000c), |
| 278 | XShortField("protocol_id", 0x0), |
| 279 | # TLV length (len) - 2 (type) - 2 (len) - 3 (OUI) - 2 |
| 280 | # (Protocol ID) |
| 281 | StrLenField("data", "", length_from=lambda p: p.len - 9)] |
| 282 | |
| 283 | |
| 284 | class CDPMsgVTPMgmtDomain(CDPMsgGeneric): |
nothing calls this directly
no test coverage detected
searching dependent graphs…