Lines Matching refs:sock_common
99 static void local_address(const struct sock_common *skc, in local_address()
112 static void remote_address(const struct sock_common *skc, in remote_address()
130 struct sock_common *skc; in lookup_subflow_by_saddr()
133 skc = (struct sock_common *)mptcp_subflow_tcp_sock(subflow); in lookup_subflow_by_saddr()
148 struct sock_common *skc; in lookup_subflow_by_daddr()
151 skc = (struct sock_common *)mptcp_subflow_tcp_sock(subflow); in lookup_subflow_by_daddr()
288 local_address((struct sock_common *)sk, &saddr); in mptcp_pm_sport_in_anno_list()
444 remote_address((struct sock_common *)sk, &remote); in fill_remote_addresses_vec()
450 remote_address((struct sock_common *)ssk, &remote); in fill_remote_addresses_vec()
670 local_address((struct sock_common *)ssk, &local); in mptcp_pm_nl_mp_prio_send_ack()
907 int mptcp_pm_nl_get_local_id(struct mptcp_sock *msk, struct sock_common *skc) in mptcp_pm_nl_get_local_id()
921 local_address((struct sock_common *)msk, &msk_local); in mptcp_pm_nl_get_local_id()
922 local_address((struct sock_common *)skc, &skc_local); in mptcp_pm_nl_get_local_id()
1319 local_address((struct sock_common *)msk, &msk_local); in mptcp_nl_remove_id_zero_address()