Lines Matching refs:l3_mask
246 list[i].m_u.ipv4_hdr.src_addr = hdr->l3_mask.src_ipv4; in ice_tc_fill_tunnel_outer()
250 list[i].m_u.ipv4_hdr.dst_addr = hdr->l3_mask.dst_ipv4; in ice_tc_fill_tunnel_outer()
264 &hdr->l3_mask.src_ipv6_addr, in ice_tc_fill_tunnel_outer()
265 sizeof(hdr->l3_mask.src_ipv6_addr)); in ice_tc_fill_tunnel_outer()
272 &hdr->l3_mask.dst_ipv6_addr, in ice_tc_fill_tunnel_outer()
273 sizeof(hdr->l3_mask.dst_ipv6_addr)); in ice_tc_fill_tunnel_outer()
285 list[i].m_u.ipv4_hdr.tos = hdr->l3_mask.tos; in ice_tc_fill_tunnel_outer()
290 list[i].m_u.ipv4_hdr.time_to_live = hdr->l3_mask.ttl; in ice_tc_fill_tunnel_outer()
310 hdr->l3_mask.tos, in ice_tc_fill_tunnel_outer()
316 hdr_m->hop_limit = hdr->l3_mask.ttl; in ice_tc_fill_tunnel_outer()
485 struct ice_tc_l3_hdr *l3_key, *l3_mask; in ice_tc_fill_rules() local
489 l3_mask = &headers->l3_mask; in ice_tc_fill_rules()
492 list[i].m_u.ipv4_hdr.dst_addr = l3_mask->dst_ipv4; in ice_tc_fill_rules()
496 list[i].m_u.ipv4_hdr.src_addr = l3_mask->src_ipv4; in ice_tc_fill_rules()
502 struct ice_tc_l3_hdr *l3_key, *l3_mask; in ice_tc_fill_rules() local
508 l3_mask = &headers->l3_mask; in ice_tc_fill_rules()
513 memcpy(&ipv6_mask->dst_addr, &l3_mask->dst_ipv6_addr, in ice_tc_fill_rules()
514 sizeof(l3_mask->dst_ipv6_addr)); in ice_tc_fill_rules()
519 memcpy(&ipv6_mask->src_addr, &l3_mask->src_ipv6_addr, in ice_tc_fill_rules()
520 sizeof(l3_mask->src_ipv6_addr)); in ice_tc_fill_rules()
531 list[i].m_u.ipv4_hdr.tos = headers->l3_mask.tos; in ice_tc_fill_rules()
538 headers->l3_mask.ttl; in ice_tc_fill_rules()
557 headers->l3_mask.tos, in ice_tc_fill_rules()
563 hdr_m->hop_limit = headers->l3_mask.ttl; in ice_tc_fill_rules()
1107 headers->l3_mask.dst_ipv4 = match->mask->dst; in ice_tc_set_ipv4()
1115 headers->l3_mask.src_ipv4 = match->mask->src; in ice_tc_set_ipv4()
1132 struct ice_tc_l3_hdr *l3_key, *l3_mask; in ice_tc_set_ipv6() local
1162 l3_mask = &headers->l3_mask; in ice_tc_set_ipv6()
1168 memcpy(&l3_mask->src_ipv6_addr, &match->mask->src.s6_addr, in ice_tc_set_ipv6()
1175 memcpy(&l3_mask->dst_ipv6_addr, &match->mask->dst.s6_addr, in ice_tc_set_ipv6()
1202 headers->l3_mask.tos = match->mask->tos; in ice_tc_set_tos_ttl()
1212 headers->l3_mask.ttl = match->mask->ttl; in ice_tc_set_tos_ttl()