Line
Link Here
|
0 |
-- ppp-2.4.5/include/linux/if_pppol2tp.h 2009-11-16 22:26:07.000000000 +0000 |
0 |
++ ppp-2.4.5/include/linux/if_pppol2tp.h 2010-07-16 22:35:22.000000000 +0100 |
Lines 32-37
Link Here
|
32 |
__u16 d_tunnel, d_session; /* For sending outgoing packets */ |
32 |
__u16 d_tunnel, d_session; /* For sending outgoing packets */ |
33 |
}; |
33 |
}; |
|
|
34 |
/* The L2TPv3 protocol changes tunnel and session ids from 16 to 32 |
35 |
* bits. So we need a different sockaddr structure. |
36 |
*/ |
37 |
struct pppol2tpv3_addr { |
38 |
pid_t pid; /* pid that owns the fd. |
39 |
* 0 => current */ |
40 |
int fd; /* FD of UDP or IP socket to use */ |
41 |
|
42 |
struct sockaddr_in addr; /* IP address and port to send to */ |
43 |
|
44 |
__u32 s_tunnel, s_session; /* For matching incoming packets */ |
45 |
__u32 d_tunnel, d_session; /* For sending outgoing packets */ |
46 |
}; |
47 |
|
34 |
/* Socket options: |
48 |
/* Socket options: |
35 |
* DEBUG - bitmask of debug message categories |
49 |
* DEBUG - bitmask of debug message categories |
36 |
* SENDSEQ - 0 => don't send packets with sequence numbers |
50 |
* SENDSEQ - 0 => don't send packets with sequence numbers |