Changeset View
Changeset View
Standalone View
Standalone View
sbin/ifconfig/ifvxlan.c
Show First 20 Lines • Show All 614 Lines • ▼ Show 20 Lines | static struct cmd vxlan_cmds[] = { | ||||
DEF_CMD_ARG("vxlanmaxaddr", setvxlan_maxaddr), | DEF_CMD_ARG("vxlanmaxaddr", setvxlan_maxaddr), | ||||
DEF_CMD_ARG("vxlandev", setvxlan_dev), | DEF_CMD_ARG("vxlandev", setvxlan_dev), | ||||
DEF_CMD_ARG("vxlanttl", setvxlan_ttl), | DEF_CMD_ARG("vxlanttl", setvxlan_ttl), | ||||
DEF_CMD("vxlanlearn", 1, setvxlan_learn), | DEF_CMD("vxlanlearn", 1, setvxlan_learn), | ||||
DEF_CMD("-vxlanlearn", 0, setvxlan_learn), | DEF_CMD("-vxlanlearn", 0, setvxlan_learn), | ||||
DEF_CMD("vxlanflush", 0, setvxlan_flush), | DEF_CMD("vxlanflush", 0, setvxlan_flush), | ||||
DEF_CMD("vxlanflushall", 1, setvxlan_flush), | DEF_CMD("vxlanflushall", 1, setvxlan_flush), | ||||
DEF_CMD("vxlanhwcsum", IFCAP_VXLAN_HWCSUM, setifcap), | |||||
DEF_CMD("-vxlanhwcsum", -IFCAP_VXLAN_HWCSUM, setifcap), | |||||
DEF_CMD("vxlanhwtso", IFCAP_VXLAN_HWTSO, setifcap), | |||||
DEF_CMD("-vxlanhwtso", -IFCAP_VXLAN_HWTSO, setifcap), | |||||
}; | }; | ||||
static struct afswtch af_vxlan = { | static struct afswtch af_vxlan = { | ||||
.af_name = "af_vxlan", | .af_name = "af_vxlan", | ||||
.af_af = AF_UNSPEC, | .af_af = AF_UNSPEC, | ||||
.af_other_status = vxlan_status, | .af_other_status = vxlan_status, | ||||
}; | }; | ||||
Show All 11 Lines |