Lines Matching refs:tipc_sock
75 * struct tipc_sock - TIPC socket structure
96 * @rcu: rcu struct for tipc_sock
109 struct tipc_sock {
150 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua);
151 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua);
152 static int tipc_sk_leave(struct tipc_sock *tsk);
153 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
154 static int tipc_sk_insert(struct tipc_sock *tsk);
155 static void tipc_sk_remove(struct tipc_sock *tsk);
158 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack);
167 static u32 tsk_own_node(struct tipc_sock *tsk)
172 static u32 tsk_peer_node(struct tipc_sock *tsk)
177 static u32 tsk_peer_port(struct tipc_sock *tsk)
182 static bool tsk_unreliable(struct tipc_sock *tsk)
187 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable)
192 static bool tsk_unreturnable(struct tipc_sock *tsk)
197 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable)
202 static int tsk_importance(struct tipc_sock *tsk)
207 static struct tipc_sock *tipc_sk(const struct sock *sk)
209 return container_of(sk, struct tipc_sock, sk);
220 static bool tsk_conn_cong(struct tipc_sock *tsk)
243 static u16 tsk_inc(struct tipc_sock *tsk, int msglen)
252 static void tsk_set_nagle(struct tipc_sock *tsk)
334 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg)
463 struct tipc_sock *tsk;
542 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu);
551 struct tipc_sock *tsk = tipc_sk(sk);
627 struct tipc_sock *tsk;
677 struct tipc_sock *tsk = tipc_sk(sock->sk);
749 struct tipc_sock *tsk = tipc_sk(sk);
793 struct tipc_sock *tsk = tipc_sk(sk);
845 struct tipc_sock *tsk = tipc_sk(sk);
904 static int tipc_send_group_msg(struct net *net, struct tipc_sock *tsk,
961 struct tipc_sock *tsk = tipc_sk(sk);
1004 struct tipc_sock *tsk = tipc_sk(sk);
1086 struct tipc_sock *tsk = tipc_sk(sk);
1159 struct tipc_sock *tsk = tipc_sk(sk);
1270 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack)
1324 static void tipc_sk_conn_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb,
1409 struct tipc_sock *tsk = tipc_sk(sk);
1558 struct tipc_sock *tsk = tipc_sk(sk);
1657 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port,
1733 struct tipc_sock *tsk)
1789 static struct sk_buff *tipc_sk_build_ack(struct tipc_sock *tsk)
1816 static void tipc_sk_send_ack(struct tipc_sock *tsk)
1886 struct tipc_sock *tsk = tipc_sk(sk);
2014 struct tipc_sock *tsk = tipc_sk(sk);
2149 struct tipc_sock *tsk = tipc_sk(sk);
2190 static bool tipc_sk_filter_connect(struct tipc_sock *tsk, struct sk_buff *skb,
2306 struct tipc_sock *tsk = tipc_sk(sk);
2336 struct tipc_sock *tsk = tipc_sk(sk);
2483 struct tipc_sock *tsk;
2572 struct tipc_sock *tsk = tipc_sk(sk);
2718 struct tipc_sock *new_tsock;
2826 struct tipc_sock *tsk = tipc_sk(sk);
2851 struct tipc_sock *tsk = tipc_sk(sk);
2866 struct tipc_sock *tsk = tipc_sk(sk);
2900 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua)
2925 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua)
2966 struct tipc_sock *tsk;
2992 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid)
2995 struct tipc_sock *tsk;
3006 static int tipc_sk_insert(struct tipc_sock *tsk)
3029 static void tipc_sk_remove(struct tipc_sock *tsk)
3042 .head_offset = offsetof(struct tipc_sock, node),
3043 .key_offset = offsetof(struct tipc_sock, portid),
3067 static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq)
3106 static int tipc_sk_leave(struct tipc_sock *tsk)
3141 struct tipc_sock *tsk = tipc_sk(sk);
3235 struct tipc_sock *tsk = tipc_sk(sk);
3332 struct tipc_sock *tsk2 = tipc_sk(sock2->sk);
3333 struct tipc_sock *tsk1 = tipc_sk(sock1->sk);
3423 .obj_size = sizeof(struct tipc_sock),
3462 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk)
3499 static int __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock
3521 struct tipc_sock *tsk)
3554 struct tipc_sock *tsk))
3557 struct tipc_sock *tsk;
3622 struct tipc_sock *tsk, u32 sk_filter_state,
3737 struct tipc_sock *tsk, u32 *last_publ)
3782 struct tipc_sock *tsk;
3837 struct tipc_sock *tsk;
3941 struct tipc_sock *tsk;