1 include $(LINUX_DIR
)/.config
3 # translate linux kernel config to filenames
4 ext-
$(CONFIG_IP_NF_NAT
) += SNAT DNAT
5 ext-
$(CONFIG_IP_NF_MATCH_LIMIT
) += limit
6 ext-
$(CONFIG_IP_NF_MATCH_MAC
) += mac
7 ext-
$(CONFIG_IP_NF_MATCH_PKTTYPE
) += pkttype
8 ext-
$(CONFIG_IP_NF_MATCH_MARK
) += mark
9 ext-
$(CONFIG_IP_NF_MATCH_MULTIPORT
) += multiport
10 ext-
$(CONFIG_IP_NF_MATCH_TOS
) += tos
11 ext-
$(CONFIG_IP_NF_MATCH_RECENT
) += recent
12 ext-
$(CONFIG_IP_NF_MATCH_ECN
) += ecn
13 ext-
$(CONFIG_IP_NF_MATCH_IPP2P
) += ipp2p
14 ext-
$(CONFIG_IP_NF_MATCH_DSCP
) += dscp
15 ext-
$(CONFIG_IP_NF_MATCH_AH_ESP
) += ah esp
16 ext-
$(CONFIG_IP_NF_MATCH_LENGTH
) += length
17 ext-
$(CONFIG_IP_NF_MATCH_TTL
) += ttl
18 ext-
$(CONFIG_IP_NF_MATCH_TCPMSS
) += tcpmss
19 ext-
$(CONFIG_IP_NF_MATCH_HELPER
) += helper
20 #ext-$(CONFIG_IP_NF_MATCH_STATE) += state
21 #ext-$(CONFIG_IP_NF_MATCH_CONNTRACK) += conntrack
22 ext-
$(CONFIG_IP_NF_MATCH_UNCLEAN
) += unclean
23 ext-
$(CONFIG_IP_NF_MATCH_OWNER
) += owner
24 ext-
$(CONFIG_IP_NF_MATCH_PHYSDEV
) += physdev
25 ext-
$(CONFIG_IP_NF_MATCH_LAYER7
) += layer7
26 #ext-$(CONFIG_IP_NF_TARGET_MASQUERADE) += MASQUERADE
27 ext-
$(CONFIG_IP_NF_TARGET_REDIRECT
) += REDIRECT
28 ext-
$(CONFIG_IP_NF_TARGET_REJECT
) += REJECT
29 ext-
$(CONFIG_IP_NF_TARGET_TOS
) += TOS
30 ext-
$(CONFIG_IP_NF_TARGET_ECN
) += ECN
31 ext-
$(CONFIG_IP_NF_TARGET_DSCP
) += DSCP
32 ext-
$(CONFIG_IP_NF_TARGET_MARK
) += MARK
33 #ext-$(CONFIG_IP_NF_TARGET_LOG) += LOG
34 ext-
$(CONFIG_IP_NF_TARGET_ULOG
) += ULOG
35 #ext-$(CONFIG_IP_NF_TARGET_TCPMSS) += TCPMSS
36 ext-
$(CONFIG_IP_NF_TARGET_NETMAP
) += NETMAP
38 # add extensions that don't depend on kernel config
40 ext-y
+= icmp standard tcp udp state MASQUERADE conntrack TCPMSS LOG