diff options
Diffstat (limited to 'include/net/dn_nsp.h')
-rw-r--r-- | include/net/dn_nsp.h | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/include/net/dn_nsp.h b/include/net/dn_nsp.h index e43a2893f132..3a3e33d18456 100644 --- a/include/net/dn_nsp.h +++ b/include/net/dn_nsp.h | |||
@@ -15,29 +15,32 @@ | |||
15 | *******************************************************************************/ | 15 | *******************************************************************************/ |
16 | /* dn_nsp.c functions prototyping */ | 16 | /* dn_nsp.c functions prototyping */ |
17 | 17 | ||
18 | extern void dn_nsp_send_data_ack(struct sock *sk); | 18 | void dn_nsp_send_data_ack(struct sock *sk); |
19 | extern void dn_nsp_send_oth_ack(struct sock *sk); | 19 | void dn_nsp_send_oth_ack(struct sock *sk); |
20 | extern void dn_nsp_delayed_ack(struct sock *sk); | 20 | void dn_nsp_delayed_ack(struct sock *sk); |
21 | extern void dn_send_conn_ack(struct sock *sk); | 21 | void dn_send_conn_ack(struct sock *sk); |
22 | extern void dn_send_conn_conf(struct sock *sk, gfp_t gfp); | 22 | void dn_send_conn_conf(struct sock *sk, gfp_t gfp); |
23 | extern void dn_nsp_send_disc(struct sock *sk, unsigned char type, | 23 | void dn_nsp_send_disc(struct sock *sk, unsigned char type, |
24 | unsigned short reason, gfp_t gfp); | 24 | unsigned short reason, gfp_t gfp); |
25 | extern void dn_nsp_return_disc(struct sk_buff *skb, unsigned char type, | 25 | void dn_nsp_return_disc(struct sk_buff *skb, unsigned char type, |
26 | unsigned short reason); | 26 | unsigned short reason); |
27 | extern void dn_nsp_send_link(struct sock *sk, unsigned char lsflags, char fcval); | 27 | void dn_nsp_send_link(struct sock *sk, unsigned char lsflags, char fcval); |
28 | extern void dn_nsp_send_conninit(struct sock *sk, unsigned char flags); | 28 | void dn_nsp_send_conninit(struct sock *sk, unsigned char flags); |
29 | 29 | ||
30 | extern void dn_nsp_output(struct sock *sk); | 30 | void dn_nsp_output(struct sock *sk); |
31 | extern int dn_nsp_check_xmit_queue(struct sock *sk, struct sk_buff *skb, struct sk_buff_head *q, unsigned short acknum); | 31 | int dn_nsp_check_xmit_queue(struct sock *sk, struct sk_buff *skb, |
32 | extern void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, gfp_t gfp, int oob); | 32 | struct sk_buff_head *q, unsigned short acknum); |
33 | extern unsigned long dn_nsp_persist(struct sock *sk); | 33 | void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, gfp_t gfp, |
34 | extern int dn_nsp_xmit_timeout(struct sock *sk); | 34 | int oob); |
35 | 35 | unsigned long dn_nsp_persist(struct sock *sk); | |
36 | extern int dn_nsp_rx(struct sk_buff *); | 36 | int dn_nsp_xmit_timeout(struct sock *sk); |
37 | extern int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb); | 37 | |
38 | 38 | int dn_nsp_rx(struct sk_buff *); | |
39 | extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri); | 39 | int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb); |
40 | extern struct sk_buff *dn_alloc_send_skb(struct sock *sk, size_t *size, int noblock, long timeo, int *err); | 40 | |
41 | struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri); | ||
42 | struct sk_buff *dn_alloc_send_skb(struct sock *sk, size_t *size, int noblock, | ||
43 | long timeo, int *err); | ||
41 | 44 | ||
42 | #define NSP_REASON_OK 0 /* No error */ | 45 | #define NSP_REASON_OK 0 /* No error */ |
43 | #define NSP_REASON_NR 1 /* No resources */ | 46 | #define NSP_REASON_NR 1 /* No resources */ |