Lines Matching defs:interface
382 struct node_if *interface;
468 %type <v.interface> interface if_list if_item_not if_item
500 %type <v.interface> antispoof_ifspc antispoof_iflst antispoof_if
687 | SET SKIP interface {
689 yyerror("error setting skip interface(s)");
785 anchorrule : ANCHOR anchorname dir quick interface af proto fromto
919 | NATANCHOR string interface af proto fromto rtable {
940 | RDRANCHOR string interface af proto fromto rtable {
982 | BINATANCHOR string interface af proto fromto rtable {
1059 scrubrule : scrubaction dir logquick interface af proto fromto scrub_opts
1246 yyerror("interface name too long");
1261 "interface name too long");
1478 altqif : ALTQ interface queue_opts QUEUE qassign {
1502 queuespec : QUEUE STRING interface queue_opts qassign {
1993 pfrule : action dir logquick interface route af proto fromto
2353 disallow_alias($5.host, "interface (%s) "
2774 yyerror("%s: should be a pflog interface", $2);
2789 interface : /* empty */ { $$ = NULL; }
2815 yyerror("interface name too long");
3136 yyerror("invalid interface name '%s'", op);
3150 yyerror("interface %s has bad modifier",
3160 "interface modifiers");
3175 yyerror("interface name too long");
4035 natrule : nataction interface af proto fromto tag tagged rtable
4146 disallow_alias($9->host, "interface (%s) "
4194 binatrule : no BINAT natpasslog interface af proto FROM host toipspec tag
4266 "interface (%s) as the source address of a binat "
4274 $13->host, "invalid use of interface (%s) as the "
4962 LOOP_THROUGH(struct node_if, interface, interfaces,
4964 if (strlcpy(pa.ifname, interface->ifname,
4968 if (interface->not) {
4969 yyerror("altq on ! <interface> is not supported");
5000 if (strlcat(qname, interface->ifname,
5006 if (strlcpy(pb.ifname, interface->ifname,
5033 if (strlcpy(n->ifname, interface->ifname,
5076 LOOP_THROUGH(struct node_if, interface, interfaces,
5079 (interface->ifname[0] == 0 ||
5080 (!interface->not && !strncmp(interface->ifname,
5082 (interface->not && strncmp(interface->ifname,
5092 "per interface allowed");
5163 (found == 1 && interface->ifname[0] == 0) ||
5164 (found > 0 && interface->ifname[0] != 0))) {
5166 &bwspec, interface->ifname[0] != 0,
5227 LOOP_THROUGH(struct node_if, interface, interfaces,
5239 /* for link-local IPv6 address, interface must match up */
5246 (src_host->ifindex && *interface->ifname &&
5247 src_host->ifindex != if_nametoindex(interface->ifname)) ||
5248 (dst_host->ifindex && *interface->ifname &&
5249 dst_host->ifindex != if_nametoindex(interface->ifname)))
5256 if (*interface->ifname)
5257 strlcpy(r->ifname, interface->ifname,
5286 r->ifnot = interface->not;
5394 LOOP_THROUGH(struct node_if, interface, interfaces,
5396 printf(" %s", interface->ifname);
5397 if (interface->not) {
5398 yyerror("skip on ! <interface> is not supported");
5402 interface->ifname, PFI_IFLAG_SKIP, 1);