forked from osmocom/wireshark
![Guy Harris](/assets/img/avatar_default.png)
Picks up the copyright notice and a value. Change-Id: I99957b97cf905b9d13024f70b76e875756e71609 Reviewed-on: https://code.wireshark.org/review/21845 Reviewed-by: Guy Harris <guy@alum.mit.edu>
113 lines
3 KiB
Text
113 lines
3 KiB
Text
# -*- text -*-
|
|
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
|
|
##############################################################################
|
|
#
|
|
# Cisco's VLAN Query Protocol
|
|
#
|
|
# This dictionary is NOT a RADIUS dictionary, but is used for a
|
|
# similar purpose.
|
|
#
|
|
# The default destination port is 1589.
|
|
#
|
|
# $Id: 78fa95cf475798736674cbba97d8653a3ba78408 $
|
|
#
|
|
##############################################################################
|
|
|
|
#
|
|
# We've allocated "fake" attribute 0x2b00 ... 0x2cff for VQP.
|
|
#
|
|
#
|
|
# 0x2b00..0x2bff are for the VQP packet headers.
|
|
# 0x2c00..0x2cff are for the VQP attributes.
|
|
#
|
|
# Note that the VQP protocol specifies 0x0c01..0x0c08 as the
|
|
# real numbers for the VQP attributes. We've added '0x2000'
|
|
# to them to separate them from RADIUS attributes...
|
|
#
|
|
|
|
#
|
|
# VQP Op codes
|
|
#
|
|
ATTRIBUTE VQP-Packet-Type 0x2b00 integer
|
|
ATTRIBUTE VQP-Error-Code 0x2b01 integer
|
|
ATTRIBUTE VQP-Sequence-Number 0x2b02 integer
|
|
|
|
#
|
|
# VQP Attributes
|
|
#
|
|
ATTRIBUTE VQP-Client-IP-Address 0x2c01 ipaddr
|
|
ATTRIBUTE VQP-Port-Name 0x2c02 string
|
|
ATTRIBUTE VQP-VLAN-Name 0x2c03 string
|
|
|
|
# VTP domain
|
|
ATTRIBUTE VQP-Domain-Name 0x2c04 string
|
|
|
|
# Encapsulates an Ethernet frame...
|
|
ATTRIBUTE VQP-Ethernet-Frame 0x2c05 octets
|
|
ATTRIBUTE VQP-MAC 0x2c06 ether
|
|
ATTRIBUTE VQP-Unknown 0x2c07 octets
|
|
ATTRIBUTE VQP-Cookie 0x2c08 ether
|
|
|
|
#
|
|
# VQP integer mappings
|
|
#
|
|
|
|
VALUE VQP-Packet-Type VQP-Join-Request 1
|
|
VALUE VQP-Packet-Type VQP-Join-Response 2
|
|
VALUE VQP-Packet-Type VQP-Reconfirm-Request 3
|
|
VALUE VQP-Packet-Type VQP-Reconfirm-Response 4
|
|
|
|
VALUE VQP-Packet-Type Do-Not-Respond 256
|
|
|
|
VALUE VQP-Error-Code VQP-No-Error 0
|
|
VALUE VQP-Error-Code VQP-Wrong-Version 1
|
|
VALUE VQP-Error-Code VQP-Insufficient-Resources 2
|
|
VALUE VQP-Error-Code VQP-Deny 3
|
|
VALUE VQP-Error-Code VQP-Shutdown 4
|
|
VALUE VQP-Error-Code VQP-Wrong-Mgmt-Domain 5
|
|
|
|
######################################################################
|
|
#
|
|
# Duplicate names here, for simplicity
|
|
#
|
|
######################################################################
|
|
|
|
#
|
|
# VMPS Op codes
|
|
#
|
|
ATTRIBUTE VMPS-Packet-Type 0x2b00 integer
|
|
ATTRIBUTE VMPS-Error-Code 0x2b01 integer
|
|
ATTRIBUTE VMPS-Sequence-Number 0x2b02 integer
|
|
|
|
#
|
|
# VMPS Attributes
|
|
#
|
|
ATTRIBUTE VMPS-Client-IP-Address 0x2c01 ipaddr
|
|
ATTRIBUTE VMPS-Port-Name 0x2c02 string
|
|
ATTRIBUTE VMPS-VLAN-Name 0x2c03 string
|
|
|
|
# VTP domain
|
|
ATTRIBUTE VMPS-Domain-Name 0x2c04 string
|
|
|
|
# Encapsulates an Ethernet frame...
|
|
ATTRIBUTE VMPS-Ethernet-Frame 0x2c05 octets
|
|
ATTRIBUTE VMPS-MAC 0x2c06 ether
|
|
ATTRIBUTE VMPS-Unknown 0x2c07 octets
|
|
ATTRIBUTE VMPS-Cookie 0x2c08 ether
|
|
|
|
#
|
|
# VMPS integer mappings
|
|
#
|
|
|
|
VALUE VMPS-Packet-Type VMPS-Join-Request 1
|
|
VALUE VMPS-Packet-Type VMPS-Join-Response 2
|
|
VALUE VMPS-Packet-Type VMPS-Reconfirm-Request 3
|
|
VALUE VMPS-Packet-Type VMPS-Reconfirm-Response 4
|
|
|
|
VALUE VMPS-Error-Code VMPS-No-Error 0
|
|
VALUE VMPS-Error-Code VMPS-Wrong-Version 1
|
|
VALUE VMPS-Error-Code VMPS-Insufficient-Resources 2
|
|
VALUE VMPS-Error-Code VMPS-Deny 3
|
|
VALUE VMPS-Error-Code VMPS-Shutdown 4
|
|
VALUE VMPS-Error-Code VMPS-Wrong-Mgmt-Domain 5
|