Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
(ARM).Porting TCP-IP programmer's guide.Ver 1.4.pdf
Скачиваний:
31
Добавлен:
23.08.2013
Размер:
2.79 Mб
Скачать

Chapter 3

PPP Porting

This chapter describes PPP and how to use the ARM PPP code to allow the ARM TCP/IP code to transfer data over a serial line.

This chapter contains the following sections:

Porting procedure on page 3-2

Porting PPP on page 3-3

Testing PPP on page 3-9.

ARM DUI 0079B

Copyright © 1998 and 1999 ARM Limited. All rights reserved.

3-1

PPP Porting

3.1Porting procedure

To create a working version of the PPP stack on your target system:

1.Copy the portable source files into your development environment.

2.Modify the ppp_port.c and ppp_port.h files (see Source files on page 3-4).

3.Compile the code (see Compiling PPP on page 3-5).

4.Add the hooks to connect PPP to your system (see Entry points and support calls on page 3-8).

5.Test a PPP image (see Testing PPP on page 3-9).

3-2

Copyright © 1998 and 1999 ARM Limited. All rights reserved.

ARM DUI 0079B