Home
last modified time | relevance | path

Searched refs:inet_rsk (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.h161 inet_rsk(oreq)->ir_rmt_port = source; in chtls_set_req_port()
162 inet_rsk(oreq)->ir_num = ntohs(dest); in chtls_set_req_port()
168 inet_rsk(oreq)->ir_loc_addr = local_ip; in chtls_set_req_addr()
169 inet_rsk(oreq)->ir_rmt_addr = peer_ip; in chtls_set_req_addr()
H A Dchtls_cm.c1150 fl6.fl6_dport = inet_rsk(oreq)->ir_rmt_port; in chtls_recv_sock()
1151 fl6.fl6_sport = htons(inet_rsk(oreq)->ir_num); in chtls_recv_sock()
1196 struct inet_request_sock *treq = inet_rsk(oreq); in chtls_recv_sock()
1380 inet_rsk(oreq)->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; in chtls_pass_accept_request()
1381 inet_rsk(oreq)->ir_v6_loc_addr = ipv6_hdr(skb)->daddr; in chtls_pass_accept_request()
1387 inet_rsk(oreq)->wscale_ok = 1; in chtls_pass_accept_request()
1388 inet_rsk(oreq)->snd_wscale = req->tcpopt.wsf; in chtls_pass_accept_request()
1390 inet_rsk(oreq)->ir_iif = sk->sk_bound_dev_if; in chtls_pass_accept_request()
1396 inet_rsk(oreq)->ecn_ok = 1; in chtls_pass_accept_request()
/openbmc/linux/net/dccp/
H A Dminisocks.c263 inet_rsk(req)->ir_rmt_port = dccp_hdr(skb)->dccph_sport; in dccp_reqsk_init()
264 inet_rsk(req)->ir_num = ntohs(dccp_hdr(skb)->dccph_dport); in dccp_reqsk_init()
265 inet_rsk(req)->acked = 0; in dccp_reqsk_init()
H A Doutput.c423 if (inet_rsk(req)->acked) /* increase GSS upon retransmission */ in dccp_make_response()
438 dh->dccph_sport = htons(inet_rsk(req)->ir_num); in dccp_make_response()
439 dh->dccph_dport = inet_rsk(req)->ir_rmt_port; in dccp_make_response()
451 inet_rsk(req)->acked = 1; in dccp_make_response()
H A Dipv6.c198 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_send_response()
255 kfree(inet_rsk(req)->ipv6_opt); in dccp_v6_reqsk_destructor()
256 kfree_skb(inet_rsk(req)->pktopts); in dccp_v6_reqsk_destructor()
363 ireq = inet_rsk(req); in dccp_v6_conn_request()
422 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_request_recv_sock()
H A Dipv4.c426 ireq = inet_rsk(req); in dccp_v4_request_recv_sock()
505 const struct inet_request_sock *ireq = inet_rsk(req); in dccp_v4_send_response()
575 kfree(rcu_dereference_protected(inet_rsk(req)->ireq_opt, 1)); in dccp_v4_reqsk_destructor()
632 ireq = inet_rsk(req); in dccp_v4_conn_request()
/openbmc/linux/net/ipv4/
H A Dinet_connection_sock.c810 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_req()
846 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_child_sock()
895 *resend = !inet_rsk(req)->acked || in syn_ack_recalc()
962 inet_rsk(req)->ipv6_opt = NULL; in reqsk_migrate_reset()
963 inet_rsk(req)->pktopts = NULL; in reqsk_migrate_reset()
965 inet_rsk(req)->ireq_opt = NULL; in reqsk_migrate_reset()
1090 inet_rsk(req)->acked)) { in reqsk_timer_handler()
1193 inet_sk(newsk)->inet_dport = inet_rsk(req)->ir_rmt_port; in inet_csk_clone_lock()
1194 inet_sk(newsk)->inet_num = inet_rsk(req)->ir_num; in inet_csk_clone_lock()
1202 newsk->sk_mark = inet_rsk(req)->ir_mark; in inet_csk_clone_lock()
[all …]
H A Dtcp_minisocks.c389 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init_rwin()
428 tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; in tcp_ecn_openreq_child()
468 ireq = inet_rsk(req); in smc_check_reset_syn_req()
486 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_create_openreq_child()
795 inet_rsk(req)->acked = 1; in tcp_check_req()
827 inet_rsk(req)->acked = 1; in tcp_check_req()
H A Dtcp_metrics.c261 inetpeer_set_addr_v4(&saddr, inet_rsk(req)->ir_loc_addr); in __tcp_get_metrics_req()
262 inetpeer_set_addr_v4(&daddr, inet_rsk(req)->ir_rmt_addr); in __tcp_get_metrics_req()
263 hash = ipv4_addr_hash(inet_rsk(req)->ir_rmt_addr); in __tcp_get_metrics_req()
267 inetpeer_set_addr_v6(&saddr, &inet_rsk(req)->ir_v6_loc_addr); in __tcp_get_metrics_req()
268 inetpeer_set_addr_v6(&daddr, &inet_rsk(req)->ir_v6_rmt_addr); in __tcp_get_metrics_req()
269 hash = ipv6_addr_hash(&inet_rsk(req)->ir_v6_rmt_addr); in __tcp_get_metrics_req()
H A Dsyncookies.c64 const struct inet_request_sock *ireq = inet_rsk(req); in cookie_init_timestamp()
371 ireq = inet_rsk(req); in cookie_v4_check()
H A Dtcp_ipv4.c996 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v4_reqsk_send_ack()
1001 inet_rsk(req)->no_srccheck ? IP_REPLY_ARG_NOSRCCHECK : 0, in tcp_v4_reqsk_send_ack()
1018 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_send_synack()
1059 kfree(rcu_dereference_protected(inet_rsk(req)->ireq_opt, 1)); in tcp_v4_reqsk_destructor()
1496 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_init_req()
1592 ireq = inet_rsk(req); in tcp_v4_syn_recv_sock()
2646 const struct inet_request_sock *ireq = inet_rsk(req); in get_openreq4()
H A Dcipso_ipv4.c1957 req_inet = inet_rsk(req); in cipso_v4_req_setattr()
2075 cipso_v4_delopt(&inet_rsk(req)->ireq_opt); in cipso_v4_req_delattr()
H A Dinet_diag.c486 inet_rsk(reqsk)->ir_mark)) { in inet_req_diag_fill()
804 entry.mark = inet_rsk(inet_reqsk(sk))->ir_mark; in inet_diag_bc_sk()
H A Dtcp_timer.c721 struct net *net = read_pnet(&inet_rsk(req)->ireq_net); in tcp_syn_ack_timeout()
H A Dtcp_input.c6860 struct inet_request_sock *ireq = inet_rsk(req); in pr_drop_req()
6910 inet_rsk(req)->ecn_ok = 1; in tcp_ecn_create_request()
6917 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init()
6949 struct inet_request_sock *ireq = inet_rsk(req); in inet_reqsk_alloc()
7123 inet_rsk(req)->no_srccheck = inet_test_bit(TRANSPARENT, sk); in tcp_conn_request()
7126 inet_rsk(req)->ir_iif = inet_request_bound_dev_if(sk, skb); in tcp_conn_request()
7163 inet_rsk(req)->ecn_ok = 0; in tcp_conn_request()
H A Dtcp_output.c367 if (inet_rsk(req)->ecn_ok) in tcp_ecn_make_synack()
860 struct inet_request_sock *ireq = inet_rsk(req); in tcp_synack_options()
3642 struct inet_request_sock *ireq = inet_rsk(req); in tcp_make_synack()
/openbmc/linux/net/ipv6/
H A Dtcp_ipv6.c527 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_send_synack()
576 kfree(inet_rsk(req)->ipv6_opt); in tcp_v6_reqsk_destructor()
577 consume_skb(inet_rsk(req)->pktopts); in tcp_v6_reqsk_destructor()
781 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_init_req()
1123 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v6_reqsk_send_ack()
1264 ireq = inet_rsk(req); in tcp_v6_syn_recv_sock()
1961 const struct in6_addr *src = &inet_rsk(req)->ir_v6_loc_addr; in get_openreq6()
1962 const struct in6_addr *dest = &inet_rsk(req)->ir_v6_rmt_addr; in get_openreq6()
1973 inet_rsk(req)->ir_num, in get_openreq6()
1976 ntohs(inet_rsk(req)->ir_rmt_port), in get_openreq6()
H A Dinet6_connection_sock.c32 struct inet_request_sock *ireq = inet_rsk(req); in inet6_csk_route_req()
H A Dsyncookies.c179 ireq = inet_rsk(req); in cookie_v6_check()
H A Dcalipso.c1194 struct inet_request_sock *req_inet = inet_rsk(req); in calipso_req_setattr()
1233 struct inet_request_sock *req_inet = inet_rsk(req); in calipso_req_delattr()
/openbmc/linux/include/net/
H A Dinet_sock.h103 static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk) in inet_rsk() function
H A Dtcp.h2045 return inet_rsk(inet_reqsk(sk))->no_srccheck; in inet_sk_transparent()
/openbmc/linux/include/trace/events/
H A Dtcp.h209 struct inet_request_sock *ireq = inet_rsk(req);
/openbmc/linux/net/netlabel/
H A Dnetlabel_kapi.c1190 struct inet_request_sock *ireq = inet_rsk(req); in netlbl_req_setattr()
/openbmc/linux/net/mptcp/
H A Dsubflow.c330 struct inet_request_sock *ireq = inet_rsk(req); in subflow_prep_synack()