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_SET
) += set
15 ext-
$(CONFIG_IP_NF_MATCH_DSCP
) += dscp
16 ext-
$(CONFIG_IP_NF_MATCH_AH_ESP
) += ah esp
17 ext-
$(CONFIG_IP_NF_MATCH_LENGTH
) += length
18 ext-
$(CONFIG_IP_NF_MATCH_TTL
) += ttl
19 ext-
$(CONFIG_IP_NF_MATCH_TCPMSS
) += tcpmss
20 ext-
$(CONFIG_IP_NF_MATCH_HELPER
) += helper
21 ext-
$(CONFIG_IP_NF_MATCH_CONNMARK
) += connmark
22 #ext-$(CONFIG_IP_NF_MATCH_STATE) += state
23 #ext-$(CONFIG_IP_NF_MATCH_CONNTRACK) += conntrack
24 ext-
$(CONFIG_IP_NF_MATCH_UNCLEAN
) += unclean
25 ext-
$(CONFIG_IP_NF_MATCH_OWNER
) += owner
26 ext-
$(CONFIG_IP_NF_MATCH_PHYSDEV
) += physdev
27 ext-
$(CONFIG_IP_NF_MATCH_LAYER7
) += layer7
28 #ext-$(CONFIG_IP_NF_TARGET_MASQUERADE) += MASQUERADE
29 ext-
$(CONFIG_IP_NF_TARGET_REDIRECT
) += REDIRECT
30 ext-
$(CONFIG_IP_NF_TARGET_REJECT
) += REJECT
31 ext-
$(CONFIG_IP_NF_TARGET_TOS
) += TOS
32 ext-
$(CONFIG_IP_NF_TARGET_ECN
) += ECN
33 ext-
$(CONFIG_IP_NF_TARGET_DSCP
) += DSCP
34 ext-
$(CONFIG_IP_NF_TARGET_MARK
) += MARK
35 #ext-$(CONFIG_IP_NF_TARGET_LOG) += LOG
36 ext-
$(CONFIG_IP_NF_TARGET_ULOG
) += ULOG
37 #ext-$(CONFIG_IP_NF_TARGET_TCPMSS) += TCPMSS
38 ext-
$(CONFIG_IP_NF_TARGET_NETMAP
) += NETMAP
39 ext-
$(CONFIG_IP_NF_TARGET_CONNMARK
) += CONNMARK
41 # add extensions that don't depend on kernel config
43 ext-y
+= icmp standard tcp udp state MASQUERADE conntrack TCPMSS LOG