diff options
| author | David Woodhouse <dwmw2@infradead.org> | 2007-04-27 14:16:19 -0400 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2007-04-27 14:16:19 -0400 |
| commit | d1da4e50e5d09f02c340927a4fcb7f54202fa033 (patch) | |
| tree | 7f98317bdd45dbdb7644e9179891c5af6a3a8ef1 /include/linux/if_pppox.h | |
| parent | 78ab67da1002d954ea4c3e2b441e2483c41f94e8 (diff) | |
| parent | a205752d1ad2d37d6597aaae5a56fc396a770868 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
drivers/mtd/Kconfig
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/if_pppox.h')
| -rw-r--r-- | include/linux/if_pppox.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h index e33ee763c052..6f987be60fe2 100644 --- a/include/linux/if_pppox.h +++ b/include/linux/if_pppox.h | |||
| @@ -111,7 +111,17 @@ struct pppoe_hdr { | |||
| 111 | struct pppoe_tag tag[0]; | 111 | struct pppoe_tag tag[0]; |
| 112 | } __attribute__ ((packed)); | 112 | } __attribute__ ((packed)); |
| 113 | 113 | ||
| 114 | /* Length of entire PPPoE + PPP header */ | ||
| 115 | #define PPPOE_SES_HLEN 8 | ||
| 116 | |||
| 114 | #ifdef __KERNEL__ | 117 | #ifdef __KERNEL__ |
| 118 | #include <linux/skbuff.h> | ||
| 119 | |||
| 120 | static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb) | ||
| 121 | { | ||
| 122 | return (struct pppoe_hdr *)skb_network_header(skb); | ||
| 123 | } | ||
| 124 | |||
| 115 | struct pppoe_opt { | 125 | struct pppoe_opt { |
| 116 | struct net_device *dev; /* device associated with socket*/ | 126 | struct net_device *dev; /* device associated with socket*/ |
| 117 | int ifindex; /* ifindex of device associated with socket */ | 127 | int ifindex; /* ifindex of device associated with socket */ |
