Lines Matching refs:update_flags
81 p->update_flags = parm->update_flags; in tcf_csum_init()
322 static int tcf_csum_ipv4(struct sk_buff *skb, u32 update_flags) in tcf_csum_ipv4() argument
336 if (update_flags & TCA_CSUM_UPDATE_FLAG_ICMP) in tcf_csum_ipv4()
342 if (update_flags & TCA_CSUM_UPDATE_FLAG_IGMP) in tcf_csum_ipv4()
348 if (update_flags & TCA_CSUM_UPDATE_FLAG_TCP) in tcf_csum_ipv4()
354 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDP) in tcf_csum_ipv4()
360 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDPLITE) in tcf_csum_ipv4()
367 if (update_flags & TCA_CSUM_UPDATE_FLAG_IPV4HDR) { in tcf_csum_ipv4()
418 static int tcf_csum_ipv6(struct sk_buff *skb, u32 update_flags) in tcf_csum_ipv6() argument
460 if (update_flags & TCA_CSUM_UPDATE_FLAG_ICMP) in tcf_csum_ipv6()
466 if (update_flags & TCA_CSUM_UPDATE_FLAG_TCP) in tcf_csum_ipv6()
472 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDP) in tcf_csum_ipv6()
478 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDPLITE) in tcf_csum_ipv6()
501 u32 update_flags; in tcf_csum() local
507 update_flags = p->update_flags; in tcf_csum()
515 if (!tcf_csum_ipv4(skb, update_flags)) in tcf_csum()
519 if (!tcf_csum_ipv6(skb, update_flags)) in tcf_csum()
539 .update_flags = p->update_flags, in tcf_csum_dump()