include $(LINUX_DIR)/.config
# translate linux kernel config to filenames
+ext-$(CONFIG_IP_NF_NAT) += SNAT DNAT
ext-$(CONFIG_IP_NF_MATCH_LIMIT) += limit
ext-$(CONFIG_IP_NF_MATCH_MAC) += mac
ext-$(CONFIG_IP_NF_MATCH_PKTTYPE) += pkttype
ext-$(CONFIG_IP_NF_MATCH_PHYSDEV) += physdev
ext-$(CONFIG_IP_NF_TARGET_MASQUERADE) += MASQUERADE
ext-$(CONFIG_IP_NF_TARGET_REDIRECT) += REDIRECT
+ext-$(CONFIG_IP_NF_TARGET_REJECT) += REJECT
ext-$(CONFIG_IP_NF_TARGET_TOS) += TOS
ext-$(CONFIG_IP_NF_TARGET_ECN) += ECN
ext-$(CONFIG_IP_NF_TARGET_DSCP) += DSCP
ext-$(CONFIG_IP_NF_TARGET_ULOG) += ULOG
ext-$(CONFIG_IP_NF_TARGET_TCPMSS) += TCPMSS
-
-
+# add extensions that don't depend on kernel config
+ext-m += TTL
+ext-y += icmp standard tcp udp