ppp: remove zero-length patches
[openwrt.git] / package / ppp / patches / 430-pppol2tpv3-struct.patch
1 --- a/include/linux/if_pppol2tp.h
2 +++ b/include/linux/if_pppol2tp.h
3 @@ -32,6 +32,20 @@ struct pppol2tp_addr
4 __u16 d_tunnel, d_session; /* For sending outgoing packets */
5 };
6
7 +/* The L2TPv3 protocol changes tunnel and session ids from 16 to 32
8 + * bits. So we need a different sockaddr structure.
9 + */
10 +struct pppol2tpv3_addr {
11 + pid_t pid; /* pid that owns the fd.
12 + * 0 => current */
13 + int fd; /* FD of UDP or IP socket to use */
14 +
15 + struct sockaddr_in addr; /* IP address and port to send to */
16 +
17 + __u32 s_tunnel, s_session; /* For matching incoming packets */
18 + __u32 d_tunnel, d_session; /* For sending outgoing packets */
19 +};
20 +
21 /* Socket options:
22 * DEBUG - bitmask of debug message categories
23 * SENDSEQ - 0 => don't send packets with sequence numbers
This page took 0.044475 seconds and 5 git commands to generate.