Skip to content

Commit

Permalink
[TIPC]: Add support for Ethernet VLANs
Browse files Browse the repository at this point in the history
This patch enhances TIPC's Ethernet support to include VLAN interfaces.

Signed-off-by: Allan Stephens <[email protected]>
Signed-off-by: Per Liden <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ajstephens authored and David S. Miller committed Oct 19, 2006
1 parent a3df92c commit 3a8d121
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net/tipc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int tipc_random;
atomic_t tipc_user_count = ATOMIC_INIT(0);

const char tipc_alphabet[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.";

/* configurable TIPC parameters */

Expand Down
8 changes: 6 additions & 2 deletions net/tipc/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,15 @@ static inline void k_term_timer(struct timer_list *timer)
/*
* TIPC message buffer code
*
* TIPC message buffer headroom leaves room for 14 byte Ethernet header,
* TIPC message buffer headroom reserves space for a link-level header
* (in case the message is sent off-node),
* while ensuring TIPC header is word aligned for quicker access
*
* The largest header currently supported is 18 bytes, which is used when
* the standard 14 byte Ethernet header has 4 added bytes for VLAN info
*/

#define BUF_HEADROOM 16u
#define BUF_HEADROOM 20u

struct tipc_skb_cb {
void *handle;
Expand Down

0 comments on commit 3a8d121

Please sign in to comment.