Lines Matching refs:dptr
106 unsigned char *dptr; in rose_write_internal() local
134 dptr = skb_put(skb, skb_tailroom(skb)); in rose_write_internal()
141 *dptr++ = ROSE_GFI | lci1; in rose_write_internal()
142 *dptr++ = lci2; in rose_write_internal()
143 *dptr++ = frametype; in rose_write_internal()
144 *dptr++ = ROSE_CALL_REQ_ADDR_LEN_VAL; in rose_write_internal()
145 memcpy(dptr, &rose->dest_addr, ROSE_ADDR_LEN); in rose_write_internal()
146 dptr += ROSE_ADDR_LEN; in rose_write_internal()
147 memcpy(dptr, &rose->source_addr, ROSE_ADDR_LEN); in rose_write_internal()
148 dptr += ROSE_ADDR_LEN; in rose_write_internal()
149 memcpy(dptr, buffer, faclen); in rose_write_internal()
150 dptr += faclen; in rose_write_internal()
154 *dptr++ = ROSE_GFI | lci1; in rose_write_internal()
155 *dptr++ = lci2; in rose_write_internal()
156 *dptr++ = frametype; in rose_write_internal()
157 *dptr++ = 0x00; /* Address length */ in rose_write_internal()
158 *dptr++ = 0; /* Facilities length */ in rose_write_internal()
162 *dptr++ = ROSE_GFI | lci1; in rose_write_internal()
163 *dptr++ = lci2; in rose_write_internal()
164 *dptr++ = frametype; in rose_write_internal()
165 *dptr++ = rose->cause; in rose_write_internal()
166 *dptr++ = rose->diagnostic; in rose_write_internal()
170 *dptr++ = ROSE_GFI | lci1; in rose_write_internal()
171 *dptr++ = lci2; in rose_write_internal()
172 *dptr++ = frametype; in rose_write_internal()
173 *dptr++ = ROSE_DTE_ORIGINATED; in rose_write_internal()
174 *dptr++ = 0; in rose_write_internal()
179 *dptr++ = ROSE_GFI | lci1; in rose_write_internal()
180 *dptr++ = lci2; in rose_write_internal()
181 *dptr = frametype; in rose_write_internal()
182 *dptr++ |= (rose->vr << 5) & 0xE0; in rose_write_internal()
187 *dptr++ = ROSE_GFI | lci1; in rose_write_internal()
188 *dptr++ = lci2; in rose_write_internal()
189 *dptr++ = frametype; in rose_write_internal()