HomeSort by: relevance | last modified time | path
    Searched refs:anchor (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/sys/dist/pf/net/
pf_ruleset.c 173 struct pf_anchor *anchor; local in function:pf_find_ruleset
179 anchor = pf_find_anchor(path);
180 if (anchor == NULL)
183 return (&anchor->ruleset);
191 struct pf_anchor *anchor = NULL /* XXX gcc */; local in function:pf_find_or_create_ruleset
207 parent = ruleset->anchor;
229 anchor = (struct pf_anchor *)rs_malloc(sizeof(*anchor));
230 if (anchor == NULL) {
234 memset(anchor, 0, sizeof(*anchor))
    [all...]
pf_ioctl.c 364 struct pf_anchor *anchor; local in function:pfdetach
420 while ((anchor = RB_MIN(pf_anchor_global, &pf_anchors)) != NULL) {
422 if (pf_begin_rules(&ticket, i, anchor->name) == 0)
423 pf_commit_rules(ticket, i, anchor->name);
476 pf_get_pool(char *anchor, u_int32_t ticket, u_int8_t rule_action,
484 ruleset = pf_find_ruleset(anchor);
552 * the anchor under our feet.
909 pf_begin_rules(u_int32_t *ticket, int rs_num, const char *anchor)
916 rs = pf_find_or_create_ruleset(anchor);
929 pf_rollback_rules(u_int32_t ticket, int rs_num, char *anchor)
2588 struct pf_anchor *anchor; local in function:pfioctl
2612 struct pf_anchor *anchor; local in function:pfioctl
    [all...]
if_pflog.c 270 if (ruleset != NULL && ruleset->anchor != NULL)
271 strlcpy(hdr.ruleset, ruleset->anchor->name,
pfvar.h 550 struct pf_anchor *anchor; member in struct:pf_rule
754 union pf_rule_ptr anchor; member in struct:pf_state
817 u_int32_t anchor; member in struct:pfsync_state
899 struct pf_anchor *anchor; member in struct:pf_ruleset
915 int refcnt; /* anchor rules */
1343 char anchor[MAXPATHLEN]; member in struct:pfioc_pooladdr
1352 char anchor[MAXPATHLEN]; member in struct:pfioc_rule
1454 char anchor[MAXPATHLEN]; member in struct:pfioc_trans::pfioc_trans_e
pf_table.c 1776 pfr_fix_anchor(char *anchor)
1781 if (anchor[0] == '/') {
1785 path = anchor;
1789 memmove(anchor, path, siz - off);
1790 memset(anchor + siz - off, 0, off);
1792 if (anchor[siz - 1])
1794 for (i = strlen(anchor); i < siz; i++)
1795 if (anchor[i])
2092 struct pf_anchor *ac = rs->anchor;
pf.c 306 if (s->anchor.ptr != NULL) \
307 s->anchor.ptr->states++; \
316 if (s->anchor.ptr != NULL) \
317 s->anchor.ptr->states--; \
1108 if (cur->anchor.ptr != NULL)
1109 if (--cur->anchor.ptr->states <= 0)
1110 pf_rm_rule(NULL, cur->anchor.ptr);
2066 (*r)->anchor->match = 0;
2080 f->parent = &(*r)->anchor->children;
2090 *rs = &(*r)->anchor->ruleset
    [all...]
if_pfsync.c 273 if (sp->rule != htonl(-1) && sp->anchor == htonl(-1) && chksum_flag &&
307 /* XXX get pointers to nat_rule and anchor */
1230 if ((r = st->anchor.ptr) == NULL)
1231 sp->anchor = htonl(-1);
1233 sp->anchor = htonl(r->nr);
  /src/distrib/utils/more/
linenum.c 100 static struct linenum anchor; /* Anchor of the list */ variable in typeref:struct:linenum
101 static struct linenum *freelist; /* Anchor of the unused entries */
127 * Initialize the anchor.
129 anchor.next = anchor.prev = &anchor;
130 anchor.gap = 0;
131 anchor.pos = (off_t)0;
132 anchor.line = 1
    [all...]
  /src/usr.bin/fpr/
fpr.c 326 int anchor; local in function:flush
346 anchor = 0;
347 while (anchor <= highcol) {
348 height = line[anchor].count;
351 anchor++;
353 putchar(*(line[anchor].str));
354 line[anchor].count = 0;
355 anchor++;
357 i = anchor;
360 for (j = anchor; j <= i; j++)
    [all...]
  /src/tests/lib/libc/regex/
t_regex.sh 56 create_tc anchor "Checks anchors and REG_NEWLINE"
Makefile 30 FILES+= data/anchor.in
  /src/dist/pf/sbin/pfctl/
pfctl.c 233 fprintf(stderr, "[-a anchor] [-D macro=value] [-F modifier]\n");
662 memcpy(pp.anchor, anchorname, sizeof(pp.anchor));
773 memcpy(pr.anchor, path, sizeof(pr.anchor));
922 memcpy(pr.anchor, anchorname, sizeof(pr.anchor));
1142 rs = &pf->anchor->ruleset;
1144 if (anchor_call[0] && r->anchor == NULL) {
1146 * Don't make non-brace anchors part of the main anchor pool
    [all...]
pfctl_table.c 105 pfctl_clear_tables(const char *anchor, int opts)
107 return pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts);
111 pfctl_show_tables(const char *anchor, int opts)
113 return pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts);
118 const char *command, char *file, const char *anchor, int opts)
122 return pfctl_table(argc, argv, tname, command, file, anchor, opts);
127 char *file, const char *anchor, int opts)
151 if (strlcpy(table.pfrt_anchor, anchor,
494 pfctl_define_table(char *name, int flags, int addrs, const char *anchor,
501 sizeof(tbl.pfrt_name) || strlcpy(tbl.pfrt_anchor, anchor,
    [all...]
pf_print_state.c 286 if (s->anchor != -1)
287 printf(", anchor %u", s->anchor);
pfctl_optimize.c 116 PF_RULE_FIELD(anchor, BARRIER), /* for now */
314 rs->anchor->refcnt = 0;
320 por->por_rule.nr = rs->anchor->refcnt++;
407 print_rule(&por->por_rule, por->por_rule.anchor ?
408 por->por_rule.anchor->name : "", 1);
910 por->por_rule.anchor = rs->anchor;
917 * PF_PASS, pf->anchor) ???
1274 * (be careful with the table name, it might already be used in another anchor)
1318 pf->anchor->name, tbl->pt_buf, pf->anchor->ruleset.tticket))
    [all...]
parse.y 415 %token REASSEMBLE FRAGDROP FRAGCROP ANCHOR NATANCHOR RDRANCHOR BINATANCHOR
590 if (!pf->anchor->name[0]) {
671 /* steping into a brace anchor */
681 pf->astack[pf->asd] = rs->anchor;
682 pf->anchor = rs->anchor;
685 pf->alast = pf->anchor;
687 pf->anchor = pf->astack[pf->asd];
692 anchorrule : ANCHOR anchorname dir quick interface af proto fromto
705 yyerror("anchor names beginning with '_'
    [all...]
pfctl_parser.c 707 static const char *anchortypes[] = { "anchor", "anchor", "anchor",
708 "anchor", "nat-anchor", "nat-anchor", "binat-anchor",
709 "binat-anchor", "rdr-anchor", "rdr-anchor" };
    [all...]
pfctl_parser.h 77 int asd; /* anchor stack depth */
87 struct pf_anchor *anchor, *alast; member in struct:pfctl
  /src/usr.bin/nbsvtool/
nbsvtool.c 66 * to find the path from the `cert' to the x509 anchor can be passed
100 * `infile'. The trust anchor file `anchor' to the trust anchors must
102 * path from the signing certificate to the given trust anchor, extra
107 verify_file(STACK_OF(X509) *cert_chain, const char *anchor,
122 X509_STORE_load_locations(store, anchor, NULL);
292 printf("%s [-u code|...] [-a x509-anchor-file] verify filename.sp7\n",
294 printf("%s [-u code|...] [-a x509-anchor-file] verify filename otherfilename.sp7\n",
296 printf("%s [-u code|...] [-a x509-anchor-file] verify-code file ...\n",
  /src/usr.bin/make/unit-tests/
varmod-subst.mk 45 # The :S modifier with a '^' anchor replaces the whole word if that word is
62 # The :S modifier with a '$' anchor replaces at most one occurrence per word.
67 # The :S modifier with a '$' anchor replaces the whole word if that word is
73 # The :S modifier with a '$' anchor and a pattern that is longer than a word
267 # the code that optionally interprets the '$' as the end-anchor in the
varmod-sysv.mk 110 # before the '=' was parsed (but not interpreted) as an anchor.
118 # interpreted) as 'anchor at the end'. Therefore the modifier was equivalent
  /src/dist/pf/libexec/tftp-proxy/
filter.c 207 strlcpy(pfte[i].anchor, an, PF_ANCHOR_NAME_SIZE);
246 strlcpy(pfp.anchor, an, PF_ANCHOR_NAME_SIZE);
247 strlcpy(pfr.anchor, an, PF_ANCHOR_NAME_SIZE);
  /src/dist/pf/usr.sbin/ftp-proxy/
filter.c 229 strlcpy(pfte[i].anchor, an, PF_ANCHOR_NAME_SIZE);
268 strlcpy(pfp.anchor, an, PF_ANCHOR_NAME_SIZE);
269 strlcpy(pfr.anchor, an, PF_ANCHOR_NAME_SIZE);
  /src/etc/namedb/
bind.keys 39 # for current trust anchor information.
  /src/dist/pf/usr.sbin/authpf/
authpf.c 387 if (strcasecmp(pair[0], "anchor") == 0) {
623 snprintf(t_e[i].anchor, sizeof(t_e[i].anchor),
645 "pfctl", "-p", "/dev/pf", "-q", "-a", "anchor/ruleset",

Completed in 73 milliseconds

1 2