Lines Matching defs:sk
34 static void rose_send_iframe(struct sock *sk, struct sk_buff *skb)
36 struct rose_sock *rose = rose_sk(sk);
44 rose_start_idletimer(sk);
49 void rose_kick(struct sock *sk)
51 struct rose_sock *rose = rose_sk(sk);
61 if (!skb_peek(&sk->sk_write_queue))
77 skb = skb_dequeue(&sk->sk_write_queue);
81 skb_queue_head(&sk->sk_write_queue, skb);
85 skb_set_owner_w(skbn, sk);
90 rose_send_iframe(sk, skbn);
100 (skb = skb_dequeue(&sk->sk_write_queue)) != NULL);
105 rose_stop_timer(sk);
113 void rose_enquiry_response(struct sock *sk)
115 struct rose_sock *rose = rose_sk(sk);
118 rose_write_internal(sk, ROSE_RNR);
120 rose_write_internal(sk, ROSE_RR);
125 rose_stop_timer(sk);