Lines Matching defs:control
156 u_int16_t control;
173 * of the control field depends on that - I frames
174 * have a two-byte control field, and U frames have
175 * a one-byte control field.
177 control = *(p + 2);
178 if ((control & LLC_U_FMT) == LLC_U_FMT) {
185 * The control field in I and S frames is
197 control = EXTRACT_LE_16BITS(p + 2);
237 printf(", ctrl 0x%02x: ", control);
239 printf(", ctrl 0x%04x: ", control);
244 control == LLC_UI) {
250 control == LLC_UI) {
256 control == LLC_UI) {
262 * Skip DSAP, LSAP, and control field.
273 && (!(control & LLC_S_FMT) || control == LLC_U_FMT)) {
281 * LLC_S_FMT, set in the first byte of the control field)
282 * and UI frames (whose control field is just 3, LLC_U_FMT).
297 netbeui_print(control, p, length);
302 && control == LLC_UI) {
308 && control == LLC_UI) {
344 tok2str(llc_cmd_values, "%02x", LLC_U_CMD(control)),
345 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_U_POLL)),
352 if ((control & ~LLC_U_POLL) == LLC_XID) {
361 if ((control & LLC_S_FMT) == LLC_S_FMT) {
363 tok2str(llc_supervisory_values,"?",LLC_S_CMD(control)),
364 LLC_IS_NR(control),
365 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),
369 LLC_I_NS(control),
370 LLC_IS_NR(control),
371 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),