Home
last modified time | relevance | path

Searched refs:ctl_sk (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/dccp/
Dipv4.c531 struct sock *ctl_sk; in dccp_v4_ctl_send_reset() local
541 ctl_sk = pn->v4_ctl_sk; in dccp_v4_ctl_send_reset()
542 dst = dccp_v4_route_skb(net, ctl_sk, rxskb); in dccp_v4_ctl_send_reset()
546 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v4_ctl_send_reset()
556 bh_lock_sock(ctl_sk); in dccp_v4_ctl_send_reset()
557 err = ip_build_and_send_pkt(skb, ctl_sk, in dccp_v4_ctl_send_reset()
559 inet_sk(ctl_sk)->tos); in dccp_v4_ctl_send_reset()
560 bh_unlock_sock(ctl_sk); in dccp_v4_ctl_send_reset()
Dipv6.c265 struct sock *ctl_sk; in dccp_v6_ctl_send_reset() local
275 ctl_sk = pn->v6_ctl_sk; in dccp_v6_ctl_send_reset()
276 skb = dccp_ctl_make_reset(ctl_sk, rxskb); in dccp_v6_ctl_send_reset()
295 dst = ip6_dst_lookup_flow(sock_net(ctl_sk), ctl_sk, &fl6, NULL); in dccp_v6_ctl_send_reset()
298 ip6_xmit(ctl_sk, skb, &fl6, 0, NULL, 0, 0); in dccp_v6_ctl_send_reset()
/linux-6.1.9/net/ipv4/
Dtcp_ipv4.c693 struct sock *ctl_sk; in tcp_v4_send_reset() local
823 ctl_sk = this_cpu_read(ipv4_tcp_sk); in tcp_v4_send_reset()
824 sock_net_set(ctl_sk, net); in tcp_v4_send_reset()
826 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset()
828 ctl_sk->sk_priority = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset()
831 xfrm_sk_clone_policy(ctl_sk, sk); in tcp_v4_send_reset()
833 ip_send_unicast_reply(ctl_sk, in tcp_v4_send_reset()
839 ctl_sk->sk_mark = 0; in tcp_v4_send_reset()
840 xfrm_sk_free_policy(ctl_sk); in tcp_v4_send_reset()
841 sock_net_set(ctl_sk, &init_net); in tcp_v4_send_reset()
[all …]
/linux-6.1.9/net/ipv6/
Dtcp_ipv6.c858 struct sock *ctl_sk = net->ipv6.tcp_sk; in tcp_v6_send_response() local
965 dst = ip6_dst_lookup_flow(net, ctl_sk, &fl6, NULL); in tcp_v6_send_response()
968 ip6_xmit(ctl_sk, buff, &fl6, fl6.flowi6_mark, NULL, in tcp_v6_send_response()