Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
1f3ec181
Commit
1f3ec181
authored
Mar 08, 2012
by
Alessandro Rubini
Committed by
Aurelio Colosimo
Mar 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constants.h: allow archs to override constants
Then, both spec and bare-linux pre-set ETHERNET_MODE
parent
0059efa4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
0 deletions
+38
-0
constants.h
arch-bare-linux/include/arch/constants.h
+13
-0
constants.h
arch-gnu-linux/include/arch/constants.h
+11
-0
constants.h
arch-spec/include/arch/constants.h
+13
-0
constants.h
include/pptp/constants.h
+1
-0
No files found.
arch-bare-linux/include/arch/constants.h
0 → 100644
View file @
1f3ec181
#ifndef __PPTP_ARCH_CONSTANTS_H__
#define __PPTP_ARCH_CONSTANTS_H__
#ifndef __PPTP_CONSTANTS_H__
#Warning "Please include <pptp/constants.h> before <arch/constants.h>"
#endif
#undef PP_DEFAULT_ETHERNET_MODE
#define PP_DEFAULT_ETHERNET_MODE 1
/* We only use raw ethernet */
#endif
/* __PPTP_ARCH_CONSTANTS_H__ */
arch-gnu-linux/include/arch/constants.h
0 → 100644
View file @
1f3ec181
#ifndef __PPTP_ARCH_CONSTANTS_H__
#define __PPTP_ARCH_CONSTANTS_H__
#ifndef __PPTP_CONSTANTS_H__
#Warning "Please include <pptp/constants.h> before <arch/constants.h>"
#endif
/* nothing to do here, we keep project-wide defaults */
#endif
/* __PPTP_ARCH_CONSTANTS_H__ */
arch-spec/include/arch/constants.h
0 → 100644
View file @
1f3ec181
#ifndef __PPTP_ARCH_CONSTANTS_H__
#define __PPTP_ARCH_CONSTANTS_H__
#ifndef __PPTP_CONSTANTS_H__
#Warning "Please include <pptp/constants.h> before <arch/constants.h>"
#endif
#undef PP_DEFAULT_ETHERNET_MODE
#define PP_DEFAULT_ETHERNET_MODE 1
/* We only use raw ethernet */
#endif
/* __PPTP_ARCH_CONSTANTS_H__ */
include/pptp/constants.h
View file @
1f3ec181
...
...
@@ -86,5 +86,6 @@
#define PP_MCAST_MACADDRESS "\x01\x1B\x19\x00\x00\x00"
#define PP_PEER_MACADDRESS "\x01\x80\xC2\x00\x00\x0E"
#include <arch/constants.h>
/* architectures may override the defaults */
#endif
/* __PPTP_CONSTANTS_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment