Lines Matching defs:tipc_sock

75  * struct tipc_sock - TIPC socket structure
97 * @rcu: rcu struct for tipc_sock
110 struct tipc_sock {
153 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua);
154 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua);
155 static int tipc_sk_leave(struct tipc_sock *tsk);
156 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
157 static int tipc_sk_insert(struct tipc_sock *tsk);
158 static void tipc_sk_remove(struct tipc_sock *tsk);
161 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack);
170 static u32 tsk_own_node(struct tipc_sock *tsk)
175 static u32 tsk_peer_node(struct tipc_sock *tsk)
180 static u32 tsk_peer_port(struct tipc_sock *tsk)
185 static bool tsk_unreliable(struct tipc_sock *tsk)
190 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable)
195 static bool tsk_unreturnable(struct tipc_sock *tsk)
200 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable)
205 static int tsk_importance(struct tipc_sock *tsk)
210 static struct tipc_sock *tipc_sk(const struct sock *sk)
212 return container_of(sk, struct tipc_sock, sk);
223 static bool tsk_conn_cong(struct tipc_sock *tsk)
246 static u16 tsk_inc(struct tipc_sock *tsk, int msglen)
255 static void tsk_set_nagle(struct tipc_sock *tsk)
337 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg)
466 struct tipc_sock *tsk;
545 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu);
554 struct tipc_sock *tsk = tipc_sk(sk);
630 struct tipc_sock *tsk;
680 struct tipc_sock *tsk = tipc_sk(sock->sk);
752 struct tipc_sock *tsk = tipc_sk(sk);
796 struct tipc_sock *tsk = tipc_sk(sk);
848 struct tipc_sock *tsk = tipc_sk(sk);
907 static int tipc_send_group_msg(struct net *net, struct tipc_sock *tsk,
964 struct tipc_sock *tsk = tipc_sk(sk);
1007 struct tipc_sock *tsk = tipc_sk(sk);
1090 struct tipc_sock *tsk = tipc_sk(sk);
1163 struct tipc_sock *tsk = tipc_sk(sk);
1275 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack)
1329 static void tipc_sk_conn_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb,
1414 struct tipc_sock *tsk = tipc_sk(sk);
1563 struct tipc_sock *tsk = tipc_sk(sk);
1662 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port,
1738 struct tipc_sock *tsk)
1794 static struct sk_buff *tipc_sk_build_ack(struct tipc_sock *tsk)
1821 static void tipc_sk_send_ack(struct tipc_sock *tsk)
1891 struct tipc_sock *tsk = tipc_sk(sk);
2019 struct tipc_sock *tsk = tipc_sk(sk);
2154 struct tipc_sock *tsk = tipc_sk(sk);
2195 static bool tipc_sk_filter_connect(struct tipc_sock *tsk, struct sk_buff *skb,
2311 struct tipc_sock *tsk = tipc_sk(sk);
2341 struct tipc_sock *tsk = tipc_sk(sk);
2488 struct tipc_sock *tsk;
2577 struct tipc_sock *tsk = tipc_sk(sk);
2724 struct tipc_sock *new_tsock;
2832 struct tipc_sock *tsk = tipc_sk(sk);
2857 struct tipc_sock *tsk = tipc_sk(sk);
2872 struct tipc_sock *tsk = tipc_sk(sk);
2906 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua)
2931 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua)
2972 struct tipc_sock *tsk;
2998 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid)
3001 struct tipc_sock *tsk;
3012 static int tipc_sk_insert(struct tipc_sock *tsk)
3035 static void tipc_sk_remove(struct tipc_sock *tsk)
3048 .head_offset = offsetof(struct tipc_sock, node),
3049 .key_offset = offsetof(struct tipc_sock, portid),
3073 static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq)
3112 static int tipc_sk_leave(struct tipc_sock *tsk)
3147 struct tipc_sock *tsk = tipc_sk(sk);
3241 struct tipc_sock *tsk = tipc_sk(sk);
3338 struct tipc_sock *tsk2 = tipc_sk(sock2->sk);
3339 struct tipc_sock *tsk1 = tipc_sk(sock1->sk);
3429 .obj_size = sizeof(struct tipc_sock),
3468 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk)
3505 static int __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock
3527 struct tipc_sock *tsk)
3560 struct tipc_sock *tsk))
3563 struct tipc_sock *tsk;
3631 struct tipc_sock *tsk, u32 sk_filter_state,
3746 struct tipc_sock *tsk, u32 *last_publ)
3791 struct tipc_sock *tsk;
3846 struct tipc_sock *tsk;
3950 struct tipc_sock *tsk;