Lines Matching defs:sk
30 static void rose_send_iframe(struct sock *sk, struct sk_buff *skb)
32 struct rose_sock *rose = rose_sk(sk);
40 rose_start_idletimer(sk);
45 void rose_kick(struct sock *sk)
47 struct rose_sock *rose = rose_sk(sk);
57 if (!skb_peek(&sk->sk_write_queue))
73 skb = skb_dequeue(&sk->sk_write_queue);
77 skb_queue_head(&sk->sk_write_queue, skb);
81 skb_set_owner_w(skbn, sk);
86 rose_send_iframe(sk, skbn);
96 (skb = skb_dequeue(&sk->sk_write_queue)) != NULL);
101 rose_stop_timer(sk);
109 void rose_enquiry_response(struct sock *sk)
111 struct rose_sock *rose = rose_sk(sk);
114 rose_write_internal(sk, ROSE_RNR);
116 rose_write_internal(sk, ROSE_RR);
121 rose_stop_timer(sk);