/freebsd-10.3-release/sbin/ifconfig/ |
H A D | ifconfig.c | 101 const struct afswtch *afp); 102 static void status(const struct afswtch *afp, const struct sockaddr_dl *sdl, 148 const struct afswtch *afp = NULL; local 224 afp = af_getbyname(*argv); 225 if (afp == NULL) { 229 if (afp->af_name != NULL) 231 /* leave with afp non-zero */ 281 afp = af_getbyname(*argv); 282 if (afp != NULL) 326 if (afp ! 373 struct afswtch *afp; local 384 struct afswtch *afp; local 395 struct afswtch *afp; local 412 struct afswtch *afp; local 485 const struct afswtch *afp, *nafp; local 639 setifaddr(const char *addr, int param, int s, const struct afswtch *afp) argument 655 settunnel(const char *src, const char *dst, int s, const struct afswtch *afp) argument 686 deletetunnel(const char *vname, int param, int s, const struct afswtch *afp) argument 695 setifvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument 709 setifrvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument 724 setifnetmask(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument 734 setifbroadaddr(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument 742 setifipdst(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument 756 notealias(const char *addr, int param, int s, const struct afswtch *afp) argument 775 setifdstaddr(const char *addr, int param __unused, int s, const struct afswtch *afp) argument 788 setifflags(const char *vname, int value, int s, const struct afswtch *afp) argument 814 setifcap(const char *vname, int value, int s, const struct afswtch *afp) argument 835 setifmetric(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 845 setifmtu(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 855 setifname(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 874 setifdescr(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 900 unsetifdescr(const char *val, int value, int s, const struct afswtch *afp) argument 922 status(const struct afswtch *afp, const struct sockaddr_dl *sdl, struct ifaddrs *ifa) argument [all...] |
H A D | ifbridge.c | 294 setbridge_add(const char *val, int d, int s, const struct afswtch *afp) argument 305 setbridge_delete(const char *val, int d, int s, const struct afswtch *afp) argument 316 setbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument 323 unsetbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument 330 setbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument 337 unsetbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument 344 setbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument 351 unsetbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument 358 setbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument 369 unsetbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument 380 setbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument 387 unsetbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument 394 setbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument 400 unsetbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument 406 setbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument 412 unsetbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument 418 setbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument 424 unsetbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument 430 setbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument 436 unsetbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument 442 setbridge_flush(const char *val, int d, int s, const struct afswtch *afp) argument 453 setbridge_flushall(const char *val, int d, int s, const struct afswtch *afp) argument 464 setbridge_static(const char *val, const char *mac, int s, const struct afswtch *afp) argument 486 setbridge_deladdr(const char *val, int d, int s, const struct afswtch *afp) argument 504 setbridge_addr(const char *val, int d, int s, const struct afswtch *afp) argument 511 setbridge_maxaddr(const char *arg, int d, int s, const struct afswtch *afp) argument 526 setbridge_hellotime(const char *arg, int d, int s, const struct afswtch *afp) argument 541 setbridge_fwddelay(const char *arg, int d, int s, const struct afswtch *afp) argument 556 setbridge_maxage(const char *arg, int d, int s, const struct afswtch *afp) argument 571 setbridge_priority(const char *arg, int d, int s, const struct afswtch *afp) argument 586 setbridge_protocol(const char *arg, int d, int s, const struct afswtch *afp) argument 603 setbridge_holdcount(const char *arg, int d, int s, const struct afswtch *afp) argument 618 setbridge_ifpriority(const char *ifn, const char *pri, int s, const struct afswtch *afp) argument 637 setbridge_ifpathcost(const char *ifn, const char *cost, int s, const struct afswtch *afp) argument 656 setbridge_ifmaxaddr(const char *ifn, const char *arg, int s, const struct afswtch *afp) argument 675 setbridge_timeout(const char *arg, int d, int s, const struct afswtch *afp) argument 690 setbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument 697 unsetbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument [all...] |
H A D | carp.c | 94 setcarp_vhid(const char *val, int d, int s, const struct afswtch *afp) argument 103 switch (afp->af_af) { 109 ifra = (struct in_aliasreq *)afp->af_addreq; 119 ifra = (struct in6_aliasreq *)afp->af_addreq; 125 errx(1, "%s doesn't support carp(4)", afp->af_name); 159 setcarp_passwd(const char *val, int d, int s, const struct afswtch *afp) argument 169 setcarp_advskew(const char *val, int d, int s, const struct afswtch *afp) argument 179 setcarp_advbase(const char *val, int d, int s, const struct afswtch *afp) argument 189 setcarp_state(const char *val, int d, int s, const struct afswtch *afp) argument
|
H A D | ifconfig.h | 42 typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); 43 typedef void c_func2(const char *arg1, const char *arg2, int s, const struct afswtch *afp); 67 void name(const char *cmd, int arg, int s, const struct afswtch *afp) 69 void name(const char *arg1, const char *arg2, int s, const struct afswtch *afp)
|
H A D | af_inet6.c | 78 const struct afswtch *afp) 80 if (afp->af_getprefix != NULL) 81 afp->af_getprefix(addr, MASK); 87 const struct afswtch *afp) 89 if (afp->af_af != AF_INET6) 100 const struct afswtch *afp) 110 if (afp->af_af != AF_INET6) 123 const struct afswtch *afp) 125 setip6lifetime("pltime", seconds, s, afp); 130 const struct afswtch *afp) 77 setifprefixlen(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument 86 setip6flags(const char *dummyaddr __unused, int flag, int dummysoc __unused, const struct afswtch *afp) argument 99 setip6lifetime(const char *cmd, const char *val, int s, const struct afswtch *afp) argument 122 setip6pltime(const char *seconds, int dummy __unused, int s, const struct afswtch *afp) argument 129 setip6vltime(const char *seconds, int dummy __unused, int s, const struct afswtch *afp) argument 136 setip6eui64(const char *cmd, int dummy __unused, int s, const struct afswtch *afp) argument 405 in6_postproc(int s, const struct afswtch *afp) argument [all...] |
H A D | iffib.c | 66 const struct afswtch *afp) 85 const struct afswtch *afp) 65 setiffib(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 84 settunfib(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
|
H A D | ifgre.c | 67 const struct afswtch *afp) 78 setifgreopts(const char *val, int d, int s, const struct afswtch *afp) argument 66 setifgrekey(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
|
H A D | af_atalk.c | 59 const struct afswtch *afp) 73 const struct afswtch *afp) 134 at_postproc(int s, const struct afswtch *afp) argument 58 setatrange(const char *range, int dummy __unused, int s, const struct afswtch *afp) argument 72 setatphase(const char *phase, int dummy __unused, int s, const struct afswtch *afp) argument
|
H A D | iflagg.c | 36 setlaggport(const char *val, int d, int s, const struct afswtch *afp) argument 50 unsetlaggport(const char *val, int d, int s, const struct afswtch *afp) argument 63 setlaggproto(const char *val, int d, int s, const struct afswtch *afp) argument 87 setlaggflowidshift(const char *val, int d, int s, const struct afswtch *afp) argument 103 setlaggsetopt(const char *val, int d, int s, const struct afswtch *afp) argument 131 setlagghash(const char *val, int d, int s, const struct afswtch *afp) argument
|
H A D | ifgif.c | 73 setgifopts(const char *val, int d, int s, const struct afswtch *afp) argument
|
H A D | af_nd6.c | 72 const struct afswtch *afp) 96 const struct afswtch *afp) 70 setnd6flags(const char *dummyaddr __unused, int d, int s, const struct afswtch *afp) argument 94 setnd6defif(const char *dummyaddr __unused, int d, int s, const struct afswtch *afp) argument
|
H A D | af_ipx.c | 97 ipx_postproc(int s, const struct afswtch *afp) argument
|
H A D | ifmedia.c | 272 setmedia(const char *val, int d, int s, const struct afswtch *afp) argument 299 setmediaopt(const char *val, int d, int s, const struct afswtch *afp) argument 306 unsetmediaopt(const char *val, int d, int s, const struct afswtch *afp) argument 338 setmediainst(const char *val, int d, int s, const struct afswtch *afp) argument 357 setmediamode(const char *val, int d, int s, const struct afswtch *afp) argument
|
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/ |
H A D | tst.complex.d | 67 int (*afp[2])();
|
/freebsd-10.3-release/sys/contrib/altq/altq/ |
H A D | altq_subr.c | 1354 struct acc_filter *afp, *prev, *tmp; local 1366 afp = malloc(sizeof(struct acc_filter), 1368 if (afp == NULL) 1370 bzero(afp, sizeof(struct acc_filter)); 1372 afp->f_filter = *filter; 1373 afp->f_class = class; 1377 struct flow_filter *filter4 = &afp->f_filter; 1410 (struct flow_filter6 *)&afp->f_filter; 1442 afp->f_handle = get_filt_handle(classifier, i); 1445 afp 1479 struct acc_filter *afp; local 1510 struct acc_filter *afp; local 1545 struct acc_filter *afp; local 1769 struct acc_filter *afp; local 1794 struct acc_filter *afp; local [all...] |
H A D | altq_cbq.c | 771 cbq_add_filter(afp) 772 struct cbq_add_filter *afp; 778 ifacename = afp->cbq_iface.cbq_ifacename; 783 if ((cl = clh_to_clp(cbqp, afp->cbq_class_handle)) == NULL) 786 return acc_add_filter(&cbqp->cbq_classifier, &afp->cbq_filter, 787 cl, &afp->cbq_filter_handle);
|
/freebsd-10.3-release/sys/kern/ |
H A D | uipc_accf.c | 198 struct accept_filter *afp; local 240 afp = accept_filt_get(afap->af_name); 241 if (afp == NULL) { 253 if (afp->accf_create != NULL && afap->af_name[0] != '\0') { 276 if (afp->accf_create != NULL) { 278 afp->accf_create(so, afap->af_arg); 284 newaf->so_accept_filter = afp;
|
/freebsd-10.3-release/usr.sbin/IPXrouted/ |
H A D | sap_input.c | 54 struct afswitch *afp; local 72 afp = &afswitch[from->sa_family]; 94 (*afp->af_output)(sapsock, 0, from, newsize); 130 (*afp->af_canon)(from);
|
H A D | input.c | 77 struct afswitch *afp; local 93 afp = &afswitch[from->sa_family]; 177 (*afp->af_output)(ripsock, 0, from, newsize); 193 if ((*afp->af_portmatch)(from) == 0) 195 (*afp->af_canon)(from);
|
/freebsd-10.3-release/contrib/ipfilter/ |
H A D | radix_ipf.c | 1103 setaddr(afp, str) 1104 addrfamily_t *afp; 1108 bzero((char *)afp, sizeof(*afp)); 1111 afp->adf_family = AF_INET; 1112 afp->adf_len = offsetof(addrfamily_t, adf_addr) + 4; 1114 afp->adf_family = AF_INET6; 1115 afp->adf_len = offsetof(addrfamily_t, adf_addr) + 16; 1117 inet_pton(afp->adf_family, str, &afp [all...] |
/freebsd-10.3-release/sys/contrib/ipfilter/netinet/ |
H A D | radix_ipf.c | 1103 setaddr(afp, str) 1104 addrfamily_t *afp; 1108 bzero((char *)afp, sizeof(*afp)); 1111 afp->adf_family = AF_INET; 1112 afp->adf_len = offsetof(addrfamily_t, adf_addr) + 4; 1114 afp->adf_family = AF_INET6; 1115 afp->adf_len = offsetof(addrfamily_t, adf_addr) + 16; 1117 inet_pton(afp->adf_family, str, &afp [all...] |
/freebsd-10.3-release/contrib/ipfilter/tools/ |
H A D | ippool_y.y | 804 setadflen(afp) 805 addrfamily_t *afp; 807 afp->adf_len = offsetof(addrfamily_t, adf_addr); 808 switch (afp->adf_family) 811 afp->adf_len += sizeof(struct in_addr); 815 afp->adf_len += sizeof(struct in6_addr);
|
/freebsd-10.3-release/sbin/etherswitchcfg/ |
H A D | ifmedia.c | 254 setmedia(const char *val, int d, int s, const struct afswtch *afp) 281 setmediaopt(const char *val, int d, int s, const struct afswtch *afp) 288 unsetmediaopt(const char *val, int d, int s, const struct afswtch *afp) 320 setmediainst(const char *val, int d, int s, const struct afswtch *afp) 339 setmediamode(const char *val, int d, int s, const struct afswtch *afp)
|
/freebsd-10.3-release/sys/compat/svr4/ |
H A D | svr4_stream.c | 1655 struct file *afp; local 1660 afp = NULL; 1799 error = kern_accept(td, uap->fd, &sa, &sasize, &afp); 1831 fdclose(td->td_proc->p_fd, afp, st->s_afd, td); 1832 fdrop(afp, td); 1968 if (afp) { 1969 fdclose(td->td_proc->p_fd, afp, st->s_afd, td); 1970 fdrop(afp, td); 1977 if (afp) 1978 fdrop(afp, t [all...] |
/freebsd-10.3-release/usr.sbin/faithd/ |
H A D | ftp.c | 889 char *afp, *hostp, *portp; local 912 afp = p; 939 n = sscanf(afp, "%d", &af);
|