]> git.proxmox.com Git - mirror_iproute2.git/commit
ip: Minor cleanups
authorSerhey Popovych <serhe.popovych@gmail.com>
Wed, 31 Jan 2018 08:15:07 +0000 (10:15 +0200)
committerDavid Ahern <dsahern@gmail.com>
Fri, 2 Feb 2018 22:58:26 +0000 (14:58 -0800)
commit28254695d1f33ed45f7e5dfe3bffe9f94bf6ab18
tree44bfcb11444db181a467f1b74a132884618dde79
parentf7af0dc5808b89f2ab5e97815bd995f11291d497
ip: Minor cleanups

  1) Rename @hdr parameter to @n to be coherent with rest of the parsing
     code.

  2) Use NLMSG_DATA() to get pointer to the data after nlmsghdr instead
     of calculating it directly in ip/tunnel code.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/iplink_vxcan.c
ip/ipmacsec.c
ip/link_gre.c
ip/link_gre6.c
ip/link_ip6tnl.c
ip/link_iptnl.c
ip/link_veth.c
ip/link_vti.c
ip/link_vti6.c