Lines Matching refs:tipc_sock

94 struct tipc_sock {  struct
130 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, argument
132 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
134 static int tipc_sk_leave(struct tipc_sock *tsk);
135 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
136 static int tipc_sk_insert(struct tipc_sock *tsk);
137 static void tipc_sk_remove(struct tipc_sock *tsk);
147 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
152 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
157 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
162 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
167 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
172 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
177 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
182 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
187 static int tsk_set_importance(struct tipc_sock *tsk, int imp) in tsk_set_importance()
195 static struct tipc_sock *tipc_sk(const struct sock *sk) in tipc_sk()
197 return container_of(sk, struct tipc_sock, sk); in tipc_sk()
200 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
223 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
289 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) in tsk_peer_msg()
416 struct tipc_sock *tsk; in tipc_sk_create()
491 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); in tipc_sk_callback()
500 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_shutdown()
560 struct tipc_sock *tsk; in tipc_release()
610 struct tipc_sock *tsk = tipc_sk(sk); in tipc_bind()
671 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getname()
715 struct tipc_sock *tsk = tipc_sk(sk); in tipc_poll()
766 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sendmcast()
823 static int tipc_send_group_msg(struct net *net, struct tipc_sock *tsk, in tipc_send_group_msg()
880 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_unicast()
922 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_anycast()
1006 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_bcast()
1078 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_mcast()
1198 static void tipc_sk_conn_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb, in tipc_sk_conn_proto_rcv()
1280 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendmsg()
1416 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendstream()
1486 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, in tipc_sk_finish_conn()
1559 struct tipc_sock *tsk) in tipc_sk_anc_data_recv()
1619 static void tipc_sk_send_ack(struct tipc_sock *tsk) in tipc_sk_send_ack()
1703 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvmsg()
1809 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvstream()
1942 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_proto_rcv()
1980 static bool tipc_sk_filter_connect(struct tipc_sock *tsk, struct sk_buff *skb) in tipc_sk_filter_connect()
2081 struct tipc_sock *tsk = tipc_sk(sk); in rcvbuf_limit()
2111 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_filter_rcv()
2236 struct tipc_sock *tsk; in tipc_sk_rcv()
2311 struct tipc_sock *tsk = tipc_sk(sk); in tipc_connect()
2458 struct tipc_sock *new_tsock; in tipc_accept()
2563 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_timeout()
2600 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, in tipc_sk_publish()
2628 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope, in tipc_sk_withdraw()
2670 struct tipc_sock *tsk; in tipc_sk_reinit()
2692 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid) in tipc_sk_lookup()
2695 struct tipc_sock *tsk; in tipc_sk_lookup()
2706 static int tipc_sk_insert(struct tipc_sock *tsk) in tipc_sk_insert()
2729 static void tipc_sk_remove(struct tipc_sock *tsk) in tipc_sk_remove()
2742 .head_offset = offsetof(struct tipc_sock, node),
2743 .key_offset = offsetof(struct tipc_sock, portid),
2767 static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq) in tipc_sk_join()
2805 static int tipc_sk_leave(struct tipc_sock *tsk) in tipc_sk_leave()
2838 struct tipc_sock *tsk = tipc_sk(sk); in tipc_setsockopt()
2927 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getsockopt()
3021 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
3022 struct tipc_sock *tsk1 = tipc_sk(sock1->sk); in tipc_socketpair()
3115 .obj_size = sizeof(struct tipc_sock),
3154 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk) in __tipc_nl_add_sk_con()
3188 static int __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock in __tipc_nl_add_sk_info()
3210 struct tipc_sock *tsk) in __tipc_nl_add_sk()
3243 struct tipc_sock *tsk)) in tipc_nl_sk_walk()
3246 struct tipc_sock *tsk; in tipc_nl_sk_walk()
3314 struct tipc_sock *tsk, u32 sk_filter_state, in tipc_sk_fill_sock_diag()
3429 struct tipc_sock *tsk, u32 *last_publ) in __tipc_nl_list_sk_publ()
3474 struct tipc_sock *tsk; in tipc_nl_publ_dump()