Home
last modified time | relevance | path

Searched refs:ssk (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c264 static bool __mptcp_move_skb(struct mptcp_sock *msk, struct sock *ssk, in __mptcp_move_skb() argument
268 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in __mptcp_move_skb()
272 __skb_unlink(skb, &ssk->sk_receive_queue); in __mptcp_move_skb()
281 if (ssk->sk_forward_alloc < amount) in __mptcp_move_skb()
284 ssk->sk_forward_alloc -= amount; in __mptcp_move_skb()
383 static void mptcp_set_timeout(const struct sock *sk, const struct sock *ssk) in mptcp_set_timeout() argument
385 long tout = ssk && inet_csk(ssk)->icsk_pending ? in mptcp_set_timeout()
386 inet_csk(ssk)->icsk_timeout - jiffies : 0; in mptcp_set_timeout()
443 struct sock *ssk = mptcp_subflow_tcp_sock(subflow); in mptcp_check_data_fin() local
445 lock_sock(ssk); in mptcp_check_data_fin()
[all …]
Dsubflow.c273 void mptcp_subflow_reset(struct sock *ssk) in mptcp_subflow_reset() argument
275 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in mptcp_subflow_reset()
278 tcp_set_state(ssk, TCP_CLOSE); in mptcp_subflow_reset()
279 tcp_send_active_reset(ssk, GFP_ATOMIC); in mptcp_subflow_reset()
280 tcp_done(ssk); in mptcp_subflow_reset()
501 static void subflow_drop_ctx(struct sock *ssk) in subflow_drop_ctx() argument
503 struct mptcp_subflow_context *ctx = mptcp_subflow_ctx(ssk); in subflow_drop_ctx()
508 subflow_ulp_fallback(ssk, ctx); in subflow_drop_ctx()
690 static bool skb_is_fully_mapped(struct sock *ssk, struct sk_buff *skb) in skb_is_fully_mapped() argument
692 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in skb_is_fully_mapped()
[all …]
Dprotocol.h369 void mptcp_subflow_shutdown(struct sock *sk, struct sock *ssk, int how);
370 void __mptcp_close_ssk(struct sock *sk, struct sock *ssk,
373 void mptcp_subflow_reset(struct sock *ssk);
407 void mptcp_rcv_space_init(struct mptcp_sock *msk, const struct sock *ssk);
408 void mptcp_data_ready(struct sock *sk, struct sock *ssk);
Dpm_netlink.c414 struct sock *ssk = mptcp_subflow_tcp_sock(subflow); in mptcp_pm_nl_rm_addr_received() local
422 mptcp_subflow_shutdown(sk, ssk, how); in mptcp_pm_nl_rm_addr_received()
423 __mptcp_close_ssk(sk, ssk, subflow, timeout); in mptcp_pm_nl_rm_addr_received()
450 struct sock *ssk = mptcp_subflow_tcp_sock(subflow); in mptcp_pm_nl_rm_subflow_received() local
458 mptcp_subflow_shutdown(sk, ssk, how); in mptcp_pm_nl_rm_subflow_received()
459 __mptcp_close_ssk(sk, ssk, subflow, timeout); in mptcp_pm_nl_rm_subflow_received()
Doptions.c723 static bool check_fully_established(struct mptcp_sock *msk, struct sock *ssk, in check_fully_established() argument
740 tcp_send_ack(ssk); in check_fully_established()
787 clear_3rdack_retransmission(ssk); in check_fully_established()
795 mptcp_subflow_reset(ssk); in check_fully_established()
/kernel/linux/linux-5.10/include/linux/
Dnetlink.h154 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
155 int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
157 int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
161 int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
168 long *timeo, struct sock *ssk);
246 int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
249 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, in netlink_dump_start() argument
256 return __netlink_dump_start(ssk, skb, nlh, control); in netlink_dump_start()
/kernel/linux/linux-5.10/net/netlink/
Daf_netlink.c1143 static struct sock *netlink_getsockbyportid(struct sock *ssk, u32 portid) in netlink_getsockbyportid() argument
1148 sock = netlink_lookup(sock_net(ssk), ssk->sk_protocol, portid); in netlink_getsockbyportid()
1155 nlk->dst_portid != nlk_sk(ssk)->portid) { in netlink_getsockbyportid()
1214 long *timeo, struct sock *ssk) in netlink_attachskb() argument
1224 if (!ssk || netlink_is_kernel(ssk)) in netlink_attachskb()
1302 struct sock *ssk) in netlink_unicast_kernel() argument
1311 NETLINK_CB(skb).sk = ssk; in netlink_unicast_kernel()
1312 netlink_deliver_tap_kernel(sk, ssk, skb); in netlink_unicast_kernel()
1322 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, in netlink_unicast() argument
1331 timeo = sock_sndtimeo(ssk, nonblock); in netlink_unicast()
[all …]
/kernel/linux/linux-5.10/include/net/
Dmptcp.h78 void mptcp_space(const struct sock *ssk, int *space, int *full_space);
203 static inline void mptcp_space(const struct sock *ssk, int *s, int *fs) { } in mptcp_space() argument