Lines Matching refs:ts
59 ip_rt_get_source(iph+opt->ts+iph[opt->ts+2]-9, skb, rt); in ip_options_build()
64 memcpy(iph+opt->ts+iph[opt->ts+2]-5, &midtime, 4); in ip_options_build()
73 if (opt->ts) { in ip_options_build()
74 memset(iph+opt->ts, IPOPT_NOP, iph[opt->ts+1]); in ip_options_build()
75 opt->ts = 0; in ip_options_build()
118 if (sopt->ts) { in __ip_options_echo()
119 optlen = sptr[sopt->ts+1]; in __ip_options_echo()
120 soffset = sptr[sopt->ts+2]; in __ip_options_echo()
121 dopt->ts = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
122 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo()
234 opt->ts = 0; in ip_options_fragment()
354 if (opt->ts) { in ip_options_compile()
434 opt->ts = optptr - iph; in ip_options_compile()
496 if (opt->ts) { in ip_options_undo()
497 unsigned char *optptr = opt->__data+opt->ts-sizeof(struct iphdr); in ip_options_undo()
594 optptr = raw + opt->ts; in ip_forward_options()