Lines Matching refs:tipc_sock

81 struct tipc_sock {  struct
113 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, argument
115 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
117 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
118 static int tipc_sk_insert(struct tipc_sock *tsk);
119 static void tipc_sk_remove(struct tipc_sock *tsk);
184 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
189 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
194 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
199 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
204 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
209 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
214 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
219 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
224 static int tsk_set_importance(struct tipc_sock *tsk, int imp) in tsk_set_importance()
232 static struct tipc_sock *tipc_sk(const struct sock *sk) in tipc_sk()
234 return container_of(sk, struct tipc_sock, sk); in tipc_sk()
237 static int tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
286 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) in tsk_peer_msg()
333 struct tipc_sock *tsk; in tipc_sk_create()
400 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); in tipc_sk_callback()
425 struct tipc_sock *tsk; in tipc_release()
505 struct tipc_sock *tsk = tipc_sk(sk); in tipc_bind()
562 struct tipc_sock *tsk = tipc_sk(sock->sk); in tipc_getname()
630 struct tipc_sock *tsk = tipc_sk(sk); in tipc_poll()
673 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sendmcast()
780 static void tipc_sk_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb) in tipc_sk_proto_rcv()
812 struct tipc_sock *tsk = tipc_sk(sk); in tipc_wait_for_sndmsg()
864 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendmsg()
966 struct tipc_sock *tsk = tipc_sk(sk); in tipc_wait_for_sndpkt()
1020 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_send_stream()
1109 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, in tipc_sk_finish_conn()
1164 struct tipc_sock *tsk) in tipc_sk_anc_data_recv()
1224 static void tipc_sk_send_ack(struct tipc_sock *tsk, uint ack) in tipc_sk_send_ack()
1292 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvmsg()
1386 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recv_stream()
1534 static bool filter_connect(struct tipc_sock *tsk, struct sk_buff *skb) in filter_connect()
1653 struct tipc_sock *tsk = tipc_sk(sk); in filter_rcv()
1780 struct tipc_sock *tsk; in tipc_sk_rcv()
1852 struct tipc_sock *tsk = tipc_sk(sk); in tipc_connect()
2002 struct tipc_sock *new_tsock; in tipc_accept()
2081 struct tipc_sock *tsk = tipc_sk(sk); in tipc_shutdown()
2141 struct tipc_sock *tsk = (struct tipc_sock *)data; in tipc_sk_timeout()
2181 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope, in tipc_sk_publish()
2205 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope, in tipc_sk_withdraw()
2245 struct tipc_sock *tsk; in tipc_sk_reinit()
2263 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid) in tipc_sk_lookup()
2266 struct tipc_sock *tsk; in tipc_sk_lookup()
2277 static int tipc_sk_insert(struct tipc_sock *tsk) in tipc_sk_insert()
2300 static void tipc_sk_remove(struct tipc_sock *tsk) in tipc_sk_remove()
2313 .head_offset = offsetof(struct tipc_sock, node),
2314 .key_offset = offsetof(struct tipc_sock, portid),
2355 struct tipc_sock *tsk = tipc_sk(sk); in tipc_setsockopt()
2414 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getsockopt()
2564 .obj_size = sizeof(struct tipc_sock),
2603 static int __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk) in __tipc_nl_add_sk_con()
2639 struct tipc_sock *tsk) in __tipc_nl_add_sk()
2684 struct tipc_sock *tsk; in tipc_nl_sk_dump()
2762 struct tipc_sock *tsk, u32 *last_publ) in __tipc_nl_list_sk_publ()
2807 struct tipc_sock *tsk; in tipc_nl_publ_dump()