Lines Matching refs:control
155 u_int16_t control;
172 * of the control field depends on that - I frames
173 * have a two-byte control field, and U frames have
174 * a one-byte control field.
176 control = *(p + 2);
177 if ((control & LLC_U_FMT) == LLC_U_FMT) {
184 * The control field in I and S frames is
196 control = EXTRACT_LE_16BITS(p + 2);
236 printf(", ctrl 0x%02x: ", control);
238 printf(", ctrl 0x%04x: ", control);
243 control == LLC_UI) {
249 control == LLC_UI) {
255 control == LLC_UI) {
261 * Skip DSAP, LSAP, and control field.
272 && (!(control & LLC_S_FMT) || control == LLC_U_FMT)) {
280 * LLC_S_FMT, set in the first byte of the control field)
281 * and UI frames (whose control field is just 3, LLC_U_FMT).
296 netbeui_print(control, p, length);
301 && control == LLC_UI) {
307 && control == LLC_UI) {
343 tok2str(llc_cmd_values, "%02x", LLC_U_CMD(control)),
344 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_U_POLL)),
351 if ((control & ~LLC_U_POLL) == LLC_XID) {
360 if ((control & LLC_S_FMT) == LLC_S_FMT) {
362 tok2str(llc_supervisory_values,"?",LLC_S_CMD(control)),
363 LLC_IS_NR(control),
364 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),
368 LLC_I_NS(control),
369 LLC_IS_NR(control),
370 tok2str(llc_flag_values,"?",(ssap_field & LLC_GSAP) | (control & LLC_IS_POLL)),