Searched defs:afp (Results 1 - 15 of 15) sorted by relevance

/freebsd-head/sbin/ifconfig/
H A Diffib.c68 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 Difgif.c75 setgifopts(const char *val, int d, int s, const struct afswtch *afp) argument
H A Daf_nd6.c80 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 Difgre.c75 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 Dcarp.c95 setcarp_vhid(const char *val, int d, int s, const struct afswtch *afp) argument
104 switch (afp->af_af) {
110 ifra = (struct in_aliasreq *)afp->af_addreq;
120 ifra = (struct in6_aliasreq *)afp->af_addreq;
126 errx(1, "%s doesn't support carp(4)", afp->af_name);
160 setcarp_passwd(const char *val, int d, int s, const struct afswtch *afp) argument
170 setcarp_advskew(const char *val, int d, int s, const struct afswtch *afp) argument
180 setcarp_advbase(const char *val, int d, int s, const struct afswtch *afp) argument
190 setcarp_state(const char *val, int d, int s, const struct afswtch *afp) argument
H A Diflagg.c36 setlaggport(const char *val, int d, int s, const struct afswtch *afp) argument
58 unsetlaggport(const char *val, int d, int s, const struct afswtch *afp) argument
71 setlaggproto(const char *val, int d, int s, const struct afswtch *afp) argument
95 setlaggflowidshift(const char *val, int d, int s, const struct afswtch *afp) argument
111 setlaggrr_limit(const char *val, int d, int s, const struct afswtch *afp) argument
127 setlaggsetopt(const char *val, int d, int s, const struct afswtch *afp) argument
157 setlagghash(const char *val, int d, int s, const struct afswtch *afp) argument
H A Difvxlan.c577 setvxlan_flush(const char *val, int d, int s, const struct afswtch *afp) argument
H A Daf_inet6.c80 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 Difmedia.c288 setmedia(const char *val, int d, int s, const struct afswtch *afp) argument
315 setmediaopt(const char *val, int d, int s, const struct afswtch *afp) argument
322 unsetmediaopt(const char *val, int d, int s, const struct afswtch *afp) argument
354 setmediainst(const char *val, int d, int s, const struct afswtch *afp) argument
373 setmediamode(const char *val, int d, int s, const struct afswtch *afp) argument
H A Difbridge.c266 setbridge_add(const char *val, int d, int s, const struct afswtch *afp) argument
277 setbridge_delete(const char *val, int d, int s, const struct afswtch *afp) argument
288 setbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument
295 unsetbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument
302 setbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument
309 unsetbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument
316 setbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument
323 unsetbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument
330 setbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument
341 unsetbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument
352 setbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument
359 unsetbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument
366 setbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument
372 unsetbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument
378 setbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument
384 unsetbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument
390 setbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument
396 unsetbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument
402 setbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument
408 unsetbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument
414 setbridge_flush(const char *val, int d, int s, const struct afswtch *afp) argument
425 setbridge_flushall(const char *val, int d, int s, const struct afswtch *afp) argument
436 setbridge_static(const char *val, const char *mac, int s, const struct afswtch *afp) argument
458 setbridge_deladdr(const char *val, int d, int s, const struct afswtch *afp) argument
476 setbridge_addr(const char *val, int d, int s, const struct afswtch *afp) argument
483 setbridge_maxaddr(const char *arg, int d, int s, const struct afswtch *afp) argument
498 setbridge_hellotime(const char *arg, int d, int s, const struct afswtch *afp) argument
513 setbridge_fwddelay(const char *arg, int d, int s, const struct afswtch *afp) argument
528 setbridge_maxage(const char *arg, int d, int s, const struct afswtch *afp) argument
543 setbridge_priority(const char *arg, int d, int s, const struct afswtch *afp) argument
558 setbridge_protocol(const char *arg, int d, int s, const struct afswtch *afp) argument
575 setbridge_holdcount(const char *arg, int d, int s, const struct afswtch *afp) argument
590 setbridge_ifpriority(const char *ifn, const char *pri, int s, const struct afswtch *afp) argument
609 setbridge_ifpathcost(const char *ifn, const char *cost, int s, const struct afswtch *afp) argument
628 setbridge_ifmaxaddr(const char *ifn, const char *arg, int s, const struct afswtch *afp) argument
647 setbridge_timeout(const char *arg, int d, int s, const struct afswtch *afp) argument
662 setbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument
669 unsetbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument
[all...]
H A Difconfig.c112 const struct afswtch *afp);
113 static void status(const struct afswtch *afp, const struct sockaddr_dl *sdl,
400 const struct afswtch *afp = NULL; local
509 afp = af_getbyname(*argv);
510 if (afp == NULL) {
514 if (afp->af_name != NULL)
516 /* leave with afp non-zero */
578 afp = af_getbyname(*argv);
579 if (afp != NULL)
597 ifconfig(argc, argv, 0, afp);
771 struct afswtch *afp; local
782 struct afswtch *afp; local
793 struct afswtch *afp; local
810 struct afswtch *afp; local
883 const struct afswtch *afp, *nafp; local
1037 setifaddr(const char *addr, int param, int s, const struct afswtch *afp) argument
1053 settunnel(const char *src, const char *dst, int s, const struct afswtch *afp) argument
1084 deletetunnel(const char *vname, int param, int s, const struct afswtch *afp) argument
1093 setifvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument
1107 setifrvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument
1122 setifnetmask(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument
1132 setifbroadaddr(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument
1140 notealias(const char *addr, int param, int s, const struct afswtch *afp) argument
1159 setifdstaddr(const char *addr, int param __unused, int s, const struct afswtch *afp) argument
1194 setifflags(const char *vname, int value, int s, const struct afswtch *afp) argument
1214 setifcap(const char *vname, int value, int s, const struct afswtch *afp) argument
1235 setifmetric(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1245 setifmtu(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1255 setifpcp(const char *val, int arg __unused, int s, const struct afswtch *afp) argument
1271 disableifpcp(const char *val, int arg __unused, int s, const struct afswtch *afp) argument
1281 setifname(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1303 setifdescr(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1331 unsetifdescr(const char *val, int value, int s, const struct afswtch *afp) argument
1353 status(const struct afswtch *afp, const struct sockaddr_dl *sdl, struct ifaddrs *ifa) argument
[all...]
/freebsd-head/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c181 parse_af(const char *string, int *afp) argument
184 return parse_numeric_tabular(string, afp, address_families,
/freebsd-head/sys/kern/
H A Duipc_accf.c198 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') {
292 if (afp->accf_create != NULL) {
293 accept_filter_arg = afp->accf_create(so, afap->af_arg);
299 so->sol_accept_filter = afp;
/freebsd-head/sys/net/altq/
H A Daltq_subr.c1321 struct acc_filter *afp, *prev, *tmp; local
1333 afp = malloc(sizeof(struct acc_filter),
1335 if (afp == NULL)
1337 bzero(afp, sizeof(struct acc_filter));
1339 afp->f_filter = *filter;
1340 afp->f_class = class;
1344 struct flow_filter *filter4 = &afp->f_filter;
1377 (struct flow_filter6 *)&afp->f_filter;
1409 afp->f_handle = get_filt_handle(classifier, i);
1412 afp
1442 struct acc_filter *afp; local
1469 struct acc_filter *afp; local
1500 struct acc_filter *afp; local
1724 struct acc_filter *afp; local
1749 struct acc_filter *afp; local
[all...]
/freebsd-head/usr.sbin/cxgbetool/
H A Dcxgbetool.c653 * 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");

Completed in 109 milliseconds