X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9d30652149fd745711342cec7ee8574e973ec241..948375bd6d59665c328e273118f7d4d7ea201098:/openwrt/package/iptables/kernelconfig.mk diff --git a/openwrt/package/iptables/kernelconfig.mk b/openwrt/package/iptables/kernelconfig.mk index b04ba54c2..00d2349aa 100644 --- a/openwrt/package/iptables/kernelconfig.mk +++ b/openwrt/package/iptables/kernelconfig.mk @@ -1,6 +1,7 @@ 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 @@ -21,8 +22,10 @@ ext-$(CONFIG_IP_NF_MATCH_CONNTRACK) += conntrack ext-$(CONFIG_IP_NF_MATCH_UNCLEAN) += unclean ext-$(CONFIG_IP_NF_MATCH_OWNER) += owner ext-$(CONFIG_IP_NF_MATCH_PHYSDEV) += physdev +ext-$(CONFIG_IP_NF_MATCH_LAYER7) += layer7 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 @@ -31,5 +34,6 @@ ext-$(CONFIG_IP_NF_TARGET_LOG) += LOG 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