static void
lane_hdr_print(netdissect_options *ndo, const u_char *bp)
{
- ND_PRINT((ndo, "lecid:%x ", EXTRACT_BE_U_2(bp)));
+ ND_PRINT("lecid:%x ", EXTRACT_BE_U_2(bp));
}
/*
const struct lane_controlhdr *lec;
if (caplen < sizeof(struct lane_controlhdr)) {
- ND_PRINT((ndo, "[|lane]"));
+ ND_PRINT("[|lane]");
return;
}
/*
* LE Control.
*/
- ND_PRINT((ndo, "lec: proto %x vers %x %s",
+ ND_PRINT("lec: proto %x vers %x %s",
EXTRACT_U_1(lec->lec_proto),
EXTRACT_U_1(lec->lec_vers),
- tok2str(lecop2str, "opcode-#%u", EXTRACT_BE_U_2(lec->lec_opcode))));
+ tok2str(lecop2str, "opcode-#%u", EXTRACT_BE_U_2(lec->lec_opcode)));
return;
}