Home
last modified time | relevance | path

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

/freebsd-14.2/sbin/ifconfig/
H A Difconfig.c578 args->afp = afp; in args_parse()
951 for (afp = afs; afp != NULL; afp = afp->af_next) in af_getbyname()
962 for (afp = afs; afp != NULL; afp = afp->af_next) in af_getbyfamily()
975 for (afp = afs; afp != NULL; afp = afp->af_next) { in af_other_status()
992 for (afp = afs; afp != NULL; afp = afp->af_next) { in af_all_tunnel_status()
1081 error = afp->af_exec(ctx, afp->af_difaddr, afp->af_ridreq); in delifaddr()
1101 int error = afp->af_exec(ctx, afp->af_aifaddr, afp->af_addreq); in addifaddr()
1161 ctx->afp = afp; in ifconfig_ioctl()
1252 const struct afswtch *afp = ctx->afp; in setifaddr() local
1270 const struct afswtch *afp = ctx->afp; in settunnel() local
[all …]
H A Difconfig_netlink.c275 if (args->afp == NULL) in match_iface()
278 if (!strcmp(args->afp->af_name, "ether")) { in match_iface()
292 if (args->afp->af_af == ifa->addr.ifa_family) in match_iface()
388 if (args->allfamilies | (args->afp != NULL && args->afp->af_af == AF_LINK)) { in status_nl()
403 } else if (args->afp->af_af == ifa->addr.ifa_family) { in status_nl()
404 const struct afswtch *p = args->afp; in status_nl()
413 else if (args->afp->af_other_status != NULL) in status_nl()
414 args->afp->af_other_status(ctx); in status_nl()
487 ifconfig_ioctl(ctx, 0, args->afp); in list_interfaces_nl()
H A Dcarp.c101 const struct afswtch *afp = ctx->afp; in setcarp_vhid() local
109 if (afp->af_setvhid == NULL) in setcarp_vhid()
110 errx(1, "%s doesn't support carp(4)", afp->af_name); in setcarp_vhid()
111 afp->af_setvhid(carpr_vhid); in setcarp_vhid()
H A Daf_inet6.c100 const struct afswtch *afp = ctx->afp; in setifprefixlen() local
102 if (afp->af_getprefix != NULL) in setifprefixlen()
103 afp->af_getprefix(addr, MASK); in setifprefixlen()
117 const struct afswtch *afp = ctx->afp; in setip6flags() local
119 if (afp->af_af != AF_INET6) in setip6flags()
138 const struct afswtch *afp = ctx->afp; in setip6lifetime() local
152 if (afp->af_af != AF_INET6) in setip6lifetime()
178 const struct afswtch *afp = ctx->afp; in setip6eui64() local
184 if (afp->af_af != AF_INET6) in setip6eui64()
H A Difconfig.h58 const struct afswtch *afp; member
240 const struct afswtch *afp; /* AF we're operating on */ member
/freebsd-14.2/sys/net/altq/
H A Daltq_subr.c1330 afp = malloc(sizeof(*afp), M_DEVBUF, M_WAITOK | M_ZERO);
1332 afp->f_class = class;
1434 struct acc_filter *afp; local
1444 free(afp, M_DEVBUF);
1461 struct acc_filter *afp; local
1474 } while (afp != NULL);
1492 struct acc_filter *afp; local
1503 LIST_FOREACH(afp,
1514 LIST_FOREACH(afp,
1727 if (afp == NULL)
[all …]
/freebsd-14.2/sys/kern/
H A Duipc_accf.c196 struct accept_filter *afp; in accept_filt_setopt() local
263 afp = accept_filt_get(afap->af_name); in accept_filt_setopt()
264 if (afp == NULL) { in accept_filt_setopt()
268 if (afp->accf_create != NULL && afap->af_name[0] != '\0') { in accept_filt_setopt()
289 if (afp->accf_create != NULL) { in accept_filt_setopt()
290 accept_filter_arg = afp->accf_create(so, afap->af_arg); in accept_filt_setopt()
296 so->sol_accept_filter = afp; in accept_filt_setopt()
/freebsd-14.2/sys/netpfil/ipfilter/netinet/
H A Dradix_ipf.c1072 setaddr(addrfamily_t *afp, char *str) in setaddr() argument
1075 bzero((char *)afp, sizeof(*afp)); in setaddr()
1078 afp->adf_family = AF_INET; in setaddr()
1079 afp->adf_len = offsetof(addrfamily_t, adf_addr) + 4; in setaddr()
1081 afp->adf_family = AF_INET6; in setaddr()
1084 inet_pton(afp->adf_family, str, &afp->adf_addr); in setaddr()
1089 setmask(addrfamily_t *afp, char *str) in setmask() argument
1092 afp->adf_addr.in4.s_addr = inet_addr(str); in setmask()
1094 } else if (afp->adf_family == AF_INET) { in setmask()
1097 } else if (afp->adf_family == AF_INET6) { in setmask()
[all …]
/freebsd-14.2/sbin/etherswitchcfg/
H A Difmedia.c247 setmedia(const char *val, int d, int s, const struct afswtch *afp)
274 setmediaopt(const char *val, int d, int s, const struct afswtch *afp)
281 unsetmediaopt(const char *val, int d, int s, const struct afswtch *afp)
313 setmediainst(const char *val, int d, int s, const struct afswtch *afp)
332 setmediamode(const char *val, int d, int s, const struct afswtch *afp)
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/
H A Dtst.complex.d67 int (*afp[2])(); member
/freebsd-14.2/sbin/ipf/ippool/
H A Dippool_y.y807 setadflen(addrfamily_t *afp) in setadflen() argument
809 afp->adf_len = offsetof(addrfamily_t, adf_addr); in setadflen()
810 switch (afp->adf_family) in setadflen()
813 afp->adf_len += sizeof(struct in_addr); in setadflen()
817 afp->adf_len += sizeof(struct in6_addr); in setadflen()
/freebsd-14.2/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c179 parse_af(const char *string, int *afp) in parse_af() argument
182 return parse_numeric_tabular(string, afp, address_families, in parse_af()
/freebsd-14.2/usr.sbin/cxgbetool/
H A Dcxgbetool.c652 parse_ipaddr(const char *param, const char *args[], int *afp, uint8_t addr[], in parse_ipaddr() argument
680 if (*afp == AF_UNSPEC) in parse_ipaddr()
681 *afp = af; in parse_ipaddr()
682 else if (*afp != af) { in parse_ipaddr()
684 args[1], *afp == AF_INET ? "IP" : "IPv6"); in parse_ipaddr()
/freebsd-14.2/contrib/tcpdump/
H A Dprint-bgp.c1654 uint16_t *afp, uint8_t *safip) in bgp_mp_af_print() argument
1660 *afp = af; in bgp_mp_af_print()
/freebsd-14.2/contrib/arm-optimized-routines/math/test/traces/
H A Dsincosf.txt8874 0x1.136afp-2
10164 -0x1.768afp-4
H A Dexp.txt6375 -0x1.7609375851afp-1