Lines Matching refs:src_host
4378 struct node_host *src_host, struct node_port *src_port, in expand_label() argument
4383 expand_label_addr("$srcaddr", label, len, af, src_host); in expand_label()
4679 LOOP_THROUGH(struct node_host, src_host, src_hosts, in expand_rule()
4689 if ((r->af && src_host->af && r->af != src_host->af) || in expand_rule()
4691 (src_host->af && dst_host->af && in expand_rule()
4692 src_host->af != dst_host->af) || in expand_rule()
4693 (src_host->ifindex && dst_host->ifindex && in expand_rule()
4694 src_host->ifindex != dst_host->ifindex) || in expand_rule()
4695 (src_host->ifindex && *interface->ifname && in expand_rule()
4696 src_host->ifindex != if_nametoindex(interface->ifname)) || in expand_rule()
4700 if (!r->af && src_host->af) in expand_rule()
4701 r->af = src_host->af; in expand_rule()
4708 else if (if_indextoname(src_host->ifindex, ifname)) in expand_rule()
4725 src_host, src_port, dst_host, dst_port, proto->proto); in expand_rule()
4727 src_host, src_port, dst_host, dst_port, proto->proto); in expand_rule()
4729 r->af, src_host, src_port, dst_host, dst_port, in expand_rule()
4732 error += check_netmask(src_host, r->af); in expand_rule()
4737 r->src.addr = src_host->addr; in expand_rule()
4738 r->src.neg = src_host->not; in expand_rule()