Home
last modified time | relevance | path

Searched refs:pfx (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/usr.sbin/rtadvd/
H A Dconfig.c289 struct prefix *pfx; in rm_rainfo() local
306 while ((pfx = TAILQ_FIRST(&rai->rai_prefix)) != NULL) in rm_rainfo()
307 delete_prefix(pfx); in rm_rainfo()
510 struct prefix *pfx; in getconfig() local
518 ELM_MALLOC(pfx, exit(1)); in getconfig()
519 pfx->pfx_rainfo = rai; in getconfig()
520 pfx->pfx_origin = PREFIX_FROM_CONFIG; in getconfig()
522 if (inet_pton(AF_INET6, addr, &pfx->pfx_prefix) != 1) { in getconfig()
528 if (IN6_IS_ADDR_MULTICAST(&pfx->pfx_prefix)) { in getconfig()
535 if (IN6_IS_ADDR_LINKLOCAL(&pfx in getconfig()
1031 struct prefix *pfx; get_prefix() local
1132 struct prefix *pfx; add_prefix() local
1163 delete_prefix(struct prefix * pfx) delete_prefix() argument
1184 invalidate_prefix(struct prefix * pfx) invalidate_prefix() argument
1227 update_prefix(struct prefix * pfx) update_prefix() argument
1338 struct prefix *pfx; make_packet() local
[all...]
H A Drrenum.c149 struct prefix *pfx; in do_use_prefix() local
219 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) { in do_use_prefix()
222 if (prefix_match(&pfx->pfx_prefix, in do_use_prefix()
223 pfx->pfx_prefixlen, &rpm->rpm_prefix, in do_use_prefix()
226 pfx->pfx_validlifetime = in do_use_prefix()
228 pfx->pfx_preflifetime = in do_use_prefix()
233 pfx->pfx_vltimeexpire = in do_use_prefix()
235 pfx->pfx_validlifetime; in do_use_prefix()
237 pfx->pfx_vltimeexpire = 0; in do_use_prefix()
241 pfx->pfx_pltimeexpire = in do_use_prefix()
[all …]
H A Drtadvd.c466 struct prefix *pfx; in rtmsg_input() local
608 pfx = find_prefix(rai, addr, plen); in rtmsg_input()
609 if (pfx) { in rtmsg_input()
610 if (pfx->pfx_timer) { in rtmsg_input()
615 update_prefix(pfx); in rtmsg_input()
647 pfx = find_prefix(rai, addr, plen); in rtmsg_input()
648 if (pfx == NULL) { in rtmsg_input()
657 invalidate_prefix(pfx); in rtmsg_input()
1233 struct prefix *pfx; in prefix_check() local
1258 if ((pfx in prefix_check()
1352 struct prefix *pfx; find_prefix() local
[all...]
H A Dcontrol_server.c101 DEF_PL_HANDLER(pfx),
338 struct prefix *pfx; in cm_getprop_pfx() local
360 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) { in cm_getprop_pfx()
361 len += sizeof(*pfx); in cm_getprop_pfx()
373 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) { in cm_getprop_pfx()
374 memcpy(p, pfx, sizeof(*pfx)); in cm_getprop_pfx()
375 p += sizeof(*pfx); in cm_getprop_pfx()
/freebsd/sys/netpfil/pf/
H A Dinet_nat64.c32 inet_nat64_mask(u_int32_t src, u_int32_t pfx, u_int8_t pfxlen) in inet_nat64_mask() argument
41 (pfx & htonl(0xffffffff << (32 - pfxlen))); in inet_nat64_mask()
48 const void *pfx, u_int8_t pfxlen) in inet_nat64() argument
52 return (inet_nat64_inet(src, dst, pfx, pfxlen)); in inet_nat64()
54 return (inet_nat64_inet6(src, dst, pfx, pfxlen)); in inet_nat64()
65 inet_nat64_inet(const void *src, void *dst, const void *pfx, u_int8_t pfxlen) in inet_nat64_inet() argument
68 const union inet_nat64_addr *p = pfx; in inet_nat64_inet()
106 inet_nat64_inet6(const void *src, void *dst, const void *pfx, u_int8_t pfxlen) in inet_nat64_inet6() argument
109 const union inet_nat64_addr *p = pfx; in inet_nat64_inet6()
154 const void *pfx, u_int8_t pfxlen) in inet_nat46() argument
[all …]
/freebsd/lib/libc/stdio/
H A Dtempnam.c46 tempnam(const char *dir, const char *pfx) in tempnam() argument
54 if (!pfx) in tempnam()
55 pfx = "tmp."; in tempnam()
59 *(f + strlen(f) - 1) == '/'? "": "/", pfx); in tempnam()
66 *(f + strlen(f) - 1) == '/'? "": "/", pfx); in tempnam()
72 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx); in tempnam()
77 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx); in tempnam()
/freebsd/crypto/heimdal/lib/hx509/
H A Dks_p12.c329 PKCS12_PFX pfx; in p12_init() local
372 ret = decode_PKCS12_PFX(buf, len, &pfx, NULL); in p12_init()
380 if (der_heim_oid_cmp(&pfx.authSafe.contentType, &asn1_oid_id_pkcs7_data) != 0) { in p12_init()
381 free_PKCS12_PFX(&pfx); in p12_init()
388 if (pfx.authSafe.content == NULL) { in p12_init()
389 free_PKCS12_PFX(&pfx); in p12_init()
399 ret = decode_PKCS12_OctetString(pfx.authSafe.content->data, in p12_init()
400 pfx.authSafe.content->length, in p12_init()
403 free_PKCS12_PFX(&pfx); in p12_init()
568 PKCS12_PFX pfx; in p12_store() local
[all …]
/freebsd/usr.sbin/rtadvctl/
H A Drtadvctl.c413 char argv_pfx[IFNAMSIZ + sizeof(":pfx=")]; in action_show()
477 struct prefix *pfx; in action_show() local
647 sprintf(argv_pfx, "%s:pfx=", ifi->ifi_ifname); in action_show()
654 pfx = (struct prefix *)cp.cp_val; in action_show()
655 len = cp.cp_val_len / sizeof(*pfx); in action_show()
661 action_show_prefix(&pfx[i]); in action_show()
745 action_show_prefix(struct prefix *pfx) in action_show_prefix() argument
752 printf("\t %s/%d", inet_ntop(AF_INET6, &pfx->pfx_prefix, in action_show_prefix()
753 ntopbuf, sizeof(ntopbuf)), pfx->pfx_prefixlen); in action_show_prefix()
756 switch (pfx in action_show_prefix()
[all...]
/freebsd/contrib/netbsd-tests/bin/sh/
H A Dt_here.sh239 (2-7) pfx="${end%?}"
241 'x=$(cat <<'"'${end}'${nl}text${nl}${end}${pfx}${nl}${end}${nl}"'); printf %s "$x"' \
242 "text ${end}${pfx}" 0
244 'x=$(cat <<'"'${end}'${nl}text${nl}${pfx}${end}${nl}${end}${nl}"'); printf %s "$x"' \
245 "text ${pfx}${end}" 0
247 (*) pfx=${end%??????}; sfx=${end#??????}
252 'x=$(cat <<'"'${end}'${nl}text${nl}${pfx}${end}${nl}${end}${nl}"'); printf %s "$x"' \
253 "text ${pfx}${end}" 0
255 'x=$(cat <<'"'${end}'${nl}text${nl}${pfx}${sfx}${nl}${end}${nl}"'); printf %s "$x"' \
256 "text ${pfx}${sfx}" 0
H A Dt_varval.sh58 pfx="${pfx}${pfx:+ }${1}"
72 oneline "${pfx}" "$i" "${sfx}" $quote
/freebsd/sys/geom/part/
H A Dg_part_if.m46 struct g_part_entry *entry, struct sbuf *sb, const char *pfx)
50 sbuf_printf(sb, "%s%s%s", pfx, g_part_separator,
56 struct g_part_entry *entry, const char *pfx)
62 G_PART_FULLNAME(table, entry, sb, pfx);
71 struct g_part_entry *entry, const char *pfx)
76 G_PART_FULLNAME(table, entry, sb, pfx);
131 const char *pfx;
171 const char *pfx;
196 const char *pfx;
H A Dg_part_ebr.c289 struct g_part_entry *baseentry, const char *pfx) in g_part_ebr_add_alias() argument
293 g_provider_add_alias(pp, "%s%s" EBRNAMFMT, pfx, g_part_separator, in g_part_ebr_add_alias()
296 g_provider_add_alias(pp, "%.*s%u", (int)strlen(pfx) - 1, pfx, in g_part_ebr_add_alias()
302 struct g_part_entry *baseentry, const char *pfx) in g_part_ebr_new_provider() argument
307 pp = g_new_providerf(gp, "%s%s" EBRNAMFMT, pfx, g_part_separator, in g_part_ebr_new_provider()
310 g_provider_add_alias(pp, "%.*s%u", (int)strlen(pfx) - 1, pfx, in g_part_ebr_new_provider()
/freebsd/usr.bin/limits/
H A Dlimits.c71 const char * pfx; member
264 const char *pfx, const char *sfx, const char *which);
515 if (shellparm[shelltype].lprm[rcswhich].pfx) { in main()
520 shellparm[shelltype].lprm[rcswhich].pfx, in main()
528 shellparm[shelltype].lprm[rcswhich].pfx, in main()
536 shellparm[shelltype].lprm[rcswhich].pfx, in main()
560 print_limit(rlim_t limit, unsigned divisor, const char * inf, const char * pfx, const char * sfx, c… in print_limit() argument
568 printf(pfx, which, numbr); in print_limit()
/freebsd/bin/sh/
H A Dshow.c65 shtree(union node *n, int ind, char *pfx, FILE *fp) in shtree() argument
73 indent(ind, pfx, fp); in shtree()
252 indent(int amount, char *pfx, FILE *fp) in indent() argument
257 if (pfx && i == amount - 1) in indent()
258 fputs(pfx, fp); in indent()
/freebsd/usr.bin/mkimg/tests/
H A Dmkimg_test.sh32 local blksz bootarg bootsz format geom nhds nsecs partarg pfx scheme
38 pfx=$5
62 imagename=$pfx-$geom-$blksz-$scheme.$format
/freebsd/contrib/tcpdump/
H A Dprint-openflow-1.0.c1186 const char *pfx, const u_char *cp) in of10_match_print() argument
1197 ND_PRINT("%swildcards 0x%08x (bogus)", pfx, wildcards); in of10_match_print()
1201 ND_PRINT("%smatch in_port %s", pfx, in of10_match_print()
1206 ND_PRINT("%smatch dl_src %s", pfx, GET_ETHERADDR_STRING(cp)); in of10_match_print()
1210 ND_PRINT("%smatch dl_dst %s", pfx, GET_ETHERADDR_STRING(cp)); in of10_match_print()
1214 ND_PRINT("%smatch dl_vlan %s", pfx, vlan_str(GET_BE_U_2(cp))); in of10_match_print()
1218 ND_PRINT("%smatch dl_vlan_pcp %s", pfx, pcp_str(GET_U_1(cp))); in of10_match_print()
1226 ND_PRINT("%smatch dl_type 0x%04x", pfx, dl_type); in of10_match_print()
1229 ND_PRINT("%smatch nw_tos 0x%02x", pfx, GET_U_1(cp)); in of10_match_print()
1237 ND_PRINT("%smatch %s %u", pfx, field_name, nw_proto); in of10_match_print()
[all …]
/freebsd/tools/tools/vop_table/
H A Dvop_table.tcl110 set pfx [lindex [split $i _] 0]
123 } elseif { $t == "${pfx}_${sfx}" } {
131 } elseif { $sfx == "cachedlookup" && $t == "${pfx}_lookup" } {
/freebsd/sys/netgraph/
H A Dng_bridge.c394 const struct ng_link_prefix *pfx = ng_get_link_prefix(name); in ng_bridge_newhook() local
395 if (pfx == NULL) in ng_bridge_newhook()
398 isUplink = (pfx == &uplink_pfx); in ng_bridge_newhook()
401 if (strlen(name) > pfx->len) { /* given number */ in ng_bridge_newhook()
405 linkNum = strtoul(name + pfx->len, NULL, 10); in ng_bridge_newhook()
407 snprintf(linkName, sizeof(linkName), "%s%u", pfx->prefix, in ng_bridge_newhook()
419 snprintf(NG_HOOK_NAME(hook), NG_HOOKSIZ, "%s%u", pfx->prefix, in ng_bridge_newhook()
972 const struct ng_link_prefix *pfx = ng_get_link_prefix(name); in ng_bridge_disconnect() local
982 linkNum = strtoul(name + pfx->len, NULL, 10); in ng_bridge_disconnect()
983 free_unr(pfx == &link_pfx ? priv->linkUnit: priv->uplinkUnit, linkNum); in ng_bridge_disconnect()
/freebsd/contrib/less/
H A Dforwback.c127 * Read the first pfx columns of the next line.
130 static POSITION forw_line_pfx(POSITION pos, int pfx, int skipeol) in forw_line_pfx()
135 /* Set fake sc_width to force only pfx chars to be read. */ in forw_line_pfx()
136 sc_width = pfx + line_pfx_width(); in forw_line_pfx()
129 forw_line_pfx(POSITION pos,int pfx,int skipeol) forw_line_pfx() argument
H A Dline.c31 char pfx[MAX_PFX_WIDTH]; /* Holds status column and line number */ member
33 size_t pfx_end; /* Number of chars in pfx */
301 linebuf.pfx[n] = ch; in set_pfx()
1467 return linebuf.pfx[i]; in skip_columns()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h353 void setPrefix(ENamePrefix pfx) { FKind = pfx; }
347 setPrefix(ENamePrefix pfx) setPrefix() argument
/freebsd/contrib/atf/atf-c/
H A Dcheck.c252 print_array(const char *const *array, const char *pfx) in print_array() argument
256 printf("%s", pfx); in print_array()
/freebsd/contrib/ntp/libntp/lib/isc/win32/
H A Dinterfaceiter.c403 isc_netaddr_t pfx; in GAA_find_prefix() local
423 isc_netaddr_fromsockaddr(&pfx, in GAA_find_prefix()
428 isc_netaddr_eqprefix(&target, &pfx, pfx_len)) { in GAA_find_prefix()
/freebsd/contrib/wpa/wpa_supplicant/doc/docbook/
H A Dwpa_supplicant.conf.sgml224 openssl pkcs12 -in example.pfx -out user.pem -clcerts
226 openssl pkcs12 -in example.pfx -out ca.pem -cacerts -nokeys
/freebsd/contrib/wpa/hostapd/
H A Dandroid.config114 # a file that usually has extension .p12 or .pfx)

12