Lines Matching refs:tipc_sock
80 struct tipc_sock { struct
111 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, argument
113 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
115 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
116 static int tipc_sk_insert(struct tipc_sock *tsk);
117 static void tipc_sk_remove(struct tipc_sock *tsk);
182 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
187 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
192 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
197 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
202 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
207 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
212 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
217 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
222 static int tsk_set_importance(struct tipc_sock *tsk, int imp) in tsk_set_importance()
230 static struct tipc_sock *tipc_sk(const struct sock *sk) in tipc_sk()
232 return container_of(sk, struct tipc_sock, sk); in tipc_sk()
235 static int tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
272 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) in tsk_peer_msg()
319 struct tipc_sock *tsk; in tipc_sk_create()
385 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); in tipc_sk_callback()
410 struct tipc_sock *tsk; in tipc_release()
498 struct tipc_sock *tsk = tipc_sk(sk); in tipc_bind()
555 struct tipc_sock *tsk = tipc_sk(sock->sk); in tipc_getname()
623 struct tipc_sock *tsk = tipc_sk(sk); in tipc_poll()
666 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sendmcast()
770 static void tipc_sk_proto_rcv(struct tipc_sock *tsk, struct sk_buff **skb) in tipc_sk_proto_rcv()
802 struct tipc_sock *tsk = tipc_sk(sk); in tipc_wait_for_sndmsg()
854 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendmsg()
954 struct tipc_sock *tsk = tipc_sk(sk); in tipc_wait_for_sndpkt()
1008 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_send_stream()
1094 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, in tipc_sk_finish_conn()
1149 struct tipc_sock *tsk) in tipc_sk_anc_data_recv()
1209 static void tipc_sk_send_ack(struct tipc_sock *tsk, uint ack) in tipc_sk_send_ack()
1277 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvmsg()
1371 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recv_stream()
1514 static int filter_connect(struct tipc_sock *tsk, struct sk_buff **skb) in filter_connect()
1634 struct tipc_sock *tsk = tipc_sk(sk); in filter_rcv()
1693 struct tipc_sock *tsk = tipc_sk(sk); in tipc_backlog_rcv()
1769 struct tipc_sock *tsk; in tipc_sk_rcv()
1841 struct tipc_sock *tsk = tipc_sk(sk); in tipc_connect()
1991 struct tipc_sock *new_tsock; in tipc_accept()
2070 struct tipc_sock *tsk = tipc_sk(sk); in tipc_shutdown()
2131 struct tipc_sock *tsk = (struct tipc_sock *)data; in tipc_sk_timeout()
2171 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, in tipc_sk_publish()
2195 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope, in tipc_sk_withdraw()
2235 struct tipc_sock *tsk; in tipc_sk_reinit()
2253 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid) in tipc_sk_lookup()
2256 struct tipc_sock *tsk; in tipc_sk_lookup()
2267 static int tipc_sk_insert(struct tipc_sock *tsk) in tipc_sk_insert()
2290 static void tipc_sk_remove(struct tipc_sock *tsk) in tipc_sk_remove()
2303 .head_offset = offsetof(struct tipc_sock, node),
2304 .key_offset = offsetof(struct tipc_sock, portid),
2345 struct tipc_sock *tsk = tipc_sk(sk); in tipc_setsockopt()
2404 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getsockopt()
2554 .obj_size = sizeof(struct tipc_sock),
2593 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk) in __tipc_nl_add_sk_con()
2629 struct tipc_sock *tsk) in __tipc_nl_add_sk()
2674 struct tipc_sock *tsk; in tipc_nl_sk_dump()
2752 struct tipc_sock *tsk, u32 *last_publ) in __tipc_nl_list_sk_publ()
2797 struct tipc_sock *tsk; in tipc_nl_publ_dump()