Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / include / net / phonet / gprs.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * File: pep_gprs.h
4  *
5  * GPRS over Phonet pipe end point socket
6  *
7  * Copyright (C) 2008 Nokia Corporation.
8  *
9  * Author: RĂ©mi Denis-Courmont
10  */
11
12 #ifndef NET_PHONET_GPRS_H
13 #define NET_PHONET_GPRS_H
14
15 struct sock;
16 struct sk_buff;
17
18 int pep_writeable(struct sock *sk);
19 int pep_write(struct sock *sk, struct sk_buff *skb);
20 struct sk_buff *pep_read(struct sock *sk);
21
22 int gprs_attach(struct sock *sk);
23 void gprs_detach(struct sock *sk);
24
25 #endif