Lines Matching defs:iptunp

2622 		iptun_cfg_t *iptunp)
2627 switch (iptunp->in_pkt_type) {
2635 (tcam_class_t)class, iptunp->l4b0_val,
2636 iptunp->l4b0_mask, 0, 0);
2640 (tcam_class_t)class, 0, 0, iptunp->l4b23_val,
2641 (iptunp->l4b23_sel & 0x01));
2651 nxge_add_iptun_class(p_nxge_t nxgep, iptun_cfg_t *iptunp,
2661 pid = nxge_iptun_pkt_type_to_pid(iptunp->in_pkt_type);
2693 rs = nxge_set_iptun_usr_cls_reg(nxgep, class, iptunp);
2706 iptunp->in_pkt_type;
2717 iptunp);
2727 iptunp->in_pkt_type;
2778 nxge_cfg_iptun_hash(p_nxge_t nxgep, iptun_cfg_t *iptunp, uint8_t cls_id)
2800 cfg.l4_xor_sel = (iptunp->l4xor_sel & FL_KEY_USR_L4XOR_MSK);
2803 if (iptunp->hash_flags & HASH_L3PROTO)
2805 else if (iptunp->hash_flags & HASH_IPDA)
2807 else if (iptunp->hash_flags & HASH_IPSA)
2809 else if (iptunp->hash_flags & HASH_VLAN)
2811 else if (iptunp->hash_flags & HASH_L2DA)
2813 else if (iptunp->hash_flags & HASH_IFPORT)
2851 nxge_get_iptun_class(p_nxge_t nxgep, iptun_cfg_t *iptunp, uint8_t cls_id)
2864 bzero((void *)iptunp, sizeof (iptun_cfg_t));
2869 &iptunp->l4b0_val, &iptunp->l4b0_mask, &iptunp->l4b23_val,
2870 &iptunp->l4b23_sel);
2879 iptunp->l4xor_sel = cfg.l4_xor_sel;
2881 iptunp->hash_flags |= HASH_L3PROTO;
2883 iptunp->hash_flags |= HASH_IPDA;
2885 iptunp->hash_flags |= HASH_IPSA;
2887 iptunp->hash_flags |= HASH_VLAN;
2889 iptunp->hash_flags |= HASH_L2DA;
2891 iptunp->hash_flags |= HASH_IFPORT;
2895 iptunp->in_pkt_type = IPTUN_PKT_IPV4;
2898 iptunp->in_pkt_type = IPTUN_PKT_IPV6;
2901 iptunp->in_pkt_type = IPTUN_PKT_GRE;
2904 iptunp->in_pkt_type = IPTUN_PKT_GTP;
2907 iptunp->in_pkt_type = 0;