Home
last modified time | relevance | path

Searched refs:tos_word_mask (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c562 struct iphdr *tos_word_mask; in nfp_fl_set_ip4() local
610 tos_word_mask = (struct iphdr *)&mask; in nfp_fl_set_ip4()
613 if (tos_word_mask->version || tos_word_mask->ihl || in nfp_fl_set_ip4()
614 tos_word_mask->tot_len) { in nfp_fl_set_ip4()
619 set_ip_ttl_tos->ipv4_tos_mask |= tos_word_mask->tos; in nfp_fl_set_ip4()
620 set_ip_ttl_tos->ipv4_tos &= ~tos_word_mask->tos; in nfp_fl_set_ip4()
621 set_ip_ttl_tos->ipv4_tos |= tos_word->tos & tos_word_mask->tos; in nfp_fl_set_ip4()