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
124 setlaggsetopt(const char *val, int d, int s, const struct afswtch *afp) argument
154 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.c293 setbridge_add(const char *val, int d, int s, const struct afswtch *afp) argument
304 setbridge_delete(const char *val, int d, int s, const struct afswtch *afp) argument
315 setbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument
322 unsetbridge_discover(const char *val, int d, int s, const struct afswtch *afp) argument
329 setbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument
336 unsetbridge_learn(const char *val, int d, int s, const struct afswtch *afp) argument
343 setbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument
350 unsetbridge_sticky(const char *val, int d, int s, const struct afswtch *afp) argument
357 setbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument
368 unsetbridge_span(const char *val, int d, int s, const struct afswtch *afp) argument
379 setbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument
386 unsetbridge_stp(const char *val, int d, int s, const struct afswtch *afp) argument
393 setbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument
399 unsetbridge_edge(const char *val, int d, int s, const struct afswtch *afp) argument
405 setbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument
411 unsetbridge_autoedge(const char *val, int d, int s, const struct afswtch *afp) argument
417 setbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument
423 unsetbridge_ptp(const char *val, int d, int s, const struct afswtch *afp) argument
429 setbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument
435 unsetbridge_autoptp(const char *val, int d, int s, const struct afswtch *afp) argument
441 setbridge_flush(const char *val, int d, int s, const struct afswtch *afp) argument
452 setbridge_flushall(const char *val, int d, int s, const struct afswtch *afp) argument
463 setbridge_static(const char *val, const char *mac, int s, const struct afswtch *afp) argument
485 setbridge_deladdr(const char *val, int d, int s, const struct afswtch *afp) argument
503 setbridge_addr(const char *val, int d, int s, const struct afswtch *afp) argument
510 setbridge_maxaddr(const char *arg, int d, int s, const struct afswtch *afp) argument
525 setbridge_hellotime(const char *arg, int d, int s, const struct afswtch *afp) argument
540 setbridge_fwddelay(const char *arg, int d, int s, const struct afswtch *afp) argument
555 setbridge_maxage(const char *arg, int d, int s, const struct afswtch *afp) argument
570 setbridge_priority(const char *arg, int d, int s, const struct afswtch *afp) argument
585 setbridge_protocol(const char *arg, int d, int s, const struct afswtch *afp) argument
602 setbridge_holdcount(const char *arg, int d, int s, const struct afswtch *afp) argument
617 setbridge_ifpriority(const char *ifn, const char *pri, int s, const struct afswtch *afp) argument
636 setbridge_ifpathcost(const char *ifn, const char *cost, int s, const struct afswtch *afp) argument
655 setbridge_ifmaxaddr(const char *ifn, const char *arg, int s, const struct afswtch *afp) argument
674 setbridge_timeout(const char *arg, int d, int s, const struct afswtch *afp) argument
689 setbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument
696 unsetbridge_private(const char *val, int d, int s, const struct afswtch *afp) argument
[all...]
H A Difconfig.c109 const struct afswtch *afp);
110 static void status(const struct afswtch *afp, const struct sockaddr_dl *sdl,
397 const struct afswtch *afp = NULL; local
492 afp = af_getbyname(*argv);
493 if (afp == NULL) {
497 if (afp->af_name != NULL)
499 /* leave with afp non-zero */
561 afp = af_getbyname(*argv);
562 if (afp != NULL)
580 ifconfig(argc, argv, 0, afp);
685 struct afswtch *afp; local
696 struct afswtch *afp; local
707 struct afswtch *afp; local
724 struct afswtch *afp; local
797 const struct afswtch *afp, *nafp; local
951 setifaddr(const char *addr, int param, int s, const struct afswtch *afp) argument
967 settunnel(const char *src, const char *dst, int s, const struct afswtch *afp) argument
998 deletetunnel(const char *vname, int param, int s, const struct afswtch *afp) argument
1007 setifvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument
1021 setifrvnet(const char *jname, int dummy __unused, int s, const struct afswtch *afp) argument
1036 setifnetmask(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument
1046 setifbroadaddr(const char *addr, int dummy __unused, int s, const struct afswtch *afp) argument
1054 notealias(const char *addr, int param, int s, const struct afswtch *afp) argument
1073 setifdstaddr(const char *addr, int param __unused, int s, const struct afswtch *afp) argument
1108 setifflags(const char *vname, int value, int s, const struct afswtch *afp) argument
1128 setifcap(const char *vname, int value, int s, const struct afswtch *afp) argument
1149 setifmetric(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1159 setifmtu(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1169 setifpcp(const char *val, int arg __unused, int s, const struct afswtch *afp) argument
1185 disableifpcp(const char *val, int arg __unused, int s, const struct afswtch *afp) argument
1195 setifname(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1217 setifdescr(const char *val, int dummy __unused, int s, const struct afswtch *afp) argument
1245 unsetifdescr(const char *val, int value, int s, const struct afswtch *afp) argument
1267 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.c197 struct accept_filter *afp; local
264 afp = accept_filt_get(afap->af_name);
265 if (afp == NULL) {
269 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-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 1119 milliseconds