Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/ifconfig/ifvxlan.c
Show First 20 Lines • Show All 636 Lines • ▼ Show 20 Lines | |||||
vxlan_ctor(void) | vxlan_ctor(void) | ||||
{ | { | ||||
size_t i; | size_t i; | ||||
for (i = 0; i < nitems(vxlan_cmds); i++) | for (i = 0; i < nitems(vxlan_cmds); i++) | ||||
cmd_register(&vxlan_cmds[i]); | cmd_register(&vxlan_cmds[i]); | ||||
af_register(&af_vxlan); | af_register(&af_vxlan); | ||||
callback_register(vxlan_cb, NULL); | callback_register(vxlan_cb, NULL); | ||||
clone_setdefcallback("vxlan", vxlan_create); | clone_setdefcallback_prefix("vxlan", vxlan_create); | ||||
} | } |