Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
include $(TOPDIR)/rules.mk
PKG_NAME:=vxlan
include $(TOPDIR)/rules.mk
PKG_NAME:=vxlan
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
- local port vid ttl tos mtu macaddr zone
- json_get_vars port vid ttl tos mtu macaddr zone
+ local port vid ttl tos mtu macaddr zone rxcsum txcsum
+ json_get_vars port vid ttl tos mtu macaddr zone rxcsum txcsum
proto_init_update "$link" 1
proto_init_update "$link" 1
[ -n "$port" ] && json_add_int port "$port"
[ -n "$vid" ] && json_add_int id "$vid"
[ -n "$macaddr" ] && json_add_string macaddr "$macaddr"
[ -n "$port" ] && json_add_int port "$port"
[ -n "$vid" ] && json_add_int id "$vid"
[ -n "$macaddr" ] && json_add_string macaddr "$macaddr"
+ [ -n "$rxcsum" ] && json_add_boolean rxcsum "$rxcsum"
+ [ -n "$txcsum" ] && json_add_boolean txcsum "$txcsum"
json_close_object
proto_close_tunnel
json_close_object
proto_close_tunnel