-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The ucast transport is similar to the mcast transport (and, in fact, shares most of its code), only it uses UDP unicast to move packets. Obviously this is only useful for point-to-point connections between virtual ethernet devices. Signed-off-by: Nolan Leake <nolan@cumulusnetworks.com> Signed-off-by: Richard Weinberger <richard@nod.at> Cc: David Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information
Nolan Leake
authored and
Linus Torvalds
committed
May 25, 2011
1 parent
d634f19
commit 4ff4d8d
Showing
8 changed files
with
413 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||
* Licensed under the GPL | ||
*/ | ||
|
||
#ifndef __DRIVERS_UMCAST_H | ||
#define __DRIVERS_UMCAST_H | ||
|
||
#include "net_user.h" | ||
|
||
struct umcast_data { | ||
char *addr; | ||
unsigned short lport; | ||
unsigned short rport; | ||
void *listen_addr; | ||
void *remote_addr; | ||
int ttl; | ||
int unicast; | ||
void *dev; | ||
}; | ||
|
||
extern const struct net_user_info umcast_user_info; | ||
|
||
extern int umcast_user_write(int fd, void *buf, int len, | ||
struct umcast_data *pri); | ||
|
||
#endif |
Oops, something went wrong.