The usage is
# ip link add [name] [device parameters] type veth [peer [name name other
device params]]
This consists of two parts:
1/2 makes some copy-paste changes in ip/iplink.c for generic CLI
attributes parsing,
2/2 the module itself.
Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED]
--
To
The usage is
# ip link add [name] type veth [device parameters] peer [name name other device
params]
This consists of two parts:
1/2 makes some copy-paste changes in ip/iplink.c for generic CLI
attributes parsing,
2/2 the module itself.
Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED]
The usage is
# ip link add [name] type veth [peer name] [mac mac] [peer_mac mac]
This version doesn't include the fix for ip/iplink.c as Patrick
said that he had included it into his patches already.
Signed-off-by: Pavel Emelianov [EMAIL PROTECTED]
---
Makefile|6 +++-
link_veth.c |
The usage is
# ip link add [name] type veth [peer name] [mac mac] [peer_mac mac]
This version doesn't include the fix for ip/iplink.c as Patrick
said that he had included it into his patches already.
Signed-off-by: Pavel Emelianov [EMAIL PROTECTED]
---
diff --git a/ip/Makefile b/ip/Makefile
On Thu, 07 Jun 2007 15:16:34 +0400
Pavel Emelianov [EMAIL PROTECTED] wrote:
The usage is
# ip link add [name] type veth [peer name] [mac mac] [peer_mac mac]
This version doesn't include the fix for ip/iplink.c as Patrick
said that he had included it into his patches already.
The usage is
# ip link add [name] type veth [peer name] [mac mac] [peer_mac mac]
The Makefile is maybe not as beautiful as it could be. It
is to be discussed.
One thing I noticed during testing is the following. When launching
this with link_veth.so module and not specifying any module specific
Pavel Emelianov wrote:
diff --git a/ip/iplink.c b/ip/iplink.c
index 5170419..6975990 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -287,7 +287,7 @@ static int iplink_modify(int cmd, unsign
strlen(type));
lu = get_link_type(type);
- if