Alleged syntax error in /usr/include/linux/atmppp.h.

bruce woller brucewoller at comcast.net
Sat May 21 07:46:15 MDT 2005


Charles:
Is it possible that the atmppp.h file you are presenting here is not 
the one the compiler is including?  I only ask because the compiler 
flags lines 20 &22 of the file but the displayed text only contains 14 
lines?  (I can only see 14 instances of 0x0a in the text using hexedit)

On May 21, 2005, at 5:21 AM, Charles Trois wrote:

>
>> /* atmppp.h - RFC2364 PPPoATM */
>> /* Written 2000 by Mitchell Blank Jr */
>> #ifndef _LINUX_ATMPPP_H
>> #define _LINUX_ATMPPP_H
>> #include <linux/atm.h>
>> #define PPPOATM_ENCAPS_AUTODETECT	(0)
>> #define PPPOATM_ENCAPS_VC		(1)
>> #define PPPOATM_ENCAPS_LLC		(2)
>> /*
>>  * This is for the ATM_SETBACKEND call - these are like socket 
>> families:
>>  * the first element of the structure is the backend number and the 
>> rest
>>  * is per-backend specific
>>  */
>> struct atm_backend_ppp {
>> 	atm_backend_t	backend_num;	/* ATM_BACKEND_PPP */
>> 	int		encaps;		/* PPPOATM_ENCAPS_* */
>> };
>> #endif	/* _LINUX_ATMPPP_H */



More information about the yellowdog-general mailing list