Lines Matching refs:sock
46 int inet_csk_bind_conflict(const struct sock *sk, in inet_csk_bind_conflict()
49 struct sock *sk2; in inet_csk_bind_conflict()
52 kuid_t uid = sock_i_uid((struct sock *)sk); in inet_csk_bind_conflict()
93 int inet_csk_get_port(struct sock *sk, unsigned short snum) in inet_csk_get_port()
246 static int inet_csk_wait_for_connect(struct sock *sk, long timeo) in inet_csk_wait_for_connect()
294 struct sock *inet_csk_accept(struct sock *sk, int flags, int *err) in inet_csk_accept()
299 struct sock *newsk; in inet_csk_accept()
362 void inet_csk_init_xmit_timers(struct sock *sk, in inet_csk_init_xmit_timers()
378 void inet_csk_clear_xmit_timers(struct sock *sk) in inet_csk_clear_xmit_timers()
390 void inet_csk_delete_keepalive_timer(struct sock *sk) in inet_csk_delete_keepalive_timer()
396 void inet_csk_reset_keepalive_timer(struct sock *sk, unsigned long len) in inet_csk_reset_keepalive_timer()
402 struct dst_entry *inet_csk_route_req(struct sock *sk, in inet_csk_route_req()
433 struct dst_entry *inet_csk_route_child_sock(struct sock *sk, in inet_csk_route_child_sock()
434 struct sock *newsk, in inet_csk_route_child_sock()
487 struct request_sock *inet_csk_search_req(struct sock *sk, in inet_csk_search_req()
517 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req, in inet_csk_reqsk_queue_hash_add()
557 int inet_rtx_syn_ack(struct sock *parent, struct request_sock *req) in inet_rtx_syn_ack()
593 void inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req) in inet_csk_reqsk_queue_drop()
605 struct sock *sk_listener = req->rsk_listener; in reqsk_timer_handler()
705 struct sock *inet_csk_clone_lock(const struct sock *sk, in inet_csk_clone_lock()
709 struct sock *newsk = sk_clone_lock(sk, priority); in inet_csk_clone_lock()
745 void inet_csk_destroy_sock(struct sock *sk) in inet_csk_destroy_sock()
772 void inet_csk_prepare_forced_close(struct sock *sk) in inet_csk_prepare_forced_close()
786 int inet_csk_listen_start(struct sock *sk, const int nr_table_entries) in inet_csk_listen_start()
824 void inet_csk_listen_stop(struct sock *sk) in inet_csk_listen_stop()
845 struct sock *child = req->sk; in inet_csk_listen_stop()
896 void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr) in inet_csk_addr2sockaddr()
908 int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname, in inet_csk_compat_getsockopt()
921 int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname, in inet_csk_compat_setsockopt()
935 static struct dst_entry *inet_csk_rebuild_route(struct sock *sk, struct flowi *fl) in inet_csk_rebuild_route()
961 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu) in inet_csk_update_pmtu()