Searched refs:th_delta (Results 1 – 2 of 2) sorted by relevance
98 int th_delta = delta - (delta & 3); in account_payload_len() local99 if (th_delta + sizeof(click_tcp) > (15 << 2)) in account_payload_len()100 th_delta = (15 << 2) - sizeof(click_tcp); in account_payload_len()101 if (!(d.p = d.p->put(th_delta))) in account_payload_len()105 memmove(tx + th_delta, tx, d.p->end_data() - (tx + th_delta)); in account_payload_len()106 memset(tx, TCPOPT_EOL, th_delta); in account_payload_len()107 d.p->tcp_header()->th_off = (sizeof(click_tcp) + th_delta) >> 2; in account_payload_len()108 delta -= th_delta; in account_payload_len()
465 th_delta = th_arc / n_segs; in _ring_wedge()466 t = (8.0 / 3.0) * sin (th_delta * 0.25) * sin (th_delta * 0.25) / sin (th_delta * 0.5); in _ring_wedge()478 th_out += th_delta; in _ring_wedge()510 th_in -= th_delta; in _ring_wedge()1343 double th_arc, th, th_delta, t; in _path_arc() local1360 th_delta = th_arc / n_segs; in _path_arc()1361 t = (8.0 / 3.0) * sin (th_delta * 0.25) * sin (th_delta * 0.25) / sin (th_delta * 0.5); in _path_arc()1364 x = cx + rx * cos (th + th_delta); in _path_arc()1365 y = cy + ry * sin (th + th_delta); in _path_arc()1369 x + rx * t * sin (th + th_delta), in _path_arc()[all …]