The usage is
# ip link add [name] [device parameters] type veth [peer [name ]]
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 unsubscribe from this
The usage is
# ip link add [name] type veth [device parameters] peer [name ]
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]>
Acked-by: Patrick McHardy <[EMA
The usage is
# ip link add [name] type veth [peer ] [mac ] [peer_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 | 89 +
On Thu, 07 Jun 2007 15:16:34 +0400
Pavel Emelianov <[EMAIL PROTECTED]> wrote:
> The usage is
> # ip link add [name] type veth [peer ] [mac ] [peer_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:
The usage is
# ip link add [name] type veth [peer ] [mac ] [peer_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
index 9a5bf
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);
> -
The usage is
# ip link add [name] type veth [peer ] [mac ] [peer_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
parameters,