Home
last modified time | relevance | path

Searched defs:sk (Results 1 – 25 of 158) sorted by relevance

1234567

/linux-2.4.37.9/net/netrom/
Dnr_timer.c46 void nr_start_t1timer(struct sock *sk) in nr_start_t1timer()
57 void nr_start_t2timer(struct sock *sk) in nr_start_t2timer()
68 void nr_start_t4timer(struct sock *sk) in nr_start_t4timer()
79 void nr_start_idletimer(struct sock *sk) in nr_start_idletimer()
92 void nr_start_heartbeat(struct sock *sk) in nr_start_heartbeat()
103 void nr_stop_t1timer(struct sock *sk) in nr_stop_t1timer()
108 void nr_stop_t2timer(struct sock *sk) in nr_stop_t2timer()
113 void nr_stop_t4timer(struct sock *sk) in nr_stop_t4timer()
118 void nr_stop_idletimer(struct sock *sk) in nr_stop_idletimer()
123 void nr_stop_heartbeat(struct sock *sk) in nr_stop_heartbeat()
[all …]
Dnr_out.c45 void nr_output(struct sock *sk, struct sk_buff *skb) in nr_output()
92 static void nr_send_iframe(struct sock *sk, struct sk_buff *skb) in nr_send_iframe()
108 void nr_send_nak_frame(struct sock *sk) in nr_send_nak_frame()
132 void nr_kick(struct sock *sk) in nr_kick()
193 void nr_transmit_buffer(struct sock *sk, struct sk_buff *skb) in nr_transmit_buffer()
227 void nr_establish_data_link(struct sock *sk) in nr_establish_data_link()
243 void nr_enquiry_response(struct sock *sk) in nr_enquiry_response()
260 void nr_check_iframes_acked(struct sock *sk, unsigned short nr) in nr_check_iframes_acked()
Dnr_subr.c43 void nr_clear_queues(struct sock *sk) in nr_clear_queues()
56 void nr_frames_acked(struct sock *sk, unsigned short nr) in nr_frames_acked()
77 void nr_requeue_frames(struct sock *sk) in nr_requeue_frames()
94 int nr_validate_nr(struct sock *sk, unsigned short nr) in nr_validate_nr()
111 int nr_in_rx_window(struct sock *sk, unsigned short ns) in nr_in_rx_window()
128 void nr_write_internal(struct sock *sk, int frametype) in nr_write_internal()
269 void nr_disconnect(struct sock *sk, int reason) in nr_disconnect()
/linux-2.4.37.9/net/rose/
Drose_timer.c44 void rose_start_heartbeat(struct sock *sk) in rose_start_heartbeat()
55 void rose_start_t1timer(struct sock *sk) in rose_start_t1timer()
66 void rose_start_t2timer(struct sock *sk) in rose_start_t2timer()
77 void rose_start_t3timer(struct sock *sk) in rose_start_t3timer()
88 void rose_start_hbtimer(struct sock *sk) in rose_start_hbtimer()
99 void rose_start_idletimer(struct sock *sk) in rose_start_idletimer()
112 void rose_stop_heartbeat(struct sock *sk) in rose_stop_heartbeat()
117 void rose_stop_timer(struct sock *sk) in rose_stop_timer()
122 void rose_stop_idletimer(struct sock *sk) in rose_stop_idletimer()
129 struct sock *sk = (struct sock *)param; in rose_heartbeat_expiry() local
[all …]
/linux-2.4.37.9/net/x25/
Dx25_timer.c45 void x25_start_heartbeat(struct sock *sk) in x25_start_heartbeat()
56 void x25_stop_heartbeat(struct sock *sk) in x25_stop_heartbeat()
61 void x25_start_t2timer(struct sock *sk) in x25_start_t2timer()
72 void x25_start_t21timer(struct sock *sk) in x25_start_t21timer()
83 void x25_start_t22timer(struct sock *sk) in x25_start_t22timer()
94 void x25_start_t23timer(struct sock *sk) in x25_start_t23timer()
105 void x25_stop_timer(struct sock *sk) in x25_stop_timer()
110 unsigned long x25_display_timer(struct sock *sk) in x25_display_timer()
120 struct sock *sk = (struct sock *)param; in x25_heartbeat_expiry() local
155 static inline void x25_do_timer_expiry(struct sock * sk) in x25_do_timer_expiry()
[all …]
Dx25_subr.c47 void x25_clear_queues(struct sock *sk) in x25_clear_queues()
62 void x25_frames_acked(struct sock *sk, unsigned short nr) in x25_frames_acked()
81 void x25_requeue_frames(struct sock *sk) in x25_requeue_frames()
103 int x25_validate_nr(struct sock *sk, unsigned short nr) in x25_validate_nr()
121 void x25_write_internal(struct sock *sk, int frametype) in x25_write_internal()
254 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, in x25_decode()
320 void x25_disconnect(struct sock *sk, int reason, unsigned char cause, in x25_disconnect()
346 void x25_check_rbuf(struct sock *sk) in x25_check_rbuf()
/linux-2.4.37.9/net/bluetooth/
Dsco.c81 struct sock *sk = (struct sock *) arg; in sco_sock_timeout() local
94 static void sco_sock_set_timer(struct sock *sk, long timeout) in sco_sock_set_timer()
102 static void sco_sock_clear_timer(struct sock *sk) in sco_sock_clear_timer()
110 static void sco_sock_init_timer(struct sock *sk) in sco_sock_init_timer()
154 struct sock *sk = NULL; in sco_chan_get() local
164 struct sock *sk; in sco_conn_del() local
187 static inline int sco_chan_add(struct sco_conn *conn, struct sock *sk, struct sock *parent) in sco_chan_add()
201 int sco_connect(struct sock *sk) in sco_connect()
249 static inline int sco_send_frame(struct sock *sk, struct msghdr *msg, int len) in sco_send_frame()
282 struct sock *sk = sco_chan_get(conn); in sco_recv_frame() local
[all …]
Dl2cap.c87 struct sock *sk = (struct sock *) arg; in l2cap_sock_timeout() local
99 static void l2cap_sock_set_timer(struct sock *sk, long timeout) in l2cap_sock_set_timer()
107 static void l2cap_sock_clear_timer(struct sock *sk) in l2cap_sock_clear_timer()
115 static void l2cap_sock_init_timer(struct sock *sk) in l2cap_sock_init_timer()
156 struct sock *sk; in l2cap_conn_del() local
184 struct sock *sk; in __l2cap_get_sock_by_addr() local
197 struct sock *sk, *sk1 = NULL; in __l2cap_get_sock_by_psm() local
228 static void l2cap_sock_destruct(struct sock *sk) in l2cap_sock_destruct()
240 struct sock *sk; in l2cap_sock_cleanup_listen() local
255 static void l2cap_sock_kill(struct sock *sk) in l2cap_sock_kill()
[all …]
Daf_bluetooth.c106 void bluez_sock_init(struct socket *sock, struct sock *sk) in bluez_sock_init()
112 void bluez_sock_link(struct bluez_sock_list *l, struct sock *sk) in bluez_sock_link()
121 void bluez_sock_unlink(struct bluez_sock_list *l, struct sock *sk) in bluez_sock_unlink()
136 void bluez_accept_enqueue(struct sock *parent, struct sock *sk) in bluez_accept_enqueue()
146 static void bluez_accept_unlink(struct sock *sk) in bluez_accept_unlink()
160 struct sock *sk; in bluez_accept_dequeue() local
190 struct sock *sk = sock->sk; in bluez_sock_recvmsg() local
223 struct sock *sk = sock->sk; in bluez_sock_poll() local
257 int bluez_sock_wait_state(struct sock *sk, int state, unsigned long timeo) in bluez_sock_wait_state()
/linux-2.4.37.9/net/ipv4/
Dtcp_timer.c46 void tcp_init_xmit_timers(struct sock *sk) in tcp_init_xmit_timers()
65 void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers()
84 static void tcp_write_err(struct sock *sk) in tcp_write_err()
104 static int tcp_out_of_resources(struct sock *sk, int do_reset) in tcp_out_of_resources()
140 static int tcp_orphan_retries(struct sock *sk, int alive) in tcp_orphan_retries()
157 static int tcp_write_timeout(struct sock *sk) in tcp_write_timeout()
212 struct sock *sk = (struct sock*)data; in tcp_delack_timer() local
272 static void tcp_probe_timer(struct sock *sk) in tcp_probe_timer()
320 static void tcp_retransmit_timer(struct sock *sk) in tcp_retransmit_timer()
421 struct sock *sk = (struct sock*)data; in tcp_write_timer() local
[all …]
Dtcp_output.c48 void update_send_head(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb) in update_send_head()
64 static __inline__ __u32 tcp_acceptable_seq(struct sock *sk, struct tcp_opt *tp) in tcp_acceptable_seq()
86 static __u16 tcp_advertise_mss(struct sock *sk) in tcp_advertise_mss()
137 static __inline__ void tcp_event_ack_sent(struct sock *sk) in tcp_event_ack_sent()
154 static __inline__ u16 tcp_select_window(struct sock *sk) in tcp_select_window()
196 int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb) in tcp_transmit_skb()
325 void tcp_send_skb(struct sock *sk, struct sk_buff *skb, int force_queue, unsigned cur_mss) in tcp_send_skb()
353 void tcp_push_one(struct sock *sk, unsigned cur_mss) in tcp_push_one()
440 static int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len) in tcp_fragment()
523 int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss()
[all …]
Dtcp.c290 int tcp_mem_schedule(struct sock *sk, int size, int kind) in tcp_mem_schedule()
346 void __tcp_mem_reclaim(struct sock *sk) in __tcp_mem_reclaim()
359 struct sock *sk = skb->sk; in tcp_rfree() local
368 static __inline__ unsigned int tcp_listen_poll(struct sock *sk, poll_table *wait) in tcp_listen_poll()
383 struct sock *sk = sock->sk; in tcp_poll() local
467 void tcp_write_space(struct sock *sk) in tcp_write_space()
482 int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) in tcp_ioctl()
529 int tcp_listen_start(struct sock *sk) in tcp_listen_start()
582 static void tcp_listen_stop (struct sock *sk) in tcp_listen_stop()
653 static int wait_for_tcp_connect(struct sock * sk, int flags, long *timeo_p) in wait_for_tcp_connect()
[all …]
Dtcp_ipv4.c119 static __inline__ int tcp_sk_hashfn(struct sock *sk) in tcp_sk_hashfn()
151 static __inline__ void __tcp_inherit_port(struct sock *sk, struct sock *child) in __tcp_inherit_port()
166 inline void tcp_inherit_port(struct sock *sk, struct sock *child) in tcp_inherit_port()
173 static inline void tcp_bind_hash(struct sock *sk, struct tcp_bind_bucket *tb, unsigned short snum) in tcp_bind_hash()
183 static inline int tcp_bind_conflict(struct sock *sk, struct tcp_bind_bucket *tb) in tcp_bind_conflict()
211 static int tcp_v4_get_port(struct sock *sk, unsigned short snum) in tcp_v4_get_port()
297 inline void __tcp_put_port(struct sock *sk) in __tcp_put_port()
318 void tcp_put_port(struct sock *sk) in tcp_put_port()
354 static __inline__ void __tcp_v4_hash(struct sock *sk, const int listen_possible) in __tcp_v4_hash()
379 static void tcp_v4_hash(struct sock *sk) in tcp_v4_hash()
[all …]
Dtcp_input.c210 static void tcp_fixup_sndbuf(struct sock *sk) in tcp_fixup_sndbuf()
246 __tcp_grow_window(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb) in __tcp_grow_window()
263 tcp_grow_window(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb) in tcp_grow_window()
288 static void tcp_fixup_rcvbuf(struct sock *sk) in tcp_fixup_rcvbuf()
306 static void tcp_init_buffer_space(struct sock *sk) in tcp_init_buffer_space()
347 static void tcp_clamp_window(struct sock *sk, struct tcp_opt *tp) in tcp_clamp_window()
452 void tcp_rcv_space_adjust(struct sock *sk) in tcp_rcv_space_adjust()
515 static void tcp_event_data_recv(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb) in tcp_event_data_recv()
711 void tcp_update_metrics(struct sock *sk) in tcp_update_metrics()
822 static void tcp_init_metrics(struct sock *sk) in tcp_init_metrics()
[all …]
Draw.c71 static void raw_v4_hash(struct sock *sk) in raw_v4_hash()
85 static void raw_v4_unhash(struct sock *sk) in raw_v4_unhash()
99 struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num, in __raw_v4_lookup()
119 static __inline__ int icmp_filter(struct sock *sk, struct sk_buff *skb) in icmp_filter()
143 struct sock *sk; in raw_v4_input() local
177 void raw_err (struct sock *sk, struct sk_buff *skb, u32 info) in raw_err()
231 static int raw_rcv_skb(struct sock * sk, struct sk_buff * skb) in raw_rcv_skb()
245 int raw_rcv(struct sock *sk, struct sk_buff *skb) in raw_rcv()
305 static int raw_sendmsg(struct sock *sk, struct msghdr *msg, int len) in raw_sendmsg()
447 static void raw_close(struct sock *sk, long timeout) in raw_close()
[all …]
Daf_inet.c157 void inet_sock_destruct(struct sock *sk) in inet_sock_destruct()
187 void inet_sock_release(struct sock *sk) in inet_sock_release()
239 struct sock *sk=sock->sk; in inet_setsockopt() local
255 struct sock *sk=sock->sk; in inet_getsockopt() local
264 static int inet_autobind(struct sock *sk) in inet_autobind()
285 struct sock *sk = sock->sk; in inet_listen() local
321 struct sock *sk; in inet_create() local
446 struct sock *sk = sock->sk; in inet_release() local
476 struct sock *sk=sock->sk; in inet_bind() local
552 struct sock *sk=sock->sk; in inet_dgram_connect() local
[all …]
/linux-2.4.37.9/net/bluetooth/rfcomm/
Dsock.c75 struct sock *sk = d->owner; in rfcomm_sk_data_ready() local
89 struct sock *sk = d->owner, *parent; in rfcomm_sk_state_change() local
115 struct sock *sk; in __rfcomm_get_sock_by_addr() local
131 struct sock *sk, *sk1 = NULL; in __rfcomm_get_sock_by_channel() local
162 static void rfcomm_sock_destruct(struct sock *sk) in rfcomm_sock_destruct()
186 struct sock *sk; in rfcomm_sock_cleanup_listen() local
203 static void rfcomm_sock_kill(struct sock *sk) in rfcomm_sock_kill()
216 static void __rfcomm_sock_close(struct sock *sk) in __rfcomm_sock_close()
242 static void rfcomm_sock_close(struct sock *sk) in rfcomm_sock_close()
249 static void rfcomm_sock_init(struct sock *sk, struct sock *parent) in rfcomm_sock_init()
[all …]
/linux-2.4.37.9/net/sctp/
Dsocket.c116 struct sock *sk = asoc->base.sk; in sctp_wspace() local
137 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
151 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
174 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
206 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport()
243 SCTP_STATIC int sctp_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in sctp_bind()
290 SCTP_STATIC int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
412 int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add()
462 static int sctp_send_asconf_add_ip(struct sock *sk, in sctp_send_asconf_add_ip()
569 int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem()
[all …]
/linux-2.4.37.9/net/wanrouter/
Daf_wanpipe.c234 static int wanpipe_rcv(struct sk_buff *skb, netdevice_t *dev, struct sock *sk) in wanpipe_rcv()
327 static int wanpipe_listen_rcv (struct sk_buff *skb, struct sock *sk) in wanpipe_listen_rcv()
460 struct sock *sk; in wanpipe_make_new() local
497 struct sock *sk; in wanpipe_alloc_socket() local
545 struct sock *sk = sock->sk; in wanpipe_sendmsg() local
684 struct sock *sk=(struct sock *)data; in wanpipe_delayed_transmit() local
775 static int execute_command(struct sock *sk, unsigned char cmd, unsigned int flags) in execute_command()
847 struct sock *sk=(struct sock *)data; in wanpipe_destroy_timer() local
887 static void wanpipe_unlink_driver (struct sock *sk) in wanpipe_unlink_driver()
929 static void wanpipe_link_driver (netdevice_t *dev, struct sock *sk) in wanpipe_link_driver()
[all …]
/linux-2.4.37.9/net/decnet/
Ddn_timer.c38 void dn_start_slow_timer(struct sock *sk) in dn_start_slow_timer()
47 void dn_stop_slow_timer(struct sock *sk) in dn_stop_slow_timer()
54 struct sock *sk = (struct sock *)arg; in dn_slow_timer() local
114 struct sock *sk = (struct sock *)arg; in dn_fast_timer() local
132 void dn_start_fast_timer(struct sock *sk) in dn_start_fast_timer()
146 void dn_stop_fast_timer(struct sock *sk) in dn_stop_fast_timer()
Ddn_nsp_out.c82 struct sk_buff *dn_alloc_skb(struct sock *sk, int size, int pri) in dn_alloc_skb()
106 struct sk_buff *dn_alloc_send_skb(struct sock *sk, int *size, int noblock, int *err) in dn_alloc_send_skb()
167 unsigned long dn_nsp_persist(struct sock *sk) in dn_nsp_persist()
190 static void dn_nsp_rtt(struct sock *sk, long rtt) in dn_nsp_rtt()
263 void dn_nsp_output(struct sock *sk) in dn_nsp_output()
299 int dn_nsp_xmit_timeout(struct sock *sk) in dn_nsp_xmit_timeout()
326 static unsigned short *dn_mk_ack_header(struct sock *sk, struct sk_buff *skb, unsigned char msgflag… in dn_mk_ack_header()
359 void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, int gfp, int oth) in dn_nsp_queue_xmit()
388 int dn_nsp_check_xmit_queue(struct sock *sk, struct sk_buff *skb, struct sk_buff_head *q, unsigned … in dn_nsp_check_xmit_queue()
465 void dn_nsp_send_data_ack(struct sock *sk) in dn_nsp_send_data_ack()
[all …]
Daf_decnet.c155 static struct sock **dn_find_list(struct sock *sk) in dn_find_list()
170 struct sock *sk = dn_sk_hash[port & DN_SK_HASH_MASK]; in check_port() local
182 static unsigned short port_alloc(struct sock *sk) in port_alloc()
203 static int dn_hash_sock(struct sock *sk) in dn_hash_sock()
232 static void dn_unhash_sock(struct sock *sk) in dn_unhash_sock()
249 static void dn_unhash_sock_bh(struct sock *sk) in dn_unhash_sock_bh()
287 static void dn_rehash_sock(struct sock *sk) in dn_rehash_sock()
399 struct sock *sk; in dn_sklist_find_listener() local
432 struct sock *sk; in dn_find_by_skb() local
458 static void dn_destruct(struct sock *sk) in dn_destruct()
[all …]
/linux-2.4.37.9/net/unix/
Daf_unix.c123 #define UNIX_ABSTRACT(sk) ((sk)->protinfo.af_unix.addr->hash!=UNIX_HASH_SIZE) argument
138 #define unix_peer(sk) ((sk)->pair) argument
140 static inline int unix_our_peer(unix_socket *sk, unix_socket *osk) in unix_our_peer()
145 static inline int unix_may_send(unix_socket *sk, unix_socket *osk) in unix_may_send()
191 static void __unix_remove_socket(unix_socket *sk) in __unix_remove_socket()
208 static void __unix_insert_socket(unix_socket **list, unix_socket *sk) in __unix_insert_socket()
221 static inline void unix_remove_socket(unix_socket *sk) in unix_remove_socket()
228 static inline void unix_insert_socket(unix_socket **list, unix_socket *sk) in unix_insert_socket()
281 static inline int unix_writable(struct sock *sk) in unix_writable()
286 static void unix_write_space(struct sock *sk) in unix_write_space()
[all …]
/linux-2.4.37.9/net/core/
Dsock.c175 struct sock *sk=sock->sk; in sock_setsockopt() local
430 struct sock *sk = sock->sk; in sock_getsockopt() local
597 struct sock *sk = kmem_cache_alloc(sk_cachep, priority); in sk_alloc() local
608 void sk_free(struct sock *sk) in sk_free()
659 struct sock *sk = skb->sk; in sock_wfree() local
673 struct sock *sk = skb->sk; in sock_rfree() local
681 struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) in sock_wmalloc()
696 struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) in sock_rmalloc()
711 void *sock_kmalloc(struct sock *sk, int size, int priority) in sock_kmalloc()
731 void sock_kfree_s(struct sock *sk, void *mem, int size) in sock_kfree_s()
[all …]
/linux-2.4.37.9/net/ipv6/
Draw.c52 static void raw_v6_hash(struct sock *sk) in raw_v6_hash()
66 static void raw_v6_unhash(struct sock *sk) in raw_v6_unhash()
82 struct sock *__raw_v6_lookup(struct sock *sk, unsigned short num, in __raw_v6_lookup()
114 static __inline__ int icmpv6_filter(struct sock *sk, struct sk_buff *skb) in icmpv6_filter()
141 struct sock *sk, *sk2; in ipv6_raw_deliver() local
189 static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in rawv6_bind()
248 void rawv6_err(struct sock *sk, struct sk_buff *skb, in rawv6_err()
280 static inline int rawv6_rcv_skb(struct sock * sk, struct sk_buff * skb) in rawv6_rcv_skb()
312 int rawv6_rcv(struct sock *sk, struct sk_buff *skb) in rawv6_rcv()
353 int rawv6_recvmsg(struct sock *sk, struct msghdr *msg, int len, in rawv6_recvmsg()
[all …]

1234567