Lines Matching defs:tipc_sock
73 * struct tipc_sock - TIPC socket structure
94 * @rcu: rcu struct for tipc_sock
96 struct tipc_sock {
140 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope,
142 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
144 static int tipc_sk_leave(struct tipc_sock *tsk);
145 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
146 static int tipc_sk_insert(struct tipc_sock *tsk);
147 static void tipc_sk_remove(struct tipc_sock *tsk);
150 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack);
159 static u32 tsk_own_node(struct tipc_sock *tsk)
164 static u32 tsk_peer_node(struct tipc_sock *tsk)
169 static u32 tsk_peer_port(struct tipc_sock *tsk)
174 static bool tsk_unreliable(struct tipc_sock *tsk)
179 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable)
184 static bool tsk_unreturnable(struct tipc_sock *tsk)
189 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable)
194 static int tsk_importance(struct tipc_sock *tsk)
199 static struct tipc_sock *tipc_sk(const struct sock *sk)
201 return container_of(sk, struct tipc_sock, sk);
212 static bool tsk_conn_cong(struct tipc_sock *tsk)
235 static u16 tsk_inc(struct tipc_sock *tsk, int msglen)
244 static void tsk_set_nagle(struct tipc_sock *tsk)
323 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg)
452 struct tipc_sock *tsk;
531 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu);
540 struct tipc_sock *tsk = tipc_sk(sk);
616 struct tipc_sock *tsk;
668 struct tipc_sock *tsk = tipc_sk(sk);
728 struct tipc_sock *tsk = tipc_sk(sk);
772 struct tipc_sock *tsk = tipc_sk(sk);
824 struct tipc_sock *tsk = tipc_sk(sk);
884 static int tipc_send_group_msg(struct net *net, struct tipc_sock *tsk,
941 struct tipc_sock *tsk = tipc_sk(sk);
984 struct tipc_sock *tsk = tipc_sk(sk);
1070 struct tipc_sock *tsk = tipc_sk(sk);
1143 struct tipc_sock *tsk = tipc_sk(sk);
1264 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack)
1316 static void tipc_sk_conn_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb,
1401 struct tipc_sock *tsk = tipc_sk(sk);
1553 struct tipc_sock *tsk = tipc_sk(sk);
1652 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port,
1728 struct tipc_sock *tsk)
1793 static struct sk_buff *tipc_sk_build_ack(struct tipc_sock *tsk)
1820 static void tipc_sk_send_ack(struct tipc_sock *tsk)
1889 struct tipc_sock *tsk = tipc_sk(sk);
2016 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);
2481 struct tipc_sock *tsk;
2570 struct tipc_sock *tsk = tipc_sk(sk);
2715 struct tipc_sock *new_tsock;
2821 struct tipc_sock *tsk = tipc_sk(sk);
2846 struct tipc_sock *tsk = tipc_sk(sk);
2861 struct tipc_sock *tsk = tipc_sk(sk);
2895 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope,
2923 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
2965 struct tipc_sock *tsk;
2991 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid)
2994 struct tipc_sock *tsk;
3005 static int tipc_sk_insert(struct tipc_sock *tsk)
3028 static void tipc_sk_remove(struct tipc_sock *tsk)
3041 .head_offset = offsetof(struct tipc_sock, node),
3042 .key_offset = offsetof(struct tipc_sock, portid),
3066 static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq)
3104 static int tipc_sk_leave(struct tipc_sock *tsk)
3137 struct tipc_sock *tsk = tipc_sk(sk);
3231 struct tipc_sock *tsk = tipc_sk(sk);
3328 struct tipc_sock *tsk2 = tipc_sk(sock2->sk);
3329 struct tipc_sock *tsk1 = tipc_sk(sock1->sk);
3422 .obj_size = sizeof(struct tipc_sock),
3461 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk)
3497 static int __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock
3519 struct tipc_sock *tsk)
3552 struct tipc_sock *tsk))
3555 struct tipc_sock *tsk;
3623 struct tipc_sock *tsk, u32 sk_filter_state,
3738 struct tipc_sock *tsk, u32 *last_publ)
3783 struct tipc_sock *tsk;
3837 struct tipc_sock *tsk;
3940 struct tipc_sock *tsk;