Searched defs:pfx (Results 1 - 20 of 20) sorted by relevance

/freebsd-head/lib/libc/stdio/
H A Dtempnam.c52 tempnam(const char *dir, const char *pfx) argument
60 if (!pfx)
61 pfx = "tmp.";
65 *(f + strlen(f) - 1) == '/'? "": "/", pfx);
72 *(f + strlen(f) - 1) == '/'? "": "/", pfx);
78 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx);
83 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx);
/freebsd-head/sys/contrib/ngatm/netnatm/api/
H A Dcc_dump.c211 cc_dump_party(struct dump *d, const struct ccparty *party, const char *pfx) argument
214 cc_dumpf(d, "%s party(%p): %u.%u %s\n", pfx, party,
223 cc_dump_conn(struct dump *d, const struct ccconn *conn, const char *pfx) argument
227 cc_dumpf(d, "%sconn(%p): %s\n", pfx, conn,
229 cc_dumpf(d, "%s user=%p cref=%u.%u acceptor=%p\n", pfx,
233 cc_dumpf(d, "%s blli_sel=%u\n", pfx, conn->blli_selector);
236 cc_dump_party(d, party, pfx);
/freebsd-head/bin/sh/
H A Dshow.c73 shtree(union node *n, int ind, char *pfx, FILE *fp) argument
81 indent(ind, pfx, fp);
260 indent(int amount, char *pfx, FILE *fp) argument
265 if (pfx && i == amount - 1)
266 fputs(pfx, fp);
/freebsd-head/usr.sbin/rtadvd/
H A Drrenum.c150 struct prefix *pfx; local
220 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
223 if (prefix_match(&pfx->pfx_prefix,
224 pfx->pfx_prefixlen, &rpm->rpm_prefix,
227 pfx->pfx_validlifetime =
229 pfx->pfx_preflifetime =
234 pfx->pfx_vltimeexpire =
236 pfx->pfx_validlifetime;
238 pfx->pfx_vltimeexpire = 0;
242 pfx
[all...]
H A Dcontrol_server.c103 DEF_PL_HANDLER(pfx),
340 struct prefix *pfx; local
362 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
363 len += sizeof(*pfx);
375 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
376 memcpy(p, pfx, sizeof(*pfx));
377 p += sizeof(*pfx);
H A Dconfig.c290 struct prefix *pfx; local
307 while ((pfx = TAILQ_FIRST(&rai->rai_prefix)) != NULL)
308 delete_prefix(pfx);
511 struct prefix *pfx; local
519 ELM_MALLOC(pfx, exit(1));
520 pfx->pfx_rainfo = rai;
521 pfx->pfx_origin = PREFIX_FROM_CONFIG;
523 if (inet_pton(AF_INET6, addr, &pfx->pfx_prefix) != 1) {
529 if (IN6_IS_ADDR_MULTICAST(&pfx->pfx_prefix)) {
536 if (IN6_IS_ADDR_LINKLOCAL(&pfx
1032 struct prefix *pfx; local
1133 struct prefix *pfx; local
1164 delete_prefix(struct prefix *pfx) argument
1185 invalidate_prefix(struct prefix *pfx) argument
1228 update_prefix(struct prefix *pfx) argument
1339 struct prefix *pfx; local
[all...]
H A Drtadvd.c467 struct prefix *pfx; local
609 pfx = find_prefix(rai, addr, plen);
610 if (pfx) {
611 if (pfx->pfx_timer) {
616 update_prefix(pfx);
648 pfx = find_prefix(rai, addr, plen);
649 if (pfx == NULL) {
658 invalidate_prefix(pfx);
1240 struct prefix *pfx; local
1265 if ((pfx
1359 struct prefix *pfx; local
[all...]
/freebsd-head/crypto/heimdal/lib/hx509/
H A Dks_p12.c329 PKCS12_PFX pfx; local
372 ret = decode_PKCS12_PFX(buf, len, &pfx, NULL);
380 if (der_heim_oid_cmp(&pfx.authSafe.contentType, &asn1_oid_id_pkcs7_data) != 0) {
381 free_PKCS12_PFX(&pfx);
388 if (pfx.authSafe.content == NULL) {
389 free_PKCS12_PFX(&pfx);
399 ret = decode_PKCS12_OctetString(pfx.authSafe.content->data,
400 pfx.authSafe.content->length,
403 free_PKCS12_PFX(&pfx);
568 PKCS12_PFX pfx; local
[all...]
/freebsd-head/contrib/atf/atf-c/
H A Dcheck.c251 print_array(const char *const *array, const char *pfx) argument
255 printf("%s", pfx);
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dinterfaceiter.c403 isc_netaddr_t pfx; local
423 isc_netaddr_fromsockaddr(&pfx,
428 isc_netaddr_eqprefix(&target, &pfx, pfx_len)) {
/freebsd-head/sys/geom/part/
H A Dg_part_ebr.c300 struct g_part_entry *baseentry, const char *pfx)
304 g_provider_add_alias(pp, "%s%s" EBRNAMFMT, pfx, g_part_separator,
308 g_provider_add_alias(pp, "%.*s%u", (int)strlen(pfx) - 1, pfx,
315 struct g_part_entry *baseentry, const char *pfx)
320 pp = g_new_providerf(gp, "%s%s" EBRNAMFMT, pfx, g_part_separator,
324 g_provider_add_alias(pp, "%.*s%u", (int)strlen(pfx) - 1, pfx,
299 g_part_ebr_add_alias(struct g_part_table *table, struct g_provider *pp, struct g_part_entry *baseentry, const char *pfx) argument
314 g_part_ebr_new_provider(struct g_part_table *table, struct g_geom *gp, struct g_part_entry *baseentry, const char *pfx) argument
/freebsd-head/usr.sbin/rtadvctl/
H A Drtadvctl.c415 char argv_pfx[IFNAMSIZ + sizeof(":pfx=")];
479 struct prefix *pfx; local
663 sprintf(argv_pfx, "%s:pfx=", ifi->ifi_ifname);
670 pfx = (struct prefix *)cp.cp_val;
671 len = cp.cp_val_len / sizeof(*pfx);
677 action_show_prefix(&pfx[i]);
761 action_show_prefix(struct prefix *pfx) argument
768 printf("\t %s/%d", inet_ntop(AF_INET6, &pfx->pfx_prefix,
769 ntopbuf, sizeof(ntopbuf)), pfx->pfx_prefixlen);
772 switch (pfx
[all...]
/freebsd-head/usr.bin/limits/
H A Dlimits.c73 const char * pfx; member in struct:__anon113::__anon114
263 const char *pfx, const char *sfx, const char *which);
514 if (shellparm[shelltype].lprm[rcswhich].pfx) {
519 shellparm[shelltype].lprm[rcswhich].pfx,
527 shellparm[shelltype].lprm[rcswhich].pfx,
535 shellparm[shelltype].lprm[rcswhich].pfx,
559 print_limit(rlim_t limit, unsigned divisor, const char * inf, const char * pfx, const char * sfx, const char * which) argument
567 printf(pfx, which, numbr);
/freebsd-head/contrib/subversion/subversion/svndumpfilter/
H A Dsvndumpfilter.c122 const char *pfx = APR_ARRAY_IDX(pfxlist, i, const char *); local
123 size_t pfx_len = strlen(pfx);
127 if (strncmp(path, pfx, pfx_len) == 0
/freebsd-head/sys/dev/ath/
H A Dif_ath_tx.c3855 const char *pfx, struct ath_tid *tid, struct ath_buf *bf)
3868 pfx,
3879 pfx,
3890 pfx,
3904 pfx,
3854 ath_tx_tid_drain_print(struct ath_softc *sc, struct ath_node *an, const char *pfx, struct ath_tid *tid, struct ath_buf *bf) argument
/freebsd-head/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h345 void setPrefix(ENamePrefix pfx) { FKind = pfx; } argument
/freebsd-head/contrib/subversion/subversion/svnadmin/
H A Dsvnadmin.c1387 const char *pfx = APR_ARRAY_IDX(pfxlist, i, const char *);
1388 size_t pfx_len = strlen(pfx);
1392 if (strncmp(path, pfx, pfx_len) == 0
1385 const char *pfx = APR_ARRAY_IDX(pfxlist, i, const char *); local
/freebsd-head/contrib/ntp/ntpd/
H A Dntp_io.c575 print_interface(const endpt *iface, const char *pfx, const char *sfx) argument
578 pfx,
/freebsd-head/contrib/tcpdump/
H A Dprint-openflow-1.0.c1342 const char *pfx, const u_char *cp, const u_char *ep)
1354 ND_PRINT((ndo, "%swildcards 0x%08x (bogus)", pfx, wildcards));
1359 ND_PRINT((ndo, "%smatch in_port %s", pfx, tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp))));
1364 ND_PRINT((ndo, "%smatch dl_src %s", pfx, etheraddr_string(ndo, cp)));
1369 ND_PRINT((ndo, "%smatch dl_dst %s", pfx, etheraddr_string(ndo, cp)));
1374 ND_PRINT((ndo, "%smatch dl_vlan %s", pfx, vlan_str(EXTRACT_16BITS(cp))));
1379 ND_PRINT((ndo, "%smatch dl_vlan_pcp %s", pfx, pcp_str(*cp)));
1389 ND_PRINT((ndo, "%smatch dl_type 0x%04x", pfx, dl_type));
1393 ND_PRINT((ndo, "%smatch nw_tos 0x%02x", pfx, *cp));
1402 ND_PRINT((ndo, "%smatch %s %u", pfx, field_nam
1341 of10_match_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep) argument
1445 of10_actions_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep, u_int len) argument
[all...]
/freebsd-head/sys/netinet/
H A Dsctp_output.c13738 struct nd_prefix *pfx = NULL; local
13747 LIST_FOREACH(pfx, &MODULE_GLOBAL(nd_prefix), ndpr_entry) {
13748 if (pfx->ndpr_stateflags & NDPRF_DETACHED)
13750 if (IN6_ARE_MASKED_ADDR_EQUAL(&pfx->ndpr_prefix.sin6_addr,
13751 &src6->sin6_addr, &pfx->ndpr_mask))
13755 if (pfx == NULL) {
13766 LIST_FOREACH(pfxrtr, &pfx->ndpr_advrtrs, pfr_entry) {

Completed in 181 milliseconds