[POWERPC] Fix return from pte_alloc_one() in out-of-memory case
[linux-2.6/mini2440.git] / include / linux / atmppp.h
blob300dcce0c83f706a4a169502bd3432bcd6b21137
1 /* atmppp.h - RFC2364 PPPoATM */
3 /* Written 2000 by Mitchell Blank Jr */
5 #ifndef _LINUX_ATMPPP_H
6 #define _LINUX_ATMPPP_H
8 #include <linux/atm.h>
10 #define PPPOATM_ENCAPS_AUTODETECT (0)
11 #define PPPOATM_ENCAPS_VC (1)
12 #define PPPOATM_ENCAPS_LLC (2)
15 * This is for the ATM_SETBACKEND call - these are like socket families:
16 * the first element of the structure is the backend number and the rest
17 * is per-backend specific
19 struct atm_backend_ppp {
20 atm_backend_t backend_num; /* ATM_BACKEND_PPP */
21 int encaps; /* PPPOATM_ENCAPS_* */
24 #endif /* _LINUX_ATMPPP_H */