Lines Matching refs:dptr
92 unsigned char *sptr, *dptr; in ip_options_echo() local
105 dptr = dopt->__data; in ip_options_echo()
113 memcpy(dptr, sptr+sopt->rr, optlen); in ip_options_echo()
117 dptr[2] = soffset + 4; in ip_options_echo()
120 dptr += optlen; in ip_options_echo()
127 memcpy(dptr, sptr+sopt->ts, optlen); in ip_options_echo()
138 if ((dptr[3]&0xF) != IPOPT_TS_PRESPEC) { in ip_options_echo()
147 memcpy(&addr, dptr+soffset-1, 4); in ip_options_echo()
155 dptr[2] = soffset; in ip_options_echo()
157 dptr += optlen; in ip_options_echo()
173 memcpy(&dptr[doffset-1], &start[soffset-1], 4); in ip_options_echo()
184 dptr[0] = start[0]; in ip_options_echo()
185 dptr[1] = doffset+3; in ip_options_echo()
186 dptr[2] = 4; in ip_options_echo()
187 dptr += doffset+3; in ip_options_echo()
196 memcpy(dptr, sptr+sopt->cipso, optlen); in ip_options_echo()
197 dptr += optlen; in ip_options_echo()
201 *dptr++ = IPOPT_END; in ip_options_echo()