/freebsd-13-stable/sbin/ifconfig/ |
H A D | ifconfig.c | 113 const struct afswtch *afp); 114 static void status(const struct afswtch *afp, const struct sockaddr_dl *sdl, 409 const struct afswtch *afp = NULL; local 522 afp = af_getbyname(*argv); 523 if (afp == NULL) { 527 if (afp->af_name != NULL) 529 /* leave with afp non-zero */ 591 afp = af_getbyname(*argv); 592 if (afp != NULL) 610 ifconfig(argc, argv, 0, afp); 786 struct afswtch *afp; local 797 struct afswtch *afp; local 808 struct afswtch *afp; local 825 struct afswtch *afp; local 898 const struct afswtch *afp, *nafp; local 1052 setifaddr(const char *addr, int param, int s, const struct afswtch *afp) argument 1068 settunnel(const char *src, const char *dst, int s, const struct afswtch *afp) argument 1099 deletetunnel(const char *vname, int param, int s, const struct afswtch *afp) argument 1108 setifvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument 1122 setifrvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument 1137 setifnetmask(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument 1147 setifbroadaddr(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument 1155 notealias(const char *addr, int param, int s, const struct afswtch *afp) argument 1174 setifdstaddr(const char *addr, int param __unused, int s, const struct afswtch *afp) argument 1209 setifflags(const char *vname, int value, int s, const struct afswtch *afp) argument 1229 setifcap(const char *vname, int value, int s, const struct afswtch *afp) argument 1250 setifmetric(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 1260 setifmtu(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 1270 setifpcp(const char *val, int arg __unused, int s, const struct afswtch *afp) argument 1286 disableifpcp(const char *val, int arg __unused, int s, const struct afswtch *afp) argument 1296 setifname(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 1318 setifdescr(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 1346 unsetifdescr(const char *val, int value, int s, const struct afswtch *afp) argument 1369 status(const struct afswtch *afp, const struct sockaddr_dl *sdl, struct ifaddrs *ifa) argument [all...] |
H A D | ifbridge.c | 228 setbridge_add(const char *val, int d, int s, const struct afswtch *afp) argument 239 setbridge_delete(const char *val, int d, int s, const struct afswtch *afp) argument 250 setbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument 257 unsetbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument 264 setbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument 271 unsetbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument 278 setbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument 285 unsetbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument 292 setbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument 303 unsetbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument 314 setbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument 321 unsetbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument 328 setbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument 334 unsetbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument 340 setbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument 346 unsetbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument 352 setbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument 358 unsetbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument 364 setbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument 370 unsetbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument 376 setbridge_flush(const char *val, int d, int s, const struct afswtch *afp) argument 387 setbridge_flushall(const char *val, int d, int s, const struct afswtch *afp) argument 398 setbridge_static(const char *val, const char *mac, int s, const struct afswtch *afp) argument 420 setbridge_deladdr(const char *val, int d, int s, const struct afswtch *afp) argument 438 setbridge_addr(const char *val, int d, int s, const struct afswtch *afp) argument 445 setbridge_maxaddr(const char *arg, int d, int s, const struct afswtch *afp) argument 460 setbridge_hellotime(const char *arg, int d, int s, const struct afswtch *afp) argument 475 setbridge_fwddelay(const char *arg, int d, int s, const struct afswtch *afp) argument 490 setbridge_maxage(const char *arg, int d, int s, const struct afswtch *afp) argument 505 setbridge_priority(const char *arg, int d, int s, const struct afswtch *afp) argument 520 setbridge_protocol(const char *arg, int d, int s, const struct afswtch *afp) argument 537 setbridge_holdcount(const char *arg, int d, int s, const struct afswtch *afp) argument 552 setbridge_ifpriority(const char *ifn, const char *pri, int s, const struct afswtch *afp) argument 571 setbridge_ifpathcost(const char *ifn, const char *cost, int s, const struct afswtch *afp) argument 590 setbridge_ifmaxaddr(const char *ifn, const char *arg, int s, const struct afswtch *afp) argument 609 setbridge_timeout(const char *arg, int d, int s, const struct afswtch *afp) argument 624 setbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument 631 unsetbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument [all...] |
H A D | carp.c | 92 setcarp_vhid(const char *val, int d, int s, const struct afswtch *afp) argument 101 switch (afp->af_af) { 107 ifra = (struct in_aliasreq *)afp->af_addreq; 117 ifra = (struct in6_aliasreq *)afp->af_addreq; 123 errx(1, "%s doesn't support carp(4)", afp->af_name); 157 setcarp_passwd(const char *val, int d, int s, const struct afswtch *afp) argument 167 setcarp_advskew(const char *val, int d, int s, const struct afswtch *afp) argument 177 setcarp_advbase(const char *val, int d, int s, const struct afswtch *afp) argument 187 setcarp_state(const char *val, int d, int s, const struct afswtch *afp) argument
|
H A D | ifconfig.h | 48 typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); 49 typedef void c_func2(const char *arg1, const char *arg2, int s, const struct afswtch *afp); 73 void name(const char *cmd, int arg, int s, const struct afswtch *afp) 75 void name(const char *arg1, const char *arg2, int s, const struct afswtch *afp)
|
H A D | ifgre.c | 75 const struct afswtch *afp) 87 const struct afswtch *afp) 98 setifgreopts(const char *val, int d, int s, const struct afswtch *afp) argument 74 setifgrekey(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 86 setifgreport(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
|
H A D | iffib.c | 68 const struct afswtch *afp) 87 const struct afswtch *afp) 67 setiffib(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument 86 settunfib(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
|
H A D | af_inet6.c | 80 const struct afswtch *afp) 82 if (afp->af_getprefix != NULL) 83 afp->af_getprefix(addr, MASK); 89 const struct afswtch *afp) 91 if (afp->af_af != AF_INET6) 102 const struct afswtch *afp) 112 if (afp->af_af != AF_INET6) 125 const struct afswtch *afp) 127 setip6lifetime("pltime", seconds, s, afp); 132 const struct afswtch *afp) 79 setifprefixlen(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument 88 setip6flags(const char *dummyaddr __unused, int flag, int dummysoc __unused, const struct afswtch *afp) argument 101 setip6lifetime(const char *cmd, const char *val, int s, const struct afswtch *afp) argument 124 setip6pltime(const char *seconds, int dummy __unused, int s, const struct afswtch *afp) argument 131 setip6vltime(const char *seconds, int dummy __unused, int s, const struct afswtch *afp) argument 138 setip6eui64(const char *cmd, int dummy __unused, int s, const struct afswtch *afp) argument 422 in6_postproc(int s, const struct afswtch *afp) argument [all...] |
H A D | iflagg.c | 42 setlaggport(const char *val, int d, int s, const struct afswtch *afp) argument 64 unsetlaggport(const char *val, int d, int s, const struct afswtch *afp) argument 77 setlaggproto(const char *val, int d, int s, const struct afswtch *afp) argument 101 setlaggflowidshift(const char *val, int d, int s, const struct afswtch *afp) argument 117 setlaggrr_limit(const char *val, int d, int s, const struct afswtch *afp) argument 133 setlaggsetopt(const char *val, int d, int s, const struct afswtch *afp) argument 163 setlagghash(const char *val, int d, int s, const struct afswtch *afp) argument
|
H A D | ifgif.c | 75 setgifopts(const char *val, int d, int s, const struct afswtch *afp) argument
|
H A D | ifmedia.c | 193 setmedia(const char *val, int d, int s, const struct afswtch *afp) argument 220 setmediaopt(const char *val, int d, int s, const struct afswtch *afp) argument 227 unsetmediaopt(const char *val, int d, int s, const struct afswtch *afp) argument 259 setmediainst(const char *val, int d, int s, const struct afswtch *afp) argument 278 setmediamode(const char *val, int d, int s, const struct afswtch *afp) argument
|
H A D | af_nd6.c | 80 const struct afswtch *afp) 104 const struct afswtch *afp) 78 setnd6flags(const char *dummyaddr __unused, int d, int s, const struct afswtch *afp) argument 102 setnd6defif(const char *dummyaddr __unused, int d, int s, const struct afswtch *afp) argument
|
H A D | ifvxlan.c | 576 setvxlan_flush(const char *val, int d, int s, const struct afswtch *afp) argument
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/ |
H A D | tst.complex.d | 67 int (*afp[2])();
|
/freebsd-13-stable/sys/net/altq/ |
H A D | altq_subr.c | 1320 struct acc_filter *afp, *prev, *tmp; local 1332 afp = malloc(sizeof(struct acc_filter), 1334 if (afp == NULL) 1336 bzero(afp, sizeof(struct acc_filter)); 1338 afp->f_filter = *filter; 1339 afp->f_class = class; 1343 struct flow_filter *filter4 = &afp->f_filter; 1376 (struct flow_filter6 *)&afp->f_filter; 1408 afp->f_handle = get_filt_handle(classifier, i); 1411 afp 1441 struct acc_filter *afp; local 1468 struct acc_filter *afp; local 1499 struct acc_filter *afp; local 1723 struct acc_filter *afp; local 1748 struct acc_filter *afp; local [all...] |
/freebsd-13-stable/sys/kern/ |
H A D | uipc_accf.c | 198 struct accept_filter *afp; local 265 afp = accept_filt_get(afap->af_name); 266 if (afp == NULL) { 270 if (afp->accf_create != NULL && afap->af_name[0] != '\0') { 291 if (afp->accf_create != NULL) { 292 accept_filter_arg = afp->accf_create(so, afap->af_arg); 298 so->sol_accept_filter = afp;
|
/freebsd-13-stable/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-13-stable/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-13-stable/contrib/ipfilter/tools/ |
H A D | ippool_y.y | 815 setadflen(afp) 816 addrfamily_t *afp; 818 afp->adf_len = offsetof(addrfamily_t, adf_addr); 819 switch (afp->adf_family) 822 afp->adf_len += sizeof(struct in_addr); 826 afp->adf_len += sizeof(struct in6_addr);
|
/freebsd-13-stable/usr.bin/getaddrinfo/ |
H A D | getaddrinfo.c | 181 parse_af(const char *string, int *afp) argument 184 return parse_numeric_tabular(string, afp, address_families,
|
/freebsd-13-stable/sbin/etherswitchcfg/ |
H A D | ifmedia.c | 248 setmedia(const char *val, int d, int s, const struct afswtch *afp) 275 setmediaopt(const char *val, int d, int s, const struct afswtch *afp) 282 unsetmediaopt(const char *val, int d, int s, const struct afswtch *afp) 314 setmediainst(const char *val, int d, int s, const struct afswtch *afp) 333 setmediamode(const char *val, int d, int s, const struct afswtch *afp)
|
/freebsd-13-stable/usr.sbin/cxgbetool/ |
H A D | cxgbetool.c | 653 * The value return parameter "afp" is used to specify the expected address 667 parse_ipaddr(const char *param, const char *args[], int *afp, uint8_t addr[], argument 695 if (*afp == AF_UNSPEC) 696 *afp = af; 697 else if (*afp != af) { 699 args[1], *afp == AF_INET ? "IP" : "IPv6");
|