Lines Matching defs:tname
164 const char tname[] = "npftest";
165 const size_t tnamelen = sizeof(tname) - 1;
169 return strncmp(ifname, tname, tnamelen) == 0;
185 const char *tname = npf_table_getname(tl);
186 if (strcmp(tname, name) == 0) {
1190 npfctl_load_table(const char *tname, int tid, unsigned type,
1195 tl = npf_table_create(tname, tid, type);
1208 npfctl_build_table(const char *tname, unsigned type, const char *fname)
1216 tl = npfctl_load_table(tname, npfctl_tid_counter++, type, fname, NULL);
1220 yyerror("table '%s' is already defined", tname);
1231 char tname[NPF_TABLE_MAXNAMELEN];
1235 snprintf(tname, sizeof(tname), NPF_IFNET_TABLE_PREF "%s", ifname);
1241 tid = npfctl_table_getid(tname);
1244 tl = npf_table_create(tname, tid, NPF_TABLE_IFADDR);