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_CONNMARK
) += connmark
21 #ext-$(CONFIG_IP_NF_MATCH_STATE) += state
22 #ext-$(CONFIG_IP_NF_MATCH_CONNTRACK) += conntrack
23 ext-
$(CONFIG_IP_NF_MATCH_UNCLEAN
) += unclean
24 ext-
$(CONFIG_IP_NF_MATCH_OWNER
) += owner
25 ext-
$(CONFIG_IP_NF_MATCH_PHYSDEV
) += physdev
26 ext-
$(CONFIG_IP_NF_MATCH_LAYER7
) += layer7
27 #ext-$(CONFIG_IP_NF_TARGET_MASQUERADE) += MASQUERADE
28 ext-
$(CONFIG_IP_NF_TARGET_REDIRECT
) += REDIRECT
29 ext-
$(CONFIG_IP_NF_TARGET_REJECT
) += REJECT
30 ext-
$(CONFIG_IP_NF_TARGET_TOS
) += TOS
31 ext-
$(CONFIG_IP_NF_TARGET_ECN
) += ECN
32 ext-
$(CONFIG_IP_NF_TARGET_DSCP
) += DSCP
33 ext-
$(CONFIG_IP_NF_TARGET_MARK
) += MARK
34 #ext-$(CONFIG_IP_NF_TARGET_LOG) += LOG
35 ext-
$(CONFIG_IP_NF_TARGET_ULOG
) += ULOG
36 #ext-$(CONFIG_IP_NF_TARGET_TCPMSS) += TCPMSS
37 ext-
$(CONFIG_IP_NF_TARGET_NETMAP
) += NETMAP
38 ext-
$(CONFIG_IP_NF_TARGET_CONNMARK
) += CONNMARK
40 # add extensions that don't depend on kernel config
42 ext-y
+= icmp standard tcp udp state MASQUERADE conntrack TCPMSS LOG