/freebsd-current/sbin/ifconfig/ |
H A D | ifconfig.c | 560 const struct afswtch *afp = af_getbyname(*argv); local 562 if (afp == NULL) { 566 if (afp->af_name != NULL) 568 /* leave with afp non-zero */ 569 args->afp = afp; 704 args->afp = af_getbyname(args_peek(args)); 705 if (args->afp != NULL) 722 ifconfig(&ctx, 0, args->afp); 727 args->allfamilies = args->afp 765 match_afp(const struct afswtch *afp, int sa_family, const struct sockaddr_dl *sdl) argument 940 struct afswtch *afp; local 951 struct afswtch *afp; local 962 struct afswtch *afp; local 979 struct afswtch *afp; local 1061 delifaddr(if_ctx *ctx, const struct afswtch *afp) argument 1082 addifaddr(if_ctx *ctx, const struct afswtch *afp) argument 1101 const struct afswtch *afp, *nafp; local 1243 const struct afswtch *afp = ctx->afp; local 1261 const struct afswtch *afp = ctx->afp; local 1327 const struct afswtch *afp = ctx->afp; local 1338 const struct afswtch *afp = ctx->afp; local 1347 const struct afswtch *afp = ctx->afp; local 1364 const struct afswtch *afp = ctx->afp; local [all...] |
H A D | ifconfig_netlink.c | 265 if (args->afp == NULL) 268 if (!strcmp(args->afp->af_name, "ether")) { 279 } else if (args->afp->af_af == AF_LINK) 288 if (args->afp->af_af == ifa->addr.ifa_family) 384 if (args->allfamilies | (args->afp != NULL && args->afp->af_af == AF_LINK)) { 399 } else if (args->afp->af_af == ifa->addr.ifa_family) { 400 const struct afswtch *p = args->afp; 409 else if (args->afp->af_other_status != NULL) 410 args->afp [all...] |
H A D | carp.c | 113 const struct afswtch *afp = ctx->afp; local 121 if (afp->af_setvhid == NULL) 122 errx(1, "%s doesn't support carp(4)", afp->af_name); 123 afp->af_setvhid(carpr_vhid);
|
H A D | af_inet6.c | 100 const struct afswtch *afp = ctx->afp; local 102 if (afp->af_getprefix != NULL) 103 afp->af_getprefix(addr, MASK); 117 const struct afswtch *afp = ctx->afp; local 119 if (afp->af_af != AF_INET6) 138 const struct afswtch *afp = ctx->afp; local 152 if (afp 178 const struct afswtch *afp = ctx->afp; local [all...] |
H A D | ifconfig.h | 59 const struct afswtch *afp; member in struct:ifconfig_context 241 const struct afswtch *afp; /* AF we're operating on */ member in struct:ifconfig_args
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/ |
H A D | tst.complex.d | 67 int (*afp[2])();
|
/freebsd-current/sys/net/altq/ |
H A D | altq_subr.c | 1318 struct acc_filter *afp, *prev, *tmp; local 1330 afp = malloc(sizeof(struct acc_filter), 1332 if (afp == NULL) 1334 bzero(afp, sizeof(struct acc_filter)); 1336 afp->f_filter = *filter; 1337 afp->f_class = class; 1341 struct flow_filter *filter4 = &afp->f_filter; 1374 (struct flow_filter6 *)&afp->f_filter; 1406 afp->f_handle = get_filt_handle(classifier, i); 1409 afp 1439 struct acc_filter *afp; local 1466 struct acc_filter *afp; local 1497 struct acc_filter *afp; local 1721 struct acc_filter *afp; local 1746 struct acc_filter *afp; local [all...] |
/freebsd-current/sys/kern/ |
H A D | uipc_accf.c | 196 struct accept_filter *afp; local 263 afp = accept_filt_get(afap->af_name); 264 if (afp == NULL) { 268 if (afp->accf_create != NULL && afap->af_name[0] != '\0') { 293 if (afp->accf_create != NULL) { 294 accept_filter_arg = afp->accf_create(so, afap->af_arg); 300 so->sol_accept_filter = afp;
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | radix_ipf.c | 1072 setaddr(addrfamily_t *afp, char *str) argument 1075 bzero((char *)afp, sizeof(*afp)); 1078 afp->adf_family = AF_INET; 1079 afp->adf_len = offsetof(addrfamily_t, adf_addr) + 4; 1081 afp->adf_family = AF_INET6; 1082 afp->adf_len = offsetof(addrfamily_t, adf_addr) + 16; 1084 inet_pton(afp->adf_family, str, &afp->adf_addr); 1089 setmask(addrfamily_t *afp, cha argument [all...] |
/freebsd-current/usr.bin/getaddrinfo/ |
H A D | getaddrinfo.c | 178 parse_af(const char *string, int *afp) argument 181 return parse_numeric_tabular(string, afp, address_families,
|
/freebsd-current/sbin/etherswitchcfg/ |
H A D | ifmedia.c | 247 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-current/sbin/ipf/ippool/ |
H A D | ippool_y.y | 807 setadflen(addrfamily_t *afp) 809 afp->adf_len = offsetof(addrfamily_t, adf_addr); 810 switch (afp->adf_family) 813 afp->adf_len += sizeof(struct in_addr); 817 afp->adf_len += sizeof(struct in6_addr);
|
/freebsd-current/usr.sbin/cxgbetool/ |
H A D | cxgbetool.c | 644 * The value return parameter "afp" is used to specify the expected address 658 parse_ipaddr(const char *param, const char *args[], int *afp, uint8_t addr[], argument 686 if (*afp == AF_UNSPEC) 687 *afp = af; 688 else if (*afp != af) { 690 args[1], *afp == AF_INET ? "IP" : "IPv6");
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-bgp.c | 1654 uint16_t *afp, uint8_t *safip) 1660 *afp = af; 1652 bgp_mp_af_print(netdissect_options *ndo, const u_char *tptr, u_int tlen, uint16_t *afp, uint8_t *safip) argument
|