Home
last modified time | relevance | path

Searched refs:DEF_CMD (Results 1 – 13 of 13) sorted by relevance

/freebsd-14-stable/sbin/ifconfig/
HDifconfig.c1052 static const struct cmd setifaddr_cmd = DEF_CMD("ifaddr", 0, setifaddr);
1056 DEF_CMD("ifdstaddr", 0, setifdstaddr);
2012 DEF_CMD("up", IFF_UP, setifflags),
2013 DEF_CMD("down", IFF_UP, clearifflags),
2014 DEF_CMD("arp", IFF_NOARP, clearifflags),
2015 DEF_CMD("-arp", IFF_NOARP, setifflags),
2016 DEF_CMD("debug", IFF_DEBUG, setifflags),
2017 DEF_CMD("-debug", IFF_DEBUG, clearifflags),
2020 DEF_CMD("-description", 0, unsetifdescr),
2021 DEF_CMD("-descr", 0, unsetifdescr),
[all …]
HDaf_inet6.c696 DEF_CMD("anycast", IN6_IFF_ANYCAST, setip6flags),
697 DEF_CMD("tentative", IN6_IFF_TENTATIVE, setip6flags),
698 DEF_CMD("-tentative", -IN6_IFF_TENTATIVE, setip6flags),
699 DEF_CMD("deprecated", IN6_IFF_DEPRECATED, setip6flags),
700 DEF_CMD("-deprecated", -IN6_IFF_DEPRECATED, setip6flags),
701 DEF_CMD("autoconf", IN6_IFF_AUTOCONF, setip6flags),
702 DEF_CMD("-autoconf", -IN6_IFF_AUTOCONF, setip6flags),
703 DEF_CMD("prefer_source",IN6_IFF_PREFER_SOURCE, setip6flags),
704 DEF_CMD("-prefer_source",-IN6_IFF_PREFER_SOURCE,setip6flags),
705 DEF_CMD("accept_rtadv", ND6_IFF_ACCEPT_RTADV, setnd6flags),
[all …]
HDiflagg.c314 DEF_CMD("use_flowid", LAGG_OPT_USE_FLOWID, setlaggsetopt),
315 DEF_CMD("-use_flowid", -LAGG_OPT_USE_FLOWID, setlaggsetopt),
316 DEF_CMD("use_numa", LAGG_OPT_USE_NUMA, setlaggsetopt),
317 DEF_CMD("-use_numa", -LAGG_OPT_USE_NUMA, setlaggsetopt),
318 DEF_CMD("lacp_strict", LAGG_OPT_LACP_STRICT, setlaggsetopt),
319 DEF_CMD("-lacp_strict", -LAGG_OPT_LACP_STRICT, setlaggsetopt),
320 DEF_CMD("lacp_txtest", LAGG_OPT_LACP_TXTEST, setlaggsetopt),
321 DEF_CMD("-lacp_txtest", -LAGG_OPT_LACP_TXTEST, setlaggsetopt),
322 DEF_CMD("lacp_rxtest", LAGG_OPT_LACP_RXTEST, setlaggsetopt),
323 DEF_CMD("-lacp_rxtest", -LAGG_OPT_LACP_RXTEST, setlaggsetopt),
[all …]
HDifgre.c115 DEF_CMD("enable_csum", GRE_ENABLE_CSUM, setifgreopts),
116 DEF_CMD("-enable_csum",-GRE_ENABLE_CSUM,setifgreopts),
117 DEF_CMD("enable_seq", GRE_ENABLE_SEQ, setifgreopts),
118 DEF_CMD("-enable_seq",-GRE_ENABLE_SEQ, setifgreopts),
119 DEF_CMD("udpencap", GRE_UDPENCAP, setifgreopts),
120 DEF_CMD("-udpencap",-GRE_UDPENCAP, setifgreopts),
HDifvlan.c304 DEF_CMD("vlanmtu", IFCAP_VLAN_MTU, setifcap),
305 DEF_CMD("-vlanmtu", IFCAP_VLAN_MTU, clearifcap),
306 DEF_CMD("vlanhwtag", IFCAP_VLAN_HWTAGGING, setifcap),
307 DEF_CMD("-vlanhwtag", IFCAP_VLAN_HWTAGGING, clearifcap),
308 DEF_CMD("vlanhwfilter", IFCAP_VLAN_HWFILTER, setifcap),
309 DEF_CMD("-vlanhwfilter", IFCAP_VLAN_HWFILTER, clearifcap),
310 DEF_CMD("vlanhwtso", IFCAP_VLAN_HWTSO, setifcap),
311 DEF_CMD("-vlanhwtso", IFCAP_VLAN_HWTSO, clearifcap),
312 DEF_CMD("vlanhwcsum", IFCAP_VLAN_HWCSUM, setifcap),
313 DEF_CMD("-vlanhwcsum", IFCAP_VLAN_HWCSUM, clearifcap),
HDifieee80211.c5891 DEF_CMD("powersave", 1, set80211powersave),
5892 DEF_CMD("-powersave", 0, set80211powersave),
5895 DEF_CMD("wep", 1, set80211wep),
5896 DEF_CMD("-wep", 0, set80211wep),
5901 DEF_CMD("-nwkey", 0, set80211wep), /* NetBSD */
5906 DEF_CMD("wme", 1, set80211wme),
5907 DEF_CMD("-wme", 0, set80211wme),
5908 DEF_CMD("wmm", 1, set80211wme),
5909 DEF_CMD("-wmm", 0, set80211wme),
5910 DEF_CMD("hidessid", 1, set80211hidessid),
[all …]
HDifvxlan.c619 DEF_CMD("vxlanlearn", 1, setvxlan_learn),
620 DEF_CMD("-vxlanlearn", 0, setvxlan_learn),
622 DEF_CMD("vxlanflush", 0, setvxlan_flush),
623 DEF_CMD("vxlanflushall", 1, setvxlan_flush),
625 DEF_CMD("vxlanhwcsum", IFCAP_VXLAN_HWCSUM, setifcap),
626 DEF_CMD("-vxlanhwcsum", IFCAP_VXLAN_HWCSUM, clearifcap),
627 DEF_CMD("vxlanhwtso", IFCAP_VXLAN_HWTSO, setifcap),
628 DEF_CMD("-vxlanhwtso", IFCAP_VXLAN_HWTSO, clearifcap),
HDifpfsync.c403 DEF_CMD("-syncdev", 1, unsetpfsync_syncdev),
405 DEF_CMD("-syncif", 1, unsetpfsync_syncdev),
407 DEF_CMD("-syncpeer", 1, unsetpfsync_syncpeer),
409 DEF_CMD("defer", 1, setpfsync_defer),
410 DEF_CMD("-defer", 0, setpfsync_defer),
HDifgif.c90 DEF_CMD("ignore_source", GIF_IGNORE_SOURCE, setgifopts),
91 DEF_CMD("-ignore_source", -GIF_IGNORE_SOURCE, setgifopts),
HDifclone.c165 DEF_CMD("destroy", 0, clone_destroy),
167 DEF_CMD("unplumb", 0, clone_destroy),
HDcarp.c236 DEF_CMD("mcast", 0, setcarp_mcast),
238 DEF_CMD("mcast6", 0, setcarp_mcast6),
HDifbridge.c647 DEF_CMD("flush", 0, setbridge_flush),
648 DEF_CMD("flushall", 0, setbridge_flushall),
651 DEF_CMD("addr", 1, setbridge_addr),
HDifconfig.h95 #define DEF_CMD(name, param, func) { \ macro