/* Make sure the entire subTLV is in the captured data */
ND_TCHECK_LEN(tptr, stlv_len);
- switch (stlv_type)
- {
+ switch (stlv_type) {
case ISIS_SUBTLV_SPB_MCID:
{
if (stlv_len < ISIS_SUBTLV_SPB_MCID_MIN_LEN)
/* Make sure the entire subTLV is in the captured data */
ND_TCHECK_LEN(tptr, stlv_len);
- switch (stlv_type)
- {
+ switch (stlv_type) {
case ISIS_SUBTLV_SPB_INSTANCE:
if (stlv_len < ISIS_SUBTLV_SPB_INSTANCE_MIN_LEN)
goto subtlv_too_short;
ND_TCHECK_LEN(data, length);
- switch(attr_code)
- {
+ switch(attr_code) {
case TUNNEL_PASS:
if (length < 3)
goto trunc;
return;
}
- switch(attr_code)
- {
+ switch(attr_code) {
case FRM_IPADDR:
case LOG_IPHOST:
if (GET_BE_U_4(data) == 0xFFFFFFFF )
u_short len_data;
u_int error_cause_value;
- switch(attr_code)
- {
+ switch(attr_code) {
case ARAP_PASS:
if (length != 16) {
ND_PRINT("ERROR: length %u != 16", length);
chunkID = GET_U_1(chunkDescPtr->chunkID);
ND_PRINT("[%s] ", tok2str(sctp_chunkid_str, "Unknown chunk type: 0x%x",
chunkID));
- switch (chunkID)
- {
+ switch (chunkID) {
case SCTP_DATA :
{
const struct sctpDataPart *dataHdrPtr;
w0 = GET_BE_U_4(ap->w0);
user = TIPC_USER(w0);
- switch (user)
- {
+ switch (user) {
case TIPC_USER_LOW_IMPORTANCE:
case TIPC_USER_MEDIUM_IMPORTANCE:
case TIPC_USER_HIGH_IMPORTANCE:
case URB_BULK:
case URB_CONTROL:
case URB_ISOCHRONOUS:
- switch(event_type)
- {
+ switch(event_type) {
case URB_SUBMIT:
direction = 2;
break;
}
break;
case URB_INTERRUPT:
- switch(event_type)
- {
+ switch(event_type) {
case URB_SUBMIT:
direction = 1;
break;
ND_PRINT(" ");
transfer_type = GET_U_1(uh->transfer_type);
- switch(transfer_type)
- {
+ switch(transfer_type) {
case URB_ISOCHRONOUS:
ND_PRINT("ISOCHRONOUS");
break;
}
event_type = GET_U_1(uh->event_type);
- switch(event_type)
- {
+ switch(event_type) {
case URB_SUBMIT:
ND_PRINT(" SUBMIT");
break;