Lines Matching defs:fd1
1797 flow_desc_t *fd1 = &f1->fe_flow_desc, *fd2 = &f2->fe_flow_desc;
1799 ASSERT(fd1->fd_mac_len == fd2->fd_mac_len && fd1->fd_mac_len != 0);
1800 return (bcmp(&fd1->fd_dst_mac, &fd2->fd_dst_mac,
1801 fd1->fd_mac_len) == 0 && fd1->fd_vid == fd2->fd_vid);
2102 flow_desc_t *fd1 = &f1->fe_flow_desc, *fd2 = &f2->fe_flow_desc;
2104 return (fd1->fd_protocol == fd2->fd_protocol);
2111 flow_desc_t *fd1 = &f1->fe_flow_desc, *fd2 = &f2->fe_flow_desc;
2114 ASSERT(fd1->fd_mask == fd2->fd_mask);
2115 if (fd1->fd_mask == FLOW_IP_DSFIELD) {
2116 return (fd1->fd_dsfield == fd2->fd_dsfield &&
2117 fd1->fd_dsfield_mask == fd2->fd_dsfield_mask);
2123 ASSERT((fd1->fd_mask & FLOW_IP_VERSION) != 0);
2124 if (fd1->fd_ipversion != fd2->fd_ipversion)
2127 switch (fd1->fd_mask & ~FLOW_IP_VERSION) {
2129 a1 = &fd1->fd_local_addr;
2130 m1 = &fd1->fd_local_netmask;
2135 a1 = &fd1->fd_remote_addr;
2136 m1 = &fd1->fd_remote_netmask;
2148 if (fd1->fd_ipversion == IPV4_VERSION) {
2430 flow_desc_t *fd1 = &f1->fe_flow_desc, *fd2 = &f2->fe_flow_desc;
2432 if (fd1->fd_protocol != fd2->fd_protocol)
2435 if ((fd1->fd_mask & FLOW_ULP_PORT_LOCAL) != 0)
2436 return (fd1->fd_local_port == fd2->fd_local_port);
2438 if ((fd1->fd_mask & FLOW_ULP_PORT_REMOTE) != 0)
2439 return (fd1->fd_remote_port == fd2->fd_remote_port);