Lines Matching refs:tipc_sock

109 struct tipc_sock {  struct
152 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua); argument
153 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua);
154 static int tipc_sk_leave(struct tipc_sock *tsk);
155 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
156 static int tipc_sk_insert(struct tipc_sock *tsk);
157 static void tipc_sk_remove(struct tipc_sock *tsk);
160 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack);
169 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
174 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
179 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
184 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
189 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
194 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
199 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
204 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
209 static struct tipc_sock *tipc_sk(const struct sock *sk) in tipc_sk()
211 return container_of(sk, struct tipc_sock, sk); in tipc_sk()
222 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
245 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
254 static void tsk_set_nagle(struct tipc_sock *tsk) in tsk_set_nagle()
336 static bool tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) in tsk_peer_msg()
465 struct tipc_sock *tsk; in tipc_sk_create()
543 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); in tipc_sk_callback()
552 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_shutdown()
628 struct tipc_sock *tsk; in tipc_release()
678 struct tipc_sock *tsk = tipc_sk(sock->sk); in __tipc_bind()
750 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getname()
794 struct tipc_sock *tsk = tipc_sk(sk); in tipc_poll()
846 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sendmcast()
905 static int tipc_send_group_msg(struct net *net, struct tipc_sock *tsk, in tipc_send_group_msg()
962 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_unicast()
1005 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_anycast()
1088 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_bcast()
1161 struct tipc_sock *tsk = tipc_sk(sk); in tipc_send_group_mcast()
1273 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack) in tipc_sk_push_backlog()
1327 static void tipc_sk_conn_proto_rcv(struct tipc_sock *tsk, struct sk_buff *skb, in tipc_sk_conn_proto_rcv()
1412 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendmsg()
1559 struct tipc_sock *tsk = tipc_sk(sk); in __tipc_sendstream()
1658 static void tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, in tipc_sk_finish_conn()
1734 struct tipc_sock *tsk) in tipc_sk_anc_data_recv()
1790 static struct sk_buff *tipc_sk_build_ack(struct tipc_sock *tsk) in tipc_sk_build_ack()
1817 static void tipc_sk_send_ack(struct tipc_sock *tsk) in tipc_sk_send_ack()
1887 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvmsg()
2015 struct tipc_sock *tsk = tipc_sk(sk); in tipc_recvstream()
2148 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_proto_rcv()
2189 static bool tipc_sk_filter_connect(struct tipc_sock *tsk, struct sk_buff *skb, in tipc_sk_filter_connect()
2305 struct tipc_sock *tsk = tipc_sk(sk); in rcvbuf_limit()
2335 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_filter_rcv()
2482 struct tipc_sock *tsk; in tipc_sk_rcv()
2571 struct tipc_sock *tsk = tipc_sk(sk); in tipc_connect()
2717 struct tipc_sock *new_tsock; in tipc_accept()
2824 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_check_probing_state()
2849 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_retry_connect()
2863 struct tipc_sock *tsk = tipc_sk(sk); in tipc_sk_timeout()
2897 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua) in tipc_sk_publish()
2922 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua) in tipc_sk_withdraw()
2963 struct tipc_sock *tsk; in tipc_sk_reinit()
2989 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid) in tipc_sk_lookup()
2992 struct tipc_sock *tsk; in tipc_sk_lookup()
3003 static int tipc_sk_insert(struct tipc_sock *tsk) in tipc_sk_insert()
3026 static void tipc_sk_remove(struct tipc_sock *tsk) in tipc_sk_remove()
3039 .head_offset = offsetof(struct tipc_sock, node),
3040 .key_offset = offsetof(struct tipc_sock, portid),
3064 static int tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq) in tipc_sk_join()
3103 static int tipc_sk_leave(struct tipc_sock *tsk) in tipc_sk_leave()
3138 struct tipc_sock *tsk = tipc_sk(sk); in tipc_setsockopt()
3232 struct tipc_sock *tsk = tipc_sk(sk); in tipc_getsockopt()
3329 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
3330 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()
3625 struct tipc_sock *tsk, u32 sk_filter_state, in tipc_sk_fill_sock_diag()
3740 struct tipc_sock *tsk, u32 *last_publ) in __tipc_nl_list_sk_publ()
3785 struct tipc_sock *tsk; in tipc_nl_publ_dump()
3840 struct tipc_sock *tsk; in tipc_sk_filtering()
3944 struct tipc_sock *tsk; in tipc_sk_dump()