*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
const value_string xsap_vals[] = {
{ HPEXT_DXSAP, "RBOOT Destination Service Access Point" },
{ HPEXT_SXSAP, "RBOOT Source Service Access Point" },
const value_string xsap_vals[] = {
{ HPEXT_DXSAP, "RBOOT Destination Service Access Point" },
{ HPEXT_SXSAP, "RBOOT Source Service Access Point" },
+ { HPEXT_HPSW, "HP Switch Protocol" },
{ HPEXT_SNMP, "SNMP" },
{ 0x00, NULL }
};
{ HPEXT_SNMP, "SNMP" },
{ 0x00, NULL }
};
{ &hf_hpext_sxsap,
{ "SXSAP", "hpext.sxsap", FT_UINT16, BASE_HEX,
{ &hf_hpext_sxsap,
{ "SXSAP", "hpext.sxsap", FT_UINT16, BASE_HEX,
- VALS(xsap_vals), 0x0, "", HFILL }},
+ VALS(xsap_vals), 0x0, "", HFILL }}
};
static gint *ett[] = {
};
static gint *ett[] = {
};
proto_hpext = proto_register_protocol(
};
proto_hpext = proto_register_protocol(
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define HPEXT_DXSAP 0x608
#define HPEXT_SXSAP 0x609
*/
#define HPEXT_DXSAP 0x608
#define HPEXT_SXSAP 0x609
+#define HPEXT_HPSW 0x623
#define HPEXT_SNMP 0x165A
#define HPEXT_SNMP 0x165A
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
VALS(hpsw_tlv_type_vals), 0x0, "", HFILL }},
{ &hf_hpsw_tlvlength,
{ "Length", "hpsw.tlv_len", FT_UINT8, BASE_DEC,
VALS(hpsw_tlv_type_vals), 0x0, "", HFILL }},
{ &hf_hpsw_tlvlength,
{ "Length", "hpsw.tlv_len", FT_UINT8, BASE_DEC,
- NULL, 0x0, "", HFILL }},
+ NULL, 0x0, "", HFILL }}
};
static gint *ett[] = {
&ett_hpsw,
};
static gint *ett[] = {
&ett_hpsw,
};
proto_hpsw = proto_register_protocol( "HP Switch Protocol", "HPSW", "hpsw");
};
proto_hpsw = proto_register_protocol( "HP Switch Protocol", "HPSW", "hpsw");
hpsw_handle = find_dissector("hpsw");
hpsw_handle = find_dissector("hpsw");
- dissector_add("hpext.dxsap", 0x0623, hpsw_handle);
+ dissector_add("hpext.dxsap", HPEXT_HPSW, hpsw_handle);