Lines Matching refs:tipc_sock
109 struct tipc_sock { struct
150 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua); argument
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) in tsk_own_node()
172 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
177 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
182 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
187 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
192 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
197 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
202 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
207 static struct tipc_sock *tipc_sk(const struct sock *sk) in tipc_sk()
209 return container_of(sk, struct tipc_sock, sk); in tipc_sk()
220 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
243 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
252 static void tsk_set_nagle(struct tipc_sock *tsk) in tsk_set_nagle()
334 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) in tsk_peer_msg()
463 struct tipc_sock *tsk; in tipc_sk_create()
542 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); in tipc_sk_callback()
551 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_shutdown()
627 struct tipc_sock *tsk; in tipc_release()
677 struct tipc_sock *tsk = tipc_sk(sock->sk); in __tipc_bind()
749 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getname()
793 struct tipc_sock *tsk = tipc_sk(sk); in tipc_poll()
845 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sendmcast()
904 static int tipc_send_group_msg(struct net *net, struct tipc_sock *tsk, in tipc_send_group_msg()
961 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_unicast()
1004 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_anycast()
1086 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_bcast()
1159 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_mcast()
1270 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack) in tipc_sk_push_backlog()
1324 static void tipc_sk_conn_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb, in tipc_sk_conn_proto_rcv()
1409 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendmsg()
1558 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendstream()
1657 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, in tipc_sk_finish_conn()
1733 struct tipc_sock *tsk) in tipc_sk_anc_data_recv()
1789 static struct sk_buff *tipc_sk_build_ack(struct tipc_sock *tsk) in tipc_sk_build_ack()
1816 static void tipc_sk_send_ack(struct tipc_sock *tsk) in tipc_sk_send_ack()
1886 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvmsg()
2014 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvstream()
2149 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_proto_rcv()
2190 static bool tipc_sk_filter_connect(struct tipc_sock *tsk, struct sk_buff *skb, in tipc_sk_filter_connect()
2306 struct tipc_sock *tsk = tipc_sk(sk); in rcvbuf_limit()
2336 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_filter_rcv()
2483 struct tipc_sock *tsk; in tipc_sk_rcv()
2572 struct tipc_sock *tsk = tipc_sk(sk); in tipc_connect()
2718 struct tipc_sock *new_tsock; in tipc_accept()
2826 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_check_probing_state()
2851 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_retry_connect()
2866 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_timeout()
2900 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua) in tipc_sk_publish()
2925 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua) in tipc_sk_withdraw()
2966 struct tipc_sock *tsk; in tipc_sk_reinit()
2992 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid) in tipc_sk_lookup()
2995 struct tipc_sock *tsk; in tipc_sk_lookup()
3006 static int tipc_sk_insert(struct tipc_sock *tsk) in tipc_sk_insert()
3029 static void tipc_sk_remove(struct tipc_sock *tsk) in tipc_sk_remove()
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) in tipc_sk_join()
3106 static int tipc_sk_leave(struct tipc_sock *tsk) in tipc_sk_leave()
3141 struct tipc_sock *tsk = tipc_sk(sk); in tipc_setsockopt()
3235 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getsockopt()
3332 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
3333 struct tipc_sock *tsk1 = tipc_sk(sock1->sk); in tipc_socketpair()
3423 .obj_size = sizeof(struct tipc_sock),
3462 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk) in __tipc_nl_add_sk_con()
3499 static int __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock in __tipc_nl_add_sk_info()
3521 struct tipc_sock *tsk) in __tipc_nl_add_sk()
3554 struct tipc_sock *tsk)) in tipc_nl_sk_walk()
3557 struct tipc_sock *tsk; in tipc_nl_sk_walk()
3622 struct tipc_sock *tsk, u32 sk_filter_state, in tipc_sk_fill_sock_diag()
3737 struct tipc_sock *tsk, u32 *last_publ) in __tipc_nl_list_sk_publ()
3782 struct tipc_sock *tsk; in tipc_nl_publ_dump()
3837 struct tipc_sock *tsk; in tipc_sk_filtering()
3941 struct tipc_sock *tsk; in tipc_sk_dump()