Lines Matching defs:flow_spec

906 nxge_fill_tcam_entry_udp(p_nxge_t nxgep, flow_spec_t *flow_spec,
912 fspec_key = (udpip4_spec_t *)&flow_spec->uh.udpip4spec;
913 fspec_mask = (udpip4_spec_t *)&flow_spec->um.udpip4spec;
933 nxge_fill_tcam_entry_udp_ipv6(p_nxge_t nxgep, flow_spec_t *flow_spec,
940 fspec_key = (udpip6_spec_t *)&flow_spec->uh.udpip6spec;
941 fspec_mask = (udpip6_spec_t *)&flow_spec->um.udpip6spec;
966 nxge_fill_tcam_entry_tcp(p_nxge_t nxgep, flow_spec_t *flow_spec,
972 fspec_key = (tcpip4_spec_t *)&flow_spec->uh.tcpip4spec;
973 fspec_mask = (tcpip4_spec_t *)&flow_spec->um.tcpip4spec;
993 nxge_fill_tcam_entry_sctp(p_nxge_t nxgep, flow_spec_t *flow_spec,
999 fspec_key = (tcpip4_spec_t *)&flow_spec->uh.tcpip4spec;
1000 fspec_mask = (tcpip4_spec_t *)&flow_spec->um.tcpip4spec;
1019 nxge_fill_tcam_entry_tcp_ipv6(p_nxge_t nxgep, flow_spec_t *flow_spec,
1026 fspec_key = (tcpip6_spec_t *)&flow_spec->uh.tcpip6spec;
1027 fspec_mask = (tcpip6_spec_t *)&flow_spec->um.tcpip6spec;
1052 nxge_fill_tcam_entry_sctp_ipv6(p_nxge_t nxgep, flow_spec_t *flow_spec,
1059 fspec_key = (tcpip6_spec_t *)&flow_spec->uh.tcpip6spec;
1060 fspec_mask = (tcpip6_spec_t *)&flow_spec->um.tcpip6spec;
1086 nxge_fill_tcam_entry_ah_esp(p_nxge_t nxgep, flow_spec_t *flow_spec,
1092 fspec_key = (ahip4_spec_t *)&flow_spec->uh.ahip4spec;
1093 fspec_mask = (ahip4_spec_t *)&flow_spec->um.ahip4spec;
1107 if (flow_spec->flow_type == FSPEC_AHIP4) {
1119 nxge_fill_tcam_entry_ah_esp_ipv6(p_nxge_t nxgep, flow_spec_t *flow_spec,
1126 fspec_key = (ahip6_spec_t *)&flow_spec->uh.ahip6spec;
1127 fspec_mask = (ahip6_spec_t *)&flow_spec->um.ahip6spec;
1142 if (flow_spec->flow_type == FSPEC_AHIP6) {
1157 nxge_fill_tcam_entry_ip_usr(p_nxge_t nxgep, flow_spec_t *flow_spec,
1163 fspec_key = (ip_user_spec_t *)&flow_spec->uh.ip_usr_spec;
1164 fspec_mask = (ip_user_spec_t *)&flow_spec->um.ip_usr_spec;
1191 flow_spec_t *flow_spec;
1200 flow_spec = (flow_spec_t *)&flow_res->flow_spec;
1204 switch (flow_spec->flow_type) {
1210 ft.ip4_saddr = flow_res->flow_spec.uh.tcpip4spec.ip4src;
1212 ft.ip4_daddr = flow_res->flow_spec.uh.tcpip4spec.ip4dst;
1214 ft.ip_src_port = flow_res->flow_spec.uh.tcpip4spec.psrc;
1216 ft.ip_dst_port = flow_res->flow_spec.uh.tcpip4spec.pdst;
1224 ft.ip4_saddr = flow_res->flow_spec.uh.udpip4spec.ip4src;
1226 ft.ip4_daddr = flow_res->flow_spec.uh.udpip4spec.ip4dst;
1228 ft.ip_src_port = flow_res->flow_spec.uh.udpip4spec.psrc;
1230 ft.ip_dst_port = flow_res->flow_spec.uh.udpip4spec.pdst;
1275 flow_spec_t *flow_spec;
1287 flow_spec = (flow_spec_t *)&flow_res->flow_spec;
1300 if (flow_spec->flow_type == FSPEC_IP_USR) {
1304 ip_user_spec_t *uspec = &flow_spec->uh.ip_usr_spec;
1305 ip_user_spec_t *umask = &flow_spec->um.ip_usr_spec;
1391 switch (flow_spec->flow_type) {
1393 nxge_fill_tcam_entry_tcp(nxgep, flow_spec, &tcam_ptr);
1401 nxge_fill_tcam_entry_udp(nxgep, flow_spec, &tcam_ptr);
1412 flow_spec, &tcam_ptr);
1421 flow_spec, &tcam_ptr);
1431 nxge_fill_tcam_entry_sctp(nxgep, flow_spec, &tcam_ptr);
1442 flow_spec, &tcam_ptr);
1453 nxge_fill_tcam_entry_ah_esp(nxgep, flow_spec, &tcam_ptr);
1465 flow_spec, &tcam_ptr);
1475 nxge_fill_tcam_entry_ip_usr(nxgep, flow_spec, &tcam_ptr,
1485 flow_spec->flow_type));
1654 fs, fs->flow_spec.flow_type, fs->channel_cookie));
2456 fspec = &fs->flow_spec;