Lines Matching refs:control
154 uint16_t control;
174 * of the control field depends on that - I frames
175 * have a two-byte control field, and U frames have
176 * a one-byte control field.
178 control = *(p + 2);
179 if ((control & LLC_U_FMT) == LLC_U_FMT) {
184 hdrlen = 3; /* DSAP, SSAP, 1-byte control field */
187 * The control field in I and S frames is
204 control = EXTRACT_LE_16BITS(p + 2);
206 hdrlen = 4; /* DSAP, SSAP, 2-byte control field */
245 ND_PRINT((ndo, ", ctrl 0x%02x: ", control));
247 ND_PRINT((ndo, ", ctrl 0x%04x: ", control));
259 && control == LLC_UI) {
277 control == LLC_UI) {
283 control == LLC_UI) {
295 control == LLC_UI) {
310 && (!(control & LLC_S_FMT) || control == LLC_U_FMT)) {
318 * LLC_S_FMT, set in the first byte of the control field)
319 * and UI frames (whose control field is just 3, LLC_U_FMT).
321 netbeui_print(ndo, control, p, length);
326 && control == LLC_UI) {
356 tok2str(llc_cmd_values, "%02x", LLC_U_CMD(control)),
357 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_U_POLL)),
360 if ((control & ~LLC_U_POLL) == LLC_XID) {
386 if ((control & LLC_S_FMT) == LLC_S_FMT) {
388 tok2str(llc_supervisory_values,"?",LLC_S_CMD(control)),
389 LLC_IS_NR(control),
390 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),
395 LLC_I_NS(control),
396 LLC_IS_NR(control),
397 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),