* Routines for FC Extended Link Services
* Copyright 2001, Dinesh G Dutt <ddutt@cisco.com>
*
- * $Id: packet-fcels.c,v 1.5 2003/10/30 02:06:11 guy Exp $
+ * $Id: packet-fcels.c,v 1.6 2003/11/07 08:50:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
punc[0] = '\0';
- if ((opcode == FC_ELS_PLOGI) || (opcode == FC_ELS_PDISC)) {
- if (flag & 0x8000) {
- strcpy (flagstr, "Cont. Incr. Offset Supported");
- stroff += 28;
- strcpy (punc, ", ");
- }
- if (flag & 0x4000) {
- sprintf (&flagstr[stroff], "%sRRO Supported", punc);
- stroff += 15;
- strcpy (punc, ", ");
- }
+ if (flag & 0x8000) {
+ strcpy (flagstr, "Cont. Incr. Offset Supported");
+ stroff += 28;
+ strcpy (punc, ", ");
+ }
+ if (flag & 0x4000) {
+ sprintf (&flagstr[stroff], "%sRRO Supported", punc);
+ stroff += 15;
+ strcpy (punc, ", ");
}
if (flag & 0x2000) {
else {
sprintf (&flagstr[stroff], "%sNormal B2B Credit Mgmt", punc);
strcpy (punc, ", ");
- stroff += 21;
+ stroff += 22;
}
if ((opcode == FC_ELS_PLOGI) || (opcode == FC_ELS_PDISC)) {
stroff += 34;
}
}
+
+ if (flag & 0x0200) {
+ strcpy (&flagstr[stroff], ", Multicast Supported");
+ stroff += 21;
+ }
+
+ if (flag & 0x0100) {
+ strcpy (&flagstr[stroff], ", Broadcast Supported");
+ stroff += 21;
+ }
+
+ if (flag & 0x0020) {
+ strcpy (&flagstr[stroff], ", Security Bit");
+ stroff += 14;
+ }
if (flag & 0x0010) {
strcpy (&flagstr[stroff], ", Clk Sync Prim Capable");