Lines Matching refs:tipc_sock
96 struct tipc_sock { struct
140 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, argument
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) in tsk_own_node()
164 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
169 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
174 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
179 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
184 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
189 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
194 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
199 static struct tipc_sock *tipc_sk(const struct sock *sk) in tipc_sk()
201 return container_of(sk, struct tipc_sock, sk); in tipc_sk()
212 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
235 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
244 static void tsk_set_nagle(struct tipc_sock *tsk) in tsk_set_nagle()
323 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) in tsk_peer_msg()
452 struct tipc_sock *tsk; in tipc_sk_create()
531 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); in tipc_sk_callback()
540 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_shutdown()
616 struct tipc_sock *tsk; in tipc_release()
668 struct tipc_sock *tsk = tipc_sk(sk); in tipc_bind()
728 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getname()
772 struct tipc_sock *tsk = tipc_sk(sk); in tipc_poll()
824 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sendmcast()
884 static int tipc_send_group_msg(struct net *net, struct tipc_sock *tsk, in tipc_send_group_msg()
941 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_unicast()
984 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_anycast()
1070 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_bcast()
1143 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_mcast()
1264 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack) in tipc_sk_push_backlog()
1316 static void tipc_sk_conn_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb, in tipc_sk_conn_proto_rcv()
1401 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendmsg()
1553 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendstream()
1652 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, in tipc_sk_finish_conn()
1728 struct tipc_sock *tsk) in tipc_sk_anc_data_recv()
1793 static struct sk_buff *tipc_sk_build_ack(struct tipc_sock *tsk) in tipc_sk_build_ack()
1820 static void tipc_sk_send_ack(struct tipc_sock *tsk) in tipc_sk_send_ack()
1889 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvmsg()
2016 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()
2481 struct tipc_sock *tsk; in tipc_sk_rcv()
2570 struct tipc_sock *tsk = tipc_sk(sk); in tipc_connect()
2715 struct tipc_sock *new_tsock; in tipc_accept()
2821 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_check_probing_state()
2846 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_retry_connect()
2861 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_timeout()
2895 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, in tipc_sk_publish()
2923 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope, in tipc_sk_withdraw()
2965 struct tipc_sock *tsk; in tipc_sk_reinit()
2991 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid) in tipc_sk_lookup()
2994 struct tipc_sock *tsk; in tipc_sk_lookup()
3005 static int tipc_sk_insert(struct tipc_sock *tsk) in tipc_sk_insert()
3028 static void tipc_sk_remove(struct tipc_sock *tsk) in tipc_sk_remove()
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) in tipc_sk_join()
3104 static int tipc_sk_leave(struct tipc_sock *tsk) in tipc_sk_leave()
3137 struct tipc_sock *tsk = tipc_sk(sk); in tipc_setsockopt()
3231 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getsockopt()
3328 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
3329 struct tipc_sock *tsk1 = tipc_sk(sock1->sk); in tipc_socketpair()
3422 .obj_size = sizeof(struct tipc_sock),
3461 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk) in __tipc_nl_add_sk_con()
3497 static int __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock in __tipc_nl_add_sk_info()
3519 struct tipc_sock *tsk) in __tipc_nl_add_sk()
3552 struct tipc_sock *tsk)) in tipc_nl_sk_walk()
3555 struct tipc_sock *tsk; in tipc_nl_sk_walk()
3623 struct tipc_sock *tsk, u32 sk_filter_state, in tipc_sk_fill_sock_diag()
3738 struct tipc_sock *tsk, u32 *last_publ) in __tipc_nl_list_sk_publ()
3783 struct tipc_sock *tsk; in tipc_nl_publ_dump()
3837 struct tipc_sock *tsk; in tipc_sk_filtering()
3940 struct tipc_sock *tsk; in tipc_sk_dump()