Lines Matching refs:dopt
77 int __ip_options_echo(struct net *net, struct ip_options *dopt, in __ip_options_echo() argument
84 memset(dopt, 0, sizeof(struct ip_options)); in __ip_options_echo()
90 dptr = dopt->__data; in __ip_options_echo()
95 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
101 dopt->rr_needaddr = 1; in __ip_options_echo()
104 dopt->optlen += optlen; in __ip_options_echo()
109 dopt->ts = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
115 dopt->ts_needaddr = 1; in __ip_options_echo()
122 dopt->ts_needtime = 1; in __ip_options_echo()
125 dopt->ts_needtime = 0; in __ip_options_echo()
132 dopt->ts_needtime = 1; in __ip_options_echo()
141 dopt->optlen += optlen; in __ip_options_echo()
165 dopt->faddr = faddr; in __ip_options_echo()
170 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
171 dopt->optlen += doffset+3; in __ip_options_echo()
172 dopt->is_strictroute = sopt->is_strictroute; in __ip_options_echo()
177 dopt->cipso = dopt->optlen+sizeof(struct iphdr); in __ip_options_echo()
180 dopt->optlen += optlen; in __ip_options_echo()
182 while (dopt->optlen & 3) { in __ip_options_echo()
184 dopt->optlen++; in __ip_options_echo()