iproute2/ip
Kusanagi Kouichi 1891754487 veth: Handle flags correctry
Flags for a peer override flags for the other and not used for the
peer.

before:
# ip link add up type veth peer down multicast off
# ip link
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 2e:5c:cd:f5:63:d2 brd ff:ff:ff:ff:ff:ff
3: veth1: <BROADCAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 72:b0:fa:1e:76:7a brd ff:ff:ff:ff:ff:ff

after:
# ip link add up type veth peer down multicast off
# ip link
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth0: <BROADCAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 6e:db:03:b3:bd:ff brd ff:ff:ff:ff:ff:ff
3: veth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether a6:62:d9:84:f0:73 brd ff:ff:ff:ff:ff:ff

Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
2014-04-11 17:44:48 -07:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile iplink: add support for bonding slave 2014-02-17 10:53:34 -08:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ip6tunnel.c Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
ip_common.h introduce support for slave info data 2014-02-17 10:53:33 -08:00
ipaddress.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipaddrlabel.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipl2tp.c iproute2: add l2spec_type param to l2tp add session 2013-03-27 13:20:58 -07:00
iplink.c introduce support for slave info data 2014-02-17 10:53:33 -08:00
iplink_bond.c iplink_bond: fix parameter value matching 2014-02-17 10:58:56 -08:00
iplink_bond_slave.c iplink_bond_slave: show mii_status only once 2014-02-28 10:13:46 -08:00
iplink_can.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
iplink_hsr.c ip: Add HSR support 2013-12-20 08:33:19 -08:00
iplink_ipoib.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_macvlan.c macvlan: fix typo in macvlan_print_opt() 2013-08-31 10:30:11 -07:00
iplink_macvtap.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_vlan.c ip: iplink_vlan: add 802.1ad support 2013-06-21 08:59:24 -07:00
iplink_vxlan.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
ipmaddr.c ipmaddr: add whitespace around = 2013-03-14 13:44:25 -07:00
ipmonitor.c add ability to filter neighbour discovery by protocol 2013-08-29 12:18:52 -07:00
ipmroute.c ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipneigh.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipnetconf.c Merge branch 'master' into net-next-for-3.13 2014-01-09 22:44:17 -08:00
ipnetns.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
ipntable.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipprefix.c Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
iproute.c iproute: Show default type, table, proto and scope of route 2014-03-21 14:21:26 -07:00
iprule.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
iptoken.c ip: ipv6: add tokenized interface identifier support 2013-05-03 13:17:21 -07:00
iptunnel.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
iptuntap.c iptuntap: allow creation of multi-queue tun/tap device 2013-05-24 08:12:52 -07:00
ipxfrm.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
link_gre.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
link_gre6.c iproute2: GRE over IPv6 tunnel support. 2013-09-30 21:33:55 -07:00
link_ip6tnl.c ip: add missing help about mode argument 2013-05-03 12:29:22 -07:00
link_iptnl.c iproute2: spelling: noptmudisc -> nopmtudisc 2013-08-31 10:30:03 -07:00
link_veth.c veth: Handle flags correctry 2014-04-11 17:44:48 -07:00
link_vti.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtm_map.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtmon.c ip: make local functions static 2013-02-12 11:38:35 -08:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c Fix build when shared libraries are disabled 2013-03-13 08:29:59 -07:00
tcp_metrics.c tcp_metrics: Allow removal based on the source-IP 2014-02-10 14:46:11 -08:00
tunnel.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
tunnel.h Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
xfrm.h Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
xfrm_monitor.c Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
xfrm_policy.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
xfrm_state.c kill spaces before tabs 2014-02-17 10:56:31 -08:00