Lines Matching refs:dptr
116 unsigned char *dptr; in x25_write_internal() local
166 dptr = skb_put(skb, 2); in x25_write_internal()
172 *dptr++ = lci1 | X25_GFI_EXTSEQ; in x25_write_internal()
173 *dptr++ = lci2; in x25_write_internal()
175 *dptr++ = lci1 | X25_GFI_STDSEQ; in x25_write_internal()
176 *dptr++ = lci2; in x25_write_internal()
185 dptr = skb_put(skb, 1); in x25_write_internal()
186 *dptr++ = X25_CALL_REQUEST; in x25_write_internal()
189 dptr = skb_put(skb, len); in x25_write_internal()
190 memcpy(dptr, addresses, len); in x25_write_internal()
195 dptr = skb_put(skb, len); in x25_write_internal()
196 memcpy(dptr, facilities, len); in x25_write_internal()
197 dptr = skb_put(skb, x25->calluserdata.cudlength); in x25_write_internal()
198 memcpy(dptr, x25->calluserdata.cuddata, in x25_write_internal()
204 dptr = skb_put(skb, 2); in x25_write_internal()
205 *dptr++ = X25_CALL_ACCEPTED; in x25_write_internal()
206 *dptr++ = 0x00; /* Address lengths */ in x25_write_internal()
211 dptr = skb_put(skb, len); in x25_write_internal()
212 memcpy(dptr, facilities, len); in x25_write_internal()
218 dptr = skb_put(skb, in x25_write_internal()
220 memcpy(dptr, x25->calluserdata.cuddata, in x25_write_internal()
227 dptr = skb_put(skb, 3); in x25_write_internal()
228 *dptr++ = frametype; in x25_write_internal()
229 *dptr++ = x25->causediag.cause; in x25_write_internal()
230 *dptr++ = x25->causediag.diagnostic; in x25_write_internal()
234 dptr = skb_put(skb, 3); in x25_write_internal()
235 *dptr++ = frametype; in x25_write_internal()
236 *dptr++ = 0x00; /* XXX */ in x25_write_internal()
237 *dptr++ = 0x00; /* XXX */ in x25_write_internal()
244 dptr = skb_put(skb, 2); in x25_write_internal()
245 *dptr++ = frametype; in x25_write_internal()
246 *dptr++ = (x25->vr << 1) & 0xFE; in x25_write_internal()
248 dptr = skb_put(skb, 1); in x25_write_internal()
249 *dptr = frametype; in x25_write_internal()
250 *dptr++ |= (x25->vr << 5) & 0xE0; in x25_write_internal()
257 dptr = skb_put(skb, 1); in x25_write_internal()
258 *dptr = frametype; in x25_write_internal()