Lines Matching refs:dptr
123 unsigned char *dptr; in nr_write_internal() local
153 dptr = skb_put(skb, len); in nr_write_internal()
158 *dptr++ = nr->my_index; in nr_write_internal()
159 *dptr++ = nr->my_id; in nr_write_internal()
160 *dptr++ = 0; in nr_write_internal()
161 *dptr++ = 0; in nr_write_internal()
162 *dptr++ = frametype; in nr_write_internal()
163 *dptr++ = nr->window; in nr_write_internal()
164 memcpy(dptr, &nr->user_addr, AX25_ADDR_LEN); in nr_write_internal()
165 dptr[6] &= ~AX25_CBIT; in nr_write_internal()
166 dptr[6] &= ~AX25_EBIT; in nr_write_internal()
167 dptr[6] |= AX25_SSSID_SPARE; in nr_write_internal()
168 dptr += AX25_ADDR_LEN; in nr_write_internal()
169 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_write_internal()
170 dptr[6] &= ~AX25_CBIT; in nr_write_internal()
171 dptr[6] &= ~AX25_EBIT; in nr_write_internal()
172 dptr[6] |= AX25_SSSID_SPARE; in nr_write_internal()
173 dptr += AX25_ADDR_LEN; in nr_write_internal()
174 *dptr++ = timeout % 256; in nr_write_internal()
175 *dptr++ = timeout / 256; in nr_write_internal()
179 *dptr++ = nr->your_index; in nr_write_internal()
180 *dptr++ = nr->your_id; in nr_write_internal()
181 *dptr++ = nr->my_index; in nr_write_internal()
182 *dptr++ = nr->my_id; in nr_write_internal()
183 *dptr++ = frametype; in nr_write_internal()
184 *dptr++ = nr->window; in nr_write_internal()
186 *dptr++ = READ_ONCE(sysctl_netrom_network_ttl_initialiser); in nr_write_internal()
191 *dptr++ = nr->your_index; in nr_write_internal()
192 *dptr++ = nr->your_id; in nr_write_internal()
193 *dptr++ = 0; in nr_write_internal()
194 *dptr++ = 0; in nr_write_internal()
195 *dptr++ = frametype; in nr_write_internal()
199 *dptr++ = nr->your_index; in nr_write_internal()
200 *dptr++ = nr->your_id; in nr_write_internal()
201 *dptr++ = 0; in nr_write_internal()
202 *dptr++ = nr->vr; in nr_write_internal()
203 *dptr++ = frametype; in nr_write_internal()
216 unsigned char *dptr; in __nr_transmit_reply() local
226 dptr = skb_put(skbn, NR_NETWORK_LEN + NR_TRANSPORT_LEN); in __nr_transmit_reply()
228 skb_copy_from_linear_data_offset(skb, 7, dptr, AX25_ADDR_LEN); in __nr_transmit_reply()
229 dptr[6] &= ~AX25_CBIT; in __nr_transmit_reply()
230 dptr[6] &= ~AX25_EBIT; in __nr_transmit_reply()
231 dptr[6] |= AX25_SSSID_SPARE; in __nr_transmit_reply()
232 dptr += AX25_ADDR_LEN; in __nr_transmit_reply()
234 skb_copy_from_linear_data(skb, dptr, AX25_ADDR_LEN); in __nr_transmit_reply()
235 dptr[6] &= ~AX25_CBIT; in __nr_transmit_reply()
236 dptr[6] |= AX25_EBIT; in __nr_transmit_reply()
237 dptr[6] |= AX25_SSSID_SPARE; in __nr_transmit_reply()
238 dptr += AX25_ADDR_LEN; in __nr_transmit_reply()
240 *dptr++ = READ_ONCE(sysctl_netrom_network_ttl_initialiser); in __nr_transmit_reply()
243 *dptr++ = 0; in __nr_transmit_reply()
244 *dptr++ = 0; in __nr_transmit_reply()
245 *dptr++ = skb->data[15]; in __nr_transmit_reply()
246 *dptr++ = skb->data[16]; in __nr_transmit_reply()
248 *dptr++ = skb->data[15]; in __nr_transmit_reply()
249 *dptr++ = skb->data[16]; in __nr_transmit_reply()
250 *dptr++ = 0; in __nr_transmit_reply()
251 *dptr++ = 0; in __nr_transmit_reply()
254 *dptr++ = cmdflags; in __nr_transmit_reply()
255 *dptr++ = 0; in __nr_transmit_reply()