Home
last modified time | relevance | path

Searched refs:pfrt_name (Results 1 – 9 of 9) sorted by relevance

/freebsd/sbin/pfctl/
H A Dpfctl_table.c97 warn_namespace_collision(table.pfrt_name); \
148 if (strlcpy(table.pfrt_name, tname, in pfctl_table()
149 sizeof(table.pfrt_name)) >= sizeof(table.pfrt_name)) in pfctl_table()
392 ta->pfrt_name); in print_table()
397 puts(ta->pfrt_name); in print_table()
519 if (strlcpy(tbl.pfrt_name, name, sizeof(tbl.pfrt_name)) >= in pfctl_define_table()
520 sizeof(tbl.pfrt_name) || strlcpy(tbl.pfrt_anchor, anchor, in pfctl_define_table()
551 if (filter != NULL && strcmp(filter, t->pfrt_name)) in warn_namespace_collision()
554 name = t->pfrt_name; in warn_namespace_collision()
555 else if (name != NULL && !strcmp(name, t->pfrt_name)) { in warn_namespace_collision()
H A Dpfctl_radix.c73 err, tbl->pfrt_name); in pfr_report_error()
H A Dpfctl_optimize.c1309 if (strcasecmp(t->pfrt_name, tbl->pt_name) == 0) { in pf_opt_create_table()
/freebsd/sys/netpfil/pf/
H A Dpf_table.c1517 strlcpy(key.pfrkt_name, tbl->pfrt_name, sizeof(key.pfrkt_name)); in pfr_ina_define()
1729 if (!tbl->pfrt_name[0]) in pfr_validate_table()
1733 if (tbl->pfrt_name[PF_TABLE_NAME_SIZE-1]) in pfr_validate_table()
1735 for (i = strlen(tbl->pfrt_name); i < PF_TABLE_NAME_SIZE; i++) in pfr_validate_table()
1736 if (tbl->pfrt_name[i]) in pfr_validate_table()
2163 strlcpy(tbl.pfrt_name, name, sizeof(tbl.pfrt_name)); in pfr_eth_attach_table()
2201 strlcpy(tbl.pfrt_name, name, sizeof(tbl.pfrt_name)); in pfr_attach_table()
/freebsd/contrib/pf/authpf/
H A Dauthpf.c849 strlcpy(io.pfrio_table.pfrt_name, tablename, in change_table()
850 sizeof(io.pfrio_table.pfrt_name)); in change_table()
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c1380 strlcpy(io.pfrio_table.pfrt_name, pt->pfrt_name, in pfa_table_addrs()
1381 sizeof(io.pfrio_table.pfrt_name)); in pfa_table_addrs()
1399 pt->pfrt_name, strerror(errno)); in pfa_table_addrs()
/freebsd/contrib/unbound/ipset/
H A Dipset.c114 strlcpy(io.pfrio_table.pfrt_name, p, PF_TABLE_NAME_SIZE); in add_to_ipset()
/freebsd/tests/sys/netpfil/pf/ioctl/
H A Dvalidation.c57 strcpy(tbl->pfrt_name, "name"); in common_init_tbl()
/freebsd/sys/net/
H A Dpfvar.h1379 char pfrt_name[PF_TABLE_NAME_SIZE]; member
1491 #define pfrts_name pfrts_t.pfrt_name
1539 #define pfrkt_name pfrkt_t.pfrt_name