• Home
  • Raw
  • Download

Lines Matching full:frame

104  *	information for the different frame formats.
107 struct lapb_frame *frame) in lapb_decode() argument
109 frame->type = LAPB_ILLEGAL; in lapb_decode()
122 frame->cr = LAPB_COMMAND; in lapb_decode()
124 frame->cr = LAPB_RESPONSE; in lapb_decode()
127 frame->cr = LAPB_COMMAND; in lapb_decode()
129 frame->cr = LAPB_RESPONSE; in lapb_decode()
134 frame->cr = LAPB_COMMAND; in lapb_decode()
136 frame->cr = LAPB_RESPONSE; in lapb_decode()
139 frame->cr = LAPB_COMMAND; in lapb_decode()
141 frame->cr = LAPB_RESPONSE; in lapb_decode()
152 * I frame - carries NR/NS/PF in lapb_decode()
154 frame->type = LAPB_I; in lapb_decode()
155 frame->ns = (skb->data[0] >> 1) & 0x7F; in lapb_decode()
156 frame->nr = (skb->data[1] >> 1) & 0x7F; in lapb_decode()
157 frame->pf = skb->data[1] & LAPB_EPF; in lapb_decode()
158 frame->control[0] = skb->data[0]; in lapb_decode()
159 frame->control[1] = skb->data[1]; in lapb_decode()
165 * S frame - take out PF/NR in lapb_decode()
167 frame->type = skb->data[0] & 0x0F; in lapb_decode()
168 frame->nr = (skb->data[1] >> 1) & 0x7F; in lapb_decode()
169 frame->pf = skb->data[1] & LAPB_EPF; in lapb_decode()
170 frame->control[0] = skb->data[0]; in lapb_decode()
171 frame->control[1] = skb->data[1]; in lapb_decode()
175 * U frame - take out PF in lapb_decode()
177 frame->type = skb->data[0] & ~LAPB_SPF; in lapb_decode()
178 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode()
179 frame->control[0] = skb->data[0]; in lapb_decode()
180 frame->control[1] = 0x00; in lapb_decode()
186 * I frame - carries NR/NS/PF in lapb_decode()
188 frame->type = LAPB_I; in lapb_decode()
189 frame->ns = (skb->data[0] >> 1) & 0x07; in lapb_decode()
190 frame->nr = (skb->data[0] >> 5) & 0x07; in lapb_decode()
191 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode()
194 * S frame - take out PF/NR in lapb_decode()
196 frame->type = skb->data[0] & 0x0F; in lapb_decode()
197 frame->nr = (skb->data[0] >> 5) & 0x07; in lapb_decode()
198 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode()
201 * U frame - take out PF in lapb_decode()
203 frame->type = skb->data[0] & ~LAPB_SPF; in lapb_decode()
204 frame->pf = skb->data[0] & LAPB_SPF; in lapb_decode()
207 frame->control[0] = skb->data[0]; in lapb_decode()