Lines Matching refs:l2addrsize
107 static int l2addrsize(struct Layer2 *l2);
190 l2addrsize(struct Layer2 *l2) in l2addrsize() function
299 int i = l2addrsize(&st->l2) + (test_bit(FLG_MOD128, &st->l2.flag) ? 2 : 1); in iframe_error()
322 if (skb->len != l2addrsize(&st->l2) + in super_error()
339 if (skb->len != l2addrsize(&st->l2) + 1) in unnum_error()
355 if (skb->len > st->l2.maxlen + l2addrsize(&st->l2) + 1) in UI_error()
364 int headers = l2addrsize(&st->l2) + 1; in FRMR_error()
446 return (skb->data[l2addrsize(&(st->l2))] & 0x10); in get_PollFlag()
982 skb_pull(skb, l2addrsize(l2)); in l2_st7_got_super()
1076 i = l2addrsize(l2); in l2_got_iframe()
1330 skb_pull(skb, l2addrsize(l2)); in l2_st8_got_super()
1379 skb_pull(skb, l2addrsize(&st->l2) + 1); in l2_got_FRMR()
1646 len = l2addrsize(&st->l2); in isdnl2_l1l2()