+ OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [raw],
+ [OVS_DEFINE([HAVE_MAC_RAW])])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_dst(],
+ [OVS_DEFINE([HAVE_SKB_DST_ACCESSOR_FUNCS])])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h],
+ [skb_copy_from_linear_data_offset])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_cow_head])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_transport_header],
+ [OVS_DEFINE([HAVE_SKBUFF_HEADER_HELPERS])])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/icmpv6.h], [icmp6_hdr],
+ [OVS_DEFINE([HAVE_ICMP6_HDR])])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_warn_if_lro],
+ [OVS_DEFINE([HAVE_SKB_WARN_LRO])])
+
+ OVS_GREP_IFELSE([$KSRC26/include/linux/string.h], [kmemdup], [],
+ [OVS_GREP_IFELSE([$KSRC26/include/linux/slab.h], [kmemdup])])
+
+ OVS_GREP_IFELSE([$KSRC26/include/linux/types.h], [bool],
+ [OVS_DEFINE([HAVE_BOOL_TYPE])])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/types.h], [__wsum],
+ [OVS_DEFINE([HAVE_CSUM_TYPES])])
+
+ OVS_GREP_IFELSE([$KSRC26/include/net/checksum.h], [csum_replace4])
+ OVS_GREP_IFELSE([$KSRC26/include/net/checksum.h], [csum_unfold])
+
+ OVS_GREP_IFELSE([$KSRC26/include/net/netlink.h], [NLA_NUL_STRING])
+ OVS_GREP_IFELSE([$KSRC26/include/net/netlink.h], [nla_get_be16])
+ OVS_GREP_IFELSE([$KSRC26/include/net/netlink.h], [nla_find_nested])
+
+ OVS_GREP_IFELSE([$KSRC26/include/linux/if_link.h], [rtnl_link_stats64])
+
+ OVS_GREP_IFELSE([$KSRC26/include/linux/if_vlan.h], [ADD_ALL_VLANS_CMD],
+ [OVS_DEFINE([HAVE_VLAN_BUG_WORKAROUND])])
+