comparison src/g23m-fad/ppp/ppp_ncpf.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
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 */