Home
last modified time | relevance | path

Searched refs:afp (Results 1 – 15 of 15) sorted by relevance

/f-stack/tools/ifconfig/
H A Difconfig.c872 for (afp = afs; afp != NULL; afp = afp->af_next) in af_getbyname()
883 for (afp = afs; afp != NULL; afp = afp->af_next) in af_getbyfamily()
896 for (afp = afs; afp != NULL; afp = afp->af_next) { in af_other_status()
913 for (afp = afs; afp != NULL; afp = afp->af_next) { in af_all_tunnel_status()
1014 afp->af_af == AF_LINK || afp->af_af == AF_UNSPEC ? in ifconfig()
1087 afp->af_postproc(s, afp); in ifconfig()
1109 ret = ioctl(s, afp->af_difaddr, afp->af_ridreq); in ifconfig()
1111 ret = ioctl_va(s, afp->af_difaddr, afp->af_ridreq, 1, afp->af_af); in ifconfig()
1131 if (ioctl(s, afp->af_aifaddr, afp->af_addreq) < 0) in ifconfig()
1133 if (ioctl_va(s, afp->af_aifaddr, afp->af_addreq, 1, afp->af_af) < 0) in ifconfig()
[all …]
H A Difbridge.c283 setbridge_add(const char *val, int d, int s, const struct afswtch *afp) in setbridge_add() argument
319 setbridge_learn(const char *val, int d, int s, const struct afswtch *afp) in setbridge_learn() argument
347 setbridge_span(const char *val, int d, int s, const struct afswtch *afp) in setbridge_span() argument
369 setbridge_stp(const char *val, int d, int s, const struct afswtch *afp) in setbridge_stp() argument
383 setbridge_edge(const char *val, int d, int s, const struct afswtch *afp) in setbridge_edge() argument
407 setbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) in setbridge_ptp() argument
454 const struct afswtch *afp) in setbridge_static() argument
493 setbridge_addr(const char *val, int d, int s, const struct afswtch *afp) in setbridge_addr() argument
608 const struct afswtch *afp) in setbridge_ifpriority() argument
627 const struct afswtch *afp) in setbridge_ifpathcost() argument
[all …]
H A Dcarp.c105 setcarp_vhid(const char *val, int d, int s, const struct afswtch *afp) in setcarp_vhid() argument
114 switch (afp->af_af) { in setcarp_vhid()
120 ifra = (struct in_aliasreq *)afp->af_addreq; in setcarp_vhid()
130 ifra = (struct in6_aliasreq *)afp->af_addreq; in setcarp_vhid()
136 errx(1, "%s doesn't support carp(4)", afp->af_name); in setcarp_vhid()
186 setcarp_passwd(const char *val, int d, int s, const struct afswtch *afp) in setcarp_passwd() argument
200 setcarp_advskew(const char *val, int d, int s, const struct afswtch *afp) in setcarp_advskew() argument
210 setcarp_advbase(const char *val, int d, int s, const struct afswtch *afp) in setcarp_advbase() argument
220 setcarp_state(const char *val, int d, int s, const struct afswtch *afp) in setcarp_state() argument
H A Daf_inet6.c83 const struct afswtch *afp) in setifprefixlen() argument
85 if (afp->af_getprefix != NULL) in setifprefixlen()
92 const struct afswtch *afp) in setip6flags() argument
94 if (afp->af_af != AF_INET6) in setip6flags()
105 const struct afswtch *afp) in setip6lifetime() argument
120 if (afp->af_af != AF_INET6) in setip6lifetime()
133 const struct afswtch *afp) in setip6pltime() argument
140 const struct afswtch *afp) in setip6vltime() argument
147 const struct afswtch *afp) in setip6eui64() argument
154 if (afp->af_af != AF_INET6) in setip6eui64()
[all …]
H A Difconfig.h59 typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp);
60 typedef void c_func2(const char *arg1, const char *arg2, int s, const struct afswtch *afp);
84 void name(const char *cmd, int arg, int s, const struct afswtch *afp)
86 void name(const char *arg1, const char *arg2, int s, const struct afswtch *afp)
H A Diflagg.c40 setlaggport(const char *val, int d, int s, const struct afswtch *afp) in setlaggport() argument
62 unsetlaggport(const char *val, int d, int s, const struct afswtch *afp) in unsetlaggport() argument
75 setlaggproto(const char *val, int d, int s, const struct afswtch *afp) in setlaggproto() argument
99 setlaggflowidshift(const char *val, int d, int s, const struct afswtch *afp) in setlaggflowidshift() argument
115 setlaggrr_limit(const char *val, int d, int s, const struct afswtch *afp) in setlaggrr_limit() argument
131 setlaggsetopt(const char *val, int d, int s, const struct afswtch *afp) in setlaggsetopt() argument
161 setlagghash(const char *val, int d, int s, const struct afswtch *afp) in setlagghash() argument
H A Difgre.c91 const struct afswtch *afp) in setifgrekey() argument
109 const struct afswtch *afp) in setifgreport() argument
126 setifgreopts(const char *val, int d, int s, const struct afswtch *afp) argument
H A Diffib.c68 const struct afswtch *afp) in setiffib() argument
87 const struct afswtch *afp) in settunfib() argument
H A Daf_nd6.c83 const struct afswtch *afp) in setnd6flags() argument
116 const struct afswtch *afp) in setnd6defif() argument
H A Difmedia.c288 setmedia(const char *val, int d, int s, const struct afswtch *afp) in setmedia() argument
315 setmediaopt(const char *val, int d, int s, const struct afswtch *afp) in setmediaopt() argument
322 unsetmediaopt(const char *val, int d, int s, const struct afswtch *afp) in unsetmediaopt() argument
354 setmediainst(const char *val, int d, int s, const struct afswtch *afp) in setmediainst() argument
373 setmediamode(const char *val, int d, int s, const struct afswtch *afp) in setmediamode() argument
H A Difgif.c81 setgifopts(const char *val, int d, int s, const struct afswtch *afp) argument
H A Difvxlan.c605 setvxlan_flush(const char *val, int d, int s, const struct afswtch *afp) in setvxlan_flush() argument
/f-stack/freebsd/net/altq/
H A Daltq_subr.c1334 if (afp == NULL)
1339 afp->f_class = class;
1441 struct acc_filter *afp; local
1451 free(afp, M_DEVBUF);
1468 struct acc_filter *afp; local
1481 } while (afp != NULL);
1499 struct acc_filter *afp; local
1510 LIST_FOREACH(afp,
1521 LIST_FOREACH(afp,
1734 if (afp == NULL)
[all …]
/f-stack/freebsd/kern/
H A Duipc_accf.c198 struct accept_filter *afp; in accept_filt_setopt() local
265 afp = accept_filt_get(afap->af_name); in accept_filt_setopt()
266 if (afp == NULL) { in accept_filt_setopt()
270 if (afp->accf_create != NULL && afap->af_name[0] != '\0') { in accept_filt_setopt()
292 if (afp->accf_create != NULL) { in accept_filt_setopt()
293 accept_filter_arg = afp->accf_create(so, afap->af_arg); in accept_filt_setopt()
299 so->sol_accept_filter = afp; in accept_filt_setopt()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dradix_ipf.c1103 setaddr(afp, str) in setaddr() argument
1104 addrfamily_t *afp; in setaddr()
1108 bzero((char *)afp, sizeof(*afp));
1111 afp->adf_family = AF_INET;
1114 afp->adf_family = AF_INET6;
1117 inet_pton(afp->adf_family, str, &afp->adf_addr);
1122 setmask(afp, str) in setmask() argument
1123 addrfamily_t *afp; in setmask()
1129 } else if (afp->adf_family == AF_INET) {
1132 } else if (afp->adf_family == AF_INET6) {
[all …]