• Home
  • Raw
  • Download

Lines Matching refs:peer

199 		struct inet_peer *peer = rt_get_peer(rt);  in tcp_v4_connect()  local
206 if (peer != NULL && in tcp_v4_connect()
207 peer->tcp_ts_stamp + TCP_PAWS_MSL >= get_seconds()) { in tcp_v4_connect()
208 tp->rx_opt.ts_recent_stamp = peer->tcp_ts_stamp; in tcp_v4_connect()
209 tp->rx_opt.ts_recent = peer->tcp_ts; in tcp_v4_connect()
1260 struct inet_peer *peer = NULL; in tcp_v4_conn_request() local
1274 (peer = rt_get_peer((struct rtable *)dst)) != NULL && in tcp_v4_conn_request()
1275 peer->v4daddr == saddr) { in tcp_v4_conn_request()
1276 if (get_seconds() < peer->tcp_ts_stamp + TCP_PAWS_MSL && in tcp_v4_conn_request()
1277 (s32)(peer->tcp_ts - req->ts_recent) > in tcp_v4_conn_request()
1287 (!peer || !peer->tcp_ts_stamp) && in tcp_v4_conn_request()
1680 struct inet_peer *peer = NULL; in tcp_v4_remember_stamp() local
1684 peer = inet_getpeer(inet->daddr, 1); in tcp_v4_remember_stamp()
1687 if (!rt->peer) in tcp_v4_remember_stamp()
1689 peer = rt->peer; in tcp_v4_remember_stamp()
1692 if (peer) { in tcp_v4_remember_stamp()
1693 if ((s32)(peer->tcp_ts - tp->rx_opt.ts_recent) <= 0 || in tcp_v4_remember_stamp()
1694 (peer->tcp_ts_stamp + TCP_PAWS_MSL < get_seconds() && in tcp_v4_remember_stamp()
1695 peer->tcp_ts_stamp <= tp->rx_opt.ts_recent_stamp)) { in tcp_v4_remember_stamp()
1696 peer->tcp_ts_stamp = tp->rx_opt.ts_recent_stamp; in tcp_v4_remember_stamp()
1697 peer->tcp_ts = tp->rx_opt.ts_recent; in tcp_v4_remember_stamp()
1700 inet_putpeer(peer); in tcp_v4_remember_stamp()
1709 struct inet_peer *peer = inet_getpeer(tw->tw_daddr, 1); in tcp_v4_tw_remember_stamp() local
1711 if (peer) { in tcp_v4_tw_remember_stamp()
1714 if ((s32)(peer->tcp_ts - tcptw->tw_ts_recent) <= 0 || in tcp_v4_tw_remember_stamp()
1715 (peer->tcp_ts_stamp + TCP_PAWS_MSL < get_seconds() && in tcp_v4_tw_remember_stamp()
1716 peer->tcp_ts_stamp <= tcptw->tw_ts_recent_stamp)) { in tcp_v4_tw_remember_stamp()
1717 peer->tcp_ts_stamp = tcptw->tw_ts_recent_stamp; in tcp_v4_tw_remember_stamp()
1718 peer->tcp_ts = tcptw->tw_ts_recent; in tcp_v4_tw_remember_stamp()
1720 inet_putpeer(peer); in tcp_v4_tw_remember_stamp()