Lines Matching defs:interface

378 		struct node_if		*interface;
464 %type <v.interface> interface if_list if_item_not if_item
496 %type <v.interface> antispoof_ifspc antispoof_iflst antispoof_if
682 | SET SKIP interface {
684 yyerror("error setting skip interface(s)");
780 anchorrule : ANCHOR anchorname dir quick interface af proto fromto
903 | NATANCHOR string interface af proto fromto rtable {
924 | RDRANCHOR string interface af proto fromto rtable {
966 | BINATANCHOR string interface af proto fromto rtable {
1043 scrubrule : scrubaction dir logquick interface af proto fromto scrub_opts
1230 yyerror("interface name too long");
1245 "interface name too long");
1462 altqif : ALTQ interface queue_opts QUEUE qassign {
1486 queuespec : QUEUE STRING interface queue_opts qassign {
1977 pfrule : action dir logquick interface route af proto fromto
2325 disallow_alias($5.host, "interface (%s) "
2698 yyerror("%s: should be a pflog interface", $2);
2713 interface : /* empty */ { $$ = NULL; }
2739 yyerror("interface name too long");
3060 yyerror("invalid interface name '%s'", op);
3074 yyerror("interface %s has bad modifier",
3084 "interface modifiers");
3099 yyerror("interface name too long");
3959 natrule : nataction interface af proto fromto tag tagged rtable
4070 disallow_alias($9->host, "interface (%s) "
4118 binatrule : no BINAT natpasslog interface af proto FROM host toipspec tag
4190 "interface (%s) as the source address of a binat "
4198 $13->host, "invalid use of interface (%s) as the "
4889 LOOP_THROUGH(struct node_if, interface, interfaces,
4891 if (strlcpy(pa.ifname, interface->ifname,
4895 if (interface->not) {
4896 yyerror("altq on ! <interface> is not supported");
4927 if (strlcat(qname, interface->ifname,
4933 if (strlcpy(pb.ifname, interface->ifname,
4960 if (strlcpy(n->ifname, interface->ifname,
5003 LOOP_THROUGH(struct node_if, interface, interfaces,
5006 (interface->ifname[0] == 0 ||
5007 (!interface->not && !strncmp(interface->ifname,
5009 (interface->not && strncmp(interface->ifname,
5019 "per interface allowed");
5090 (found == 1 && interface->ifname[0] == 0) ||
5091 (found > 0 && interface->ifname[0] != 0))) {
5093 &bwspec, interface->ifname[0] != 0,
5154 LOOP_THROUGH(struct node_if, interface, interfaces,
5166 /* for link-local IPv6 address, interface must match up */
5173 (src_host->ifindex && *interface->ifname &&
5174 src_host->ifindex != if_nametoindex(interface->ifname)) ||
5175 (dst_host->ifindex && *interface->ifname &&
5176 dst_host->ifindex != if_nametoindex(interface->ifname)))
5183 if (*interface->ifname)
5184 strlcpy(r->ifname, interface->ifname,
5213 r->ifnot = interface->not;
5321 LOOP_THROUGH(struct node_if, interface, interfaces,
5323 printf(" %s", interface->ifname);
5324 if (interface->not) {
5325 yyerror("skip on ! <interface> is not supported");
5329 interface->ifname, PFI_IFLAG_SKIP, 1);