Lines Matching refs:dopt
89 int __ip_options_echo(struct ip_options *dopt, struct sk_buff *skb, in __ip_options_echo() argument
96 memset(dopt, 0, sizeof(struct ip_options)); in __ip_options_echo()
102 dptr = dopt->__data; in __ip_options_echo()
107 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
113 dopt->rr_needaddr = 1; in __ip_options_echo()
116 dopt->optlen += optlen; in __ip_options_echo()
121 dopt->ts = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
127 dopt->ts_needaddr = 1; in __ip_options_echo()
134 dopt->ts_needtime = 1; in __ip_options_echo()
137 dopt->ts_needtime = 0; in __ip_options_echo()
144 dopt->ts_needtime = 1; in __ip_options_echo()
153 dopt->optlen += optlen; in __ip_options_echo()
180 dopt->faddr = faddr; in __ip_options_echo()
185 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
186 dopt->optlen += doffset+3; in __ip_options_echo()
187 dopt->is_strictroute = sopt->is_strictroute; in __ip_options_echo()
192 dopt->cipso = dopt->optlen+sizeof(struct iphdr); in __ip_options_echo()
195 dopt->optlen += optlen; in __ip_options_echo()
197 while (dopt->optlen & 3) { in __ip_options_echo()
199 dopt->optlen++; in __ip_options_echo()