Lines Matching refs:update_flags
101 params_new->update_flags = parm->update_flags; in tcf_csum_init()
384 static int tcf_csum_ipv4(struct sk_buff *skb, u32 update_flags) in tcf_csum_ipv4() argument
398 if (update_flags & TCA_CSUM_UPDATE_FLAG_ICMP) in tcf_csum_ipv4()
404 if (update_flags & TCA_CSUM_UPDATE_FLAG_IGMP) in tcf_csum_ipv4()
410 if (update_flags & TCA_CSUM_UPDATE_FLAG_TCP) in tcf_csum_ipv4()
416 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDP) in tcf_csum_ipv4()
422 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDPLITE) in tcf_csum_ipv4()
428 if ((update_flags & TCA_CSUM_UPDATE_FLAG_SCTP) && in tcf_csum_ipv4()
434 if (update_flags & TCA_CSUM_UPDATE_FLAG_IPV4HDR) { in tcf_csum_ipv4()
483 static int tcf_csum_ipv6(struct sk_buff *skb, u32 update_flags) in tcf_csum_ipv6() argument
525 if (update_flags & TCA_CSUM_UPDATE_FLAG_ICMP) in tcf_csum_ipv6()
531 if (update_flags & TCA_CSUM_UPDATE_FLAG_TCP) in tcf_csum_ipv6()
537 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDP) in tcf_csum_ipv6()
543 if (update_flags & TCA_CSUM_UPDATE_FLAG_UDPLITE) in tcf_csum_ipv6()
549 if ((update_flags & TCA_CSUM_UPDATE_FLAG_SCTP) && in tcf_csum_ipv6()
574 u32 update_flags; in tcf_csum_act() local
587 update_flags = params->update_flags; in tcf_csum_act()
592 if (!tcf_csum_ipv4(skb, update_flags)) in tcf_csum_act()
596 if (!tcf_csum_ipv6(skb, update_flags)) in tcf_csum_act()
648 opt.update_flags = params->update_flags; in tcf_csum_dump()