comparison src/g23m-fad/ppp/ppp_ncpf.h @ 174:90eb61ecd093

src/g23m-fad: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2016 05:40:46 +0000
parents
children
comparison
equal deleted inserted replaced
173:bf64d785238a 174:90eb61ecd093
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul :
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Definitions for ppp_ncpf.c
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef PPP_NCPF_H
22 #define PPP_NCPF_H
23
24
25 EXTERN void ncp_init (void);
26
27 EXTERN void ncp_get_values (UBYTE* ptr_hc,
28 UBYTE* ptr_msid,
29 ULONG* ptr_ip,
30 ULONG* ptr_pdns,
31 ULONG* ptr_sdns);
32
33 EXTERN void ncp_get_scr (T_desc2** ptr_packet);
34
35 EXTERN void ncp_get_str (T_desc2** ptr_packet);
36
37 EXTERN void ncp_analyze_first_ipcp(T_desc2* packet,
38 UBYTE* ptr_result,
39 UBYTE* ptr_hc,
40 UBYTE* ptr_msid);
41
42 EXTERN void ncp_fill_out_packet (UBYTE pco_buf[], USHORT* ptr_pos);
43
44 EXTERN void ncp_analyze_pco (UBYTE pco_buf[],
45 USHORT pos,
46 ULONG* ptr_dns1,
47 ULONG* ptr_dns2,
48 ULONG* ptr_gateway);
49
50 EXTERN void ncp_rcr (T_desc2** ptr_packet, UBYTE* isnew, UBYTE* forward);
51
52 EXTERN void ncp_rca (T_desc2* packet, UBYTE* forward);
53
54 EXTERN void ncp_rcn (T_desc2** ptr_packet, UBYTE* forward);
55
56 EXTERN void ncp_rcj (T_desc2** ptr_packet, UBYTE* forward);
57
58 EXTERN void ncp_rtr (T_desc2** ptr_packet, UBYTE* forward);
59
60 EXTERN void ncp_rta (T_desc2* packet, UBYTE* forward);
61
62 EXTERN void ncp_rxj (T_desc2** ptr_packet, UBYTE* forward);
63
64 EXTERN void ncp_ruc (T_desc2** ptr_packet, UBYTE* forward);
65
66 #endif /* !PPP_NCPF_H */