Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
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()
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()
/linux-6.1.9/net/dccp/
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()
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()
Dipv6.c197 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_send_response()
254 kfree(inet_rsk(req)->ipv6_opt); in dccp_v6_reqsk_destructor()
255 kfree_skb(inet_rsk(req)->pktopts); in dccp_v6_reqsk_destructor()
365 ireq = inet_rsk(req); in dccp_v6_conn_request()
418 struct inet_request_sock *ireq = inet_rsk(req); in dccp_v6_request_recv_sock()
Dipv4.c426 ireq = inet_rsk(req); in dccp_v4_request_recv_sock()
504 const struct inet_request_sock *ireq = inet_rsk(req); in dccp_v4_send_response()
574 kfree(rcu_dereference_protected(inet_rsk(req)->ireq_opt, 1)); in dccp_v4_reqsk_destructor()
634 ireq = inet_rsk(req); in dccp_v4_conn_request()
/linux-6.1.9/net/ipv4/
Dinet_connection_sock.c765 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_req()
801 const struct inet_request_sock *ireq = inet_rsk(req); in inet_csk_route_child_sock()
845 (!inet_rsk(req)->acked || req->num_timeout >= rskq_defer_accept); in syn_ack_recalc()
850 *resend = !inet_rsk(req)->acked || in syn_ack_recalc()
917 inet_rsk(req)->ipv6_opt = NULL; in reqsk_migrate_reset()
918 inet_rsk(req)->pktopts = NULL; in reqsk_migrate_reset()
920 inet_rsk(req)->ireq_opt = NULL; in reqsk_migrate_reset()
1035 inet_rsk(req)->acked)) { in reqsk_timer_handler()
1129 inet_sk(newsk)->inet_dport = inet_rsk(req)->ir_rmt_port; in inet_csk_clone_lock()
1130 inet_sk(newsk)->inet_num = inet_rsk(req)->ir_num; in inet_csk_clone_lock()
[all …]
Dtcp_minisocks.c378 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init_rwin()
417 tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; in tcp_ecn_openreq_child()
457 ireq = inet_rsk(req); in smc_check_reset_syn_req()
475 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_create_openreq_child()
775 inet_rsk(req)->acked = 1; in tcp_check_req()
807 inet_rsk(req)->acked = 1; in tcp_check_req()
Dtcp_metrics.c241 inetpeer_set_addr_v4(&saddr, inet_rsk(req)->ir_loc_addr); in __tcp_get_metrics_req()
242 inetpeer_set_addr_v4(&daddr, inet_rsk(req)->ir_rmt_addr); in __tcp_get_metrics_req()
243 hash = ipv4_addr_hash(inet_rsk(req)->ir_rmt_addr); in __tcp_get_metrics_req()
247 inetpeer_set_addr_v6(&saddr, &inet_rsk(req)->ir_v6_loc_addr); in __tcp_get_metrics_req()
248 inetpeer_set_addr_v6(&daddr, &inet_rsk(req)->ir_v6_rmt_addr); in __tcp_get_metrics_req()
249 hash = ipv6_addr_hash(&inet_rsk(req)->ir_v6_rmt_addr); in __tcp_get_metrics_req()
Dsyncookies.c69 ireq = inet_rsk(req); in cookie_init_timestamp()
377 ireq = inet_rsk(req); in cookie_v4_check()
Dtcp_ipv4.c984 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v4_reqsk_send_ack()
989 inet_rsk(req)->no_srccheck ? IP_REPLY_ARG_NOSRCCHECK : 0, in tcp_v4_reqsk_send_ack()
1005 const struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_send_synack()
1046 kfree(rcu_dereference_protected(inet_rsk(req)->ireq_opt, 1)); in tcp_v4_reqsk_destructor()
1426 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v4_init_req()
1522 ireq = inet_rsk(req); in tcp_v4_syn_recv_sock()
2569 const struct inet_request_sock *ireq = inet_rsk(req); in get_openreq4()
Dtcp_timer.c649 struct net *net = read_pnet(&inet_rsk(req)->ireq_net); in tcp_syn_ack_timeout()
Dcipso_ipv4.c1957 req_inet = inet_rsk(req); in cipso_v4_req_setattr()
2071 cipso_v4_delopt(&inet_rsk(req)->ireq_opt); in cipso_v4_req_delattr()
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()
Dtcp_input.c6705 struct inet_request_sock *ireq = inet_rsk(req); in pr_drop_req()
6755 inet_rsk(req)->ecn_ok = 1; in tcp_ecn_create_request()
6762 struct inet_request_sock *ireq = inet_rsk(req); in tcp_openreq_init()
6794 struct inet_request_sock *ireq = inet_rsk(req); in inet_reqsk_alloc()
6960 inet_rsk(req)->no_srccheck = inet_sk(sk)->transparent; in tcp_conn_request()
6963 inet_rsk(req)->ir_iif = inet_request_bound_dev_if(sk, skb); in tcp_conn_request()
7000 inet_rsk(req)->ecn_ok = 0; in tcp_conn_request()
Dtcp_output.c356 if (inet_rsk(req)->ecn_ok) in tcp_ecn_make_synack()
849 struct inet_request_sock *ireq = inet_rsk(req); in tcp_synack_options()
3527 struct inet_request_sock *ireq = inet_rsk(req); in tcp_make_synack()
/linux-6.1.9/net/ipv6/
Dtcp_ipv6.c533 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_send_synack()
582 kfree(inet_rsk(req)->ipv6_opt); in tcp_v6_reqsk_destructor()
583 consume_skb(inet_rsk(req)->pktopts); in tcp_v6_reqsk_destructor()
788 struct inet_request_sock *ireq = inet_rsk(req); in tcp_v6_init_req()
1130 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v6_reqsk_send_ack()
1270 ireq = inet_rsk(req); in tcp_v6_syn_recv_sock()
1969 const struct in6_addr *src = &inet_rsk(req)->ir_v6_loc_addr; in get_openreq6()
1970 const struct in6_addr *dest = &inet_rsk(req)->ir_v6_rmt_addr; in get_openreq6()
1981 inet_rsk(req)->ir_num, in get_openreq6()
1984 ntohs(inet_rsk(req)->ir_rmt_port), in get_openreq6()
Dinet6_connection_sock.c32 struct inet_request_sock *ireq = inet_rsk(req); in inet6_csk_route_req()
Dsyncookies.c179 ireq = inet_rsk(req); in cookie_v6_check()
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()
/linux-6.1.9/include/net/
Dinet_sock.h103 static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk) in inet_rsk() function
Dtcp.h1992 return inet_rsk(inet_reqsk(sk))->no_srccheck; in inet_sk_transparent()
/linux-6.1.9/include/trace/events/
Dtcp.h209 struct inet_request_sock *ireq = inet_rsk(req);
/linux-6.1.9/net/netlabel/
Dnetlabel_kapi.c1189 struct inet_request_sock *ireq = inet_rsk(req); in netlbl_req_setattr()