Makefile 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  1. #
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=iptables
  10. PKG_VERSION:=1.6.2
  11. PKG_RELEASE:=1
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_URL:=https://git.netfilter.org/iptables
  14. PKG_SOURCE_VERSION:=c16bdec15137b241586310d0e61bc88cc3726004
  15. PKG_MIRROR_HASH:=72e4bec94a56dd600097846c773e1074ff705e38f800ef221db646c064371a53
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_LICENSE:=GPL-2.0
  20. PKG_CPE_ID:=cpe:/a:netfilter_core_team:iptables
  21. include $(INCLUDE_DIR)/package.mk
  22. ifeq ($(DUMP),)
  23. -include $(LINUX_DIR)/.config
  24. include $(INCLUDE_DIR)/netfilter.mk
  25. STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep 'NETFILTER' $(LINUX_DIR)/.config | mkhash md5)
  26. endif
  27. define Package/iptables/Default
  28. SECTION:=net
  29. CATEGORY:=Network
  30. SUBMENU:=Firewall
  31. URL:=http://netfilter.org/
  32. endef
  33. define Package/iptables/Module
  34. $(call Package/iptables/Default)
  35. DEPENDS:=iptables $(1)
  36. endef
  37. define Package/iptables
  38. $(call Package/iptables/Default)
  39. TITLE:=IP firewall administration tool
  40. MENU:=1
  41. DEPENDS+= +kmod-ipt-core +libip4tc +IPV6:libip6tc +libxtables
  42. endef
  43. define Package/iptables/config
  44. config IPTABLES_CONNLABEL
  45. bool "Enable Connlabel support"
  46. default n
  47. help
  48. This enable connlabel support in iptables.
  49. config IPTABLES_NFTABLES
  50. bool "Enable Nftables support"
  51. default n
  52. help
  53. This enable nftables support in iptables.
  54. endef
  55. define Package/iptables/description
  56. IP firewall administration tool.
  57. Matches:
  58. - icmp
  59. - tcp
  60. - udp
  61. - comment
  62. - conntrack
  63. - limit
  64. - mac
  65. - mark
  66. - multiport
  67. - set
  68. - state
  69. - time
  70. Targets:
  71. - ACCEPT
  72. - CT
  73. - DNAT
  74. - DROP
  75. - REJECT
  76. - LOG
  77. - MARK
  78. - MASQUERADE
  79. - REDIRECT
  80. - SET
  81. - SNAT
  82. - TCPMSS
  83. Tables:
  84. - filter
  85. - mangle
  86. - nat
  87. - raw
  88. endef
  89. define Package/iptables-mod-conntrack-extra
  90. $(call Package/iptables/Module, +kmod-ipt-conntrack-extra)
  91. TITLE:=Extra connection tracking extensions
  92. endef
  93. define Package/iptables-mod-conntrack-extra/description
  94. Extra iptables extensions for connection tracking.
  95. Matches:
  96. - connbytes
  97. - connlimit
  98. - connmark
  99. - recent
  100. - helper
  101. Targets:
  102. - CONNMARK
  103. endef
  104. define Package/iptables-mod-conntrack-label
  105. $(call Package/iptables/Module, +kmod-ipt-conntrack-label @IPTABLES_CONNLABEL)
  106. TITLE:=Connection tracking labeling extension
  107. DEFAULT:=y if IPTABLES_CONNLABEL
  108. endef
  109. define Package/iptables-mod-conntrack-label/description
  110. Match and set label(s) on connection tracking entries
  111. Matches:
  112. - connlabel
  113. endef
  114. define Package/iptables-mod-filter
  115. $(call Package/iptables/Module, +kmod-ipt-filter)
  116. TITLE:=Content inspection extensions
  117. endef
  118. define Package/iptables-mod-filter/description
  119. iptables extensions for packet content inspection.
  120. Includes support for:
  121. Matches:
  122. - string
  123. endef
  124. define Package/iptables-mod-ipopt
  125. $(call Package/iptables/Module, +kmod-ipt-ipopt)
  126. TITLE:=IP/Packet option extensions
  127. endef
  128. define Package/iptables-mod-ipopt/description
  129. iptables extensions for matching/changing IP packet options.
  130. Matches:
  131. - dscp
  132. - ecn
  133. - length
  134. - statistic
  135. - tcpmss
  136. - unclean
  137. - hl
  138. Targets:
  139. - DSCP
  140. - CLASSIFY
  141. - ECN
  142. - HL
  143. endef
  144. define Package/iptables-mod-ipsec
  145. $(call Package/iptables/Module, +kmod-ipt-ipsec)
  146. TITLE:=IPsec extensions
  147. endef
  148. define Package/iptables-mod-ipsec/description
  149. iptables extensions for matching ipsec traffic.
  150. Matches:
  151. - ah
  152. - esp
  153. - policy
  154. endef
  155. define Package/iptables-mod-nat-extra
  156. $(call Package/iptables/Module, +kmod-ipt-nat-extra)
  157. TITLE:=Extra NAT extensions
  158. endef
  159. define Package/iptables-mod-nat-extra/description
  160. iptables extensions for extra NAT targets.
  161. Targets:
  162. - MIRROR
  163. - NETMAP
  164. endef
  165. define Package/iptables-mod-ulog
  166. $(call Package/iptables/Module, +kmod-ipt-ulog)
  167. TITLE:=user-space packet logging
  168. endef
  169. define Package/iptables-mod-ulog/description
  170. iptables extensions for user-space packet logging.
  171. Targets:
  172. - ULOG
  173. endef
  174. define Package/iptables-mod-nflog
  175. $(call Package/iptables/Module, +kmod-nfnetlink-log +kmod-ipt-nflog)
  176. TITLE:=Netfilter NFLOG target
  177. endef
  178. define Package/iptables-mod-nflog/description
  179. iptables extension for user-space logging via NFNETLINK.
  180. Includes:
  181. - libxt_NFLOG
  182. endef
  183. define Package/iptables-mod-trace
  184. $(call Package/iptables/Module, +kmod-ipt-debug)
  185. TITLE:=Netfilter TRACE target
  186. endef
  187. define Package/iptables-mod-trace/description
  188. iptables extension for TRACE target
  189. Includes:
  190. - libxt_TRACE
  191. endef
  192. define Package/iptables-mod-nfqueue
  193. $(call Package/iptables/Module, +kmod-nfnetlink-queue +kmod-ipt-nfqueue)
  194. TITLE:=Netfilter NFQUEUE target
  195. endef
  196. define Package/iptables-mod-nfqueue/description
  197. iptables extension for user-space queuing via NFNETLINK.
  198. Includes:
  199. - libxt_NFQUEUE
  200. endef
  201. define Package/iptables-mod-hashlimit
  202. $(call Package/iptables/Module, +kmod-ipt-hashlimit)
  203. TITLE:=hashlimit matching
  204. endef
  205. define Package/iptables-mod-hashlimit/description
  206. iptables extensions for hashlimit matching
  207. Matches:
  208. - hashlimit
  209. endef
  210. define Package/iptables-mod-rpfilter
  211. $(call Package/iptables/Module, +kmod-ipt-rpfilter)
  212. TITLE:=rpfilter iptables extension
  213. endef
  214. define Package/iptables-mod-rpfilter/description
  215. iptables extensions for reverse path filter test on a packet
  216. Matches:
  217. - rpfilter
  218. endef
  219. define Package/iptables-mod-iprange
  220. $(call Package/iptables/Module, +kmod-ipt-iprange)
  221. TITLE:=IP range extension
  222. endef
  223. define Package/iptables-mod-iprange/description
  224. iptables extensions for matching ip ranges.
  225. Matches:
  226. - iprange
  227. endef
  228. define Package/iptables-mod-cluster
  229. $(call Package/iptables/Module, +kmod-ipt-cluster)
  230. TITLE:=Match cluster extension
  231. endef
  232. define Package/iptables-mod-cluster/description
  233. iptables extensions for matching cluster.
  234. Netfilter (IPv4/IPv6) module for matching cluster
  235. This option allows you to build work-load-sharing clusters of
  236. network servers/stateful firewalls without having a dedicated
  237. load-balancing router/server/switch. Basically, this match returns
  238. true when the packet must be handled by this cluster node. Thus,
  239. all nodes see all packets and this match decides which node handles
  240. what packets. The work-load sharing algorithm is based on source
  241. address hashing.
  242. This module is usable for ipv4 and ipv6.
  243. If you select it, it enables kmod-ipt-cluster.
  244. see `iptables -m cluster --help` for more information.
  245. endef
  246. define Package/iptables-mod-clusterip
  247. $(call Package/iptables/Module, +kmod-ipt-clusterip)
  248. TITLE:=Clusterip extension
  249. endef
  250. define Package/iptables-mod-clusterip/description
  251. iptables extensions for CLUSTERIP.
  252. The CLUSTERIP target allows you to build load-balancing clusters of
  253. network servers without having a dedicated load-balancing
  254. router/server/switch.
  255. If you select it, it enables kmod-ipt-clusterip.
  256. see `iptables -j CLUSTERIP --help` for more information.
  257. endef
  258. define Package/iptables-mod-extra
  259. $(call Package/iptables/Module, +kmod-ipt-extra)
  260. TITLE:=Other extra iptables extensions
  261. endef
  262. define Package/iptables-mod-extra/description
  263. Other extra iptables extensions.
  264. Matches:
  265. - addrtype
  266. - condition
  267. - owner
  268. - physdev (if ebtables is enabled)
  269. - pkttype
  270. - quota
  271. endef
  272. define Package/iptables-mod-led
  273. $(call Package/iptables/Module, +kmod-ipt-led)
  274. TITLE:=LED trigger iptables extension
  275. endef
  276. define Package/iptables-mod-led/description
  277. iptables extension for triggering a LED.
  278. Targets:
  279. - LED
  280. endef
  281. define Package/iptables-mod-tproxy
  282. $(call Package/iptables/Module, +kmod-ipt-tproxy)
  283. TITLE:=Transparent proxy iptables extensions
  284. endef
  285. define Package/iptables-mod-tproxy/description
  286. Transparent proxy iptables extensions.
  287. Matches:
  288. - socket
  289. Targets:
  290. - TPROXY
  291. endef
  292. define Package/iptables-mod-tee
  293. $(call Package/iptables/Module, +kmod-ipt-tee)
  294. TITLE:=TEE iptables extensions
  295. endef
  296. define Package/iptables-mod-tee/description
  297. TEE iptables extensions.
  298. Targets:
  299. - TEE
  300. endef
  301. define Package/iptables-mod-u32
  302. $(call Package/iptables/Module, +kmod-ipt-u32)
  303. TITLE:=U32 iptables extensions
  304. endef
  305. define Package/iptables-mod-u32/description
  306. U32 iptables extensions.
  307. Matches:
  308. - u32
  309. endef
  310. define Package/iptables-mod-checksum
  311. $(call Package/iptables/Module, +kmod-ipt-checksum)
  312. TITLE:=IP CHECKSUM target extension
  313. endef
  314. define Package/iptables-mod-checksum/description
  315. iptables extension for the CHECKSUM calculation target
  316. endef
  317. define Package/ip6tables
  318. $(call Package/iptables/Default)
  319. DEPENDS:=@IPV6 +kmod-ip6tables +iptables
  320. CATEGORY:=Network
  321. TITLE:=IPv6 firewall administration tool
  322. MENU:=1
  323. endef
  324. define Package/ip6tables-extra
  325. $(call Package/iptables/Default)
  326. DEPENDS:=ip6tables +kmod-ip6tables-extra
  327. TITLE:=IPv6 header matching modules
  328. endef
  329. define Package/ip6tables-mod-extra/description
  330. iptables header matching modules for IPv6
  331. endef
  332. define Package/ip6tables-mod-nat
  333. $(call Package/iptables/Default)
  334. DEPENDS:=ip6tables +kmod-ipt-nat6
  335. TITLE:=IPv6 NAT extensions
  336. endef
  337. define Package/ip6tables-mod-nat/description
  338. iptables extensions for IPv6-NAT targets.
  339. endef
  340. define Package/libiptc
  341. $(call Package/iptables/Default)
  342. SECTION:=libs
  343. CATEGORY:=Libraries
  344. DEPENDS:=+libip4tc +libip6tc +libxtables
  345. ABI_VERSION:=$(PKG_VERSION)
  346. TITLE:=IPv4/IPv6 firewall - shared libiptc library (compatibility stub)
  347. endef
  348. define Package/libip4tc
  349. $(call Package/iptables/Default)
  350. SECTION:=libs
  351. CATEGORY:=Libraries
  352. TITLE:=IPv4 firewall - shared libiptc library
  353. ABI_VERSION:=$(PKG_VERSION)
  354. DEPENDS:=+libxtables
  355. endef
  356. define Package/libip6tc
  357. $(call Package/iptables/Default)
  358. SECTION:=libs
  359. CATEGORY:=Libraries
  360. TITLE:=IPv6 firewall - shared libiptc library
  361. ABI_VERSION:=$(PKG_VERSION)
  362. DEPENDS:=+libxtables
  363. endef
  364. define Package/libxtables
  365. $(call Package/iptables/Default)
  366. SECTION:=libs
  367. CATEGORY:=Libraries
  368. TITLE:=IPv4/IPv6 firewall - shared xtables library
  369. ABI_VERSION:=$(PKG_VERSION)
  370. DEPENDS:= \
  371. +IPTABLES_CONNLABEL:libnetfilter-conntrack \
  372. +IPTABLES_NFTABLES:libnftnl
  373. endef
  374. TARGET_CPPFLAGS := \
  375. -I$(PKG_BUILD_DIR)/include \
  376. -I$(LINUX_DIR)/user_headers/include \
  377. $(TARGET_CPPFLAGS)
  378. TARGET_CFLAGS += \
  379. -I$(PKG_BUILD_DIR)/include \
  380. -I$(LINUX_DIR)/user_headers/include \
  381. -ffunction-sections -fdata-sections \
  382. -DNO_LEGACY
  383. TARGET_LDFLAGS += \
  384. -Wl,--gc-sections
  385. CONFIGURE_ARGS += \
  386. --enable-shared \
  387. --enable-static \
  388. --enable-devel \
  389. --with-kernel="$(LINUX_DIR)/user_headers" \
  390. --with-xtlibdir=/usr/lib/iptables \
  391. --with-xt-lock-name=/var/run/xtables.lock \
  392. $(if $(CONFIG_IPTABLES_CONNLABEL),,--disable-connlabel) \
  393. $(if $(CONFIG_IPTABLES_NFTABLES),,--disable-nftables) \
  394. $(if $(CONFIG_IPV6),,--disable-ipv6)
  395. MAKE_FLAGS := \
  396. $(TARGET_CONFIGURE_OPTS) \
  397. COPT_FLAGS="$(TARGET_CFLAGS)" \
  398. KERNEL_DIR="$(LINUX_DIR)/user_headers/" PREFIX=/usr \
  399. KBUILD_OUTPUT="$(LINUX_DIR)" \
  400. BUILTIN_MODULES="$(patsubst ip6t_%,%,$(patsubst ipt_%,%,$(patsubst xt_%,%,$(IPT_BUILTIN) $(IPT_CONNTRACK-m) $(IPT_NAT-m))))"
  401. ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
  402. define Build/Configure/rebuild
  403. $(FIND) $(PKG_BUILD_DIR) -name \*.o -or -name \*.\?o -or -name \*.a | $(XARGS) rm -f
  404. rm -f $(PKG_BUILD_DIR)/.config_*
  405. rm -f $(PKG_BUILD_DIR)/.configured_*
  406. touch $(subst .configured_,.config_,$(STAMP_CONFIGURED))
  407. endef
  408. endif
  409. define Build/Configure
  410. $(Build/Configure/rebuild)
  411. $(Build/Configure/Default)
  412. endef
  413. define Build/InstallDev
  414. $(INSTALL_DIR) $(1)/usr/include
  415. $(INSTALL_DIR) $(1)/usr/include/iptables
  416. $(INSTALL_DIR) $(1)/usr/include/net/netfilter
  417. # XXX: iptables header fixup, some headers are not installed by iptables anymore
  418. $(CP) $(PKG_BUILD_DIR)/include/iptables/*.h $(1)/usr/include/iptables/
  419. $(CP) $(PKG_BUILD_DIR)/include/iptables.h $(1)/usr/include/
  420. $(CP) $(PKG_BUILD_DIR)/include/ip6tables.h $(1)/usr/include/
  421. $(CP) $(PKG_BUILD_DIR)/include/libipulog $(1)/usr/include/
  422. $(CP) $(PKG_BUILD_DIR)/include/libiptc $(1)/usr/include/
  423. $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
  424. $(INSTALL_DIR) $(1)/usr/lib
  425. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.so* $(1)/usr/lib/
  426. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip*tc.so* $(1)/usr/lib/
  427. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  428. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/xtables.pc $(1)/usr/lib/pkgconfig/
  429. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libip*tc.pc $(1)/usr/lib/pkgconfig/
  430. # XXX: needed by firewall3
  431. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext*.so $(1)/usr/lib/
  432. endef
  433. define Package/iptables/install
  434. $(INSTALL_DIR) $(1)/usr/sbin
  435. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/xtables-multi $(1)/usr/sbin/
  436. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables{,-restore,-save} $(1)/usr/sbin/
  437. $(INSTALL_DIR) $(1)/usr/lib/iptables
  438. endef
  439. define Package/ip6tables/install
  440. $(INSTALL_DIR) $(1)/usr/sbin
  441. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables{,-restore,-save} $(1)/usr/sbin/
  442. endef
  443. define Package/libiptc/install
  444. $(INSTALL_DIR) $(1)/usr/lib
  445. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiptc.so* $(1)/usr/lib/
  446. endef
  447. define Package/libip4tc/install
  448. $(INSTALL_DIR) $(1)/usr/lib
  449. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip4tc.so* $(1)/usr/lib/
  450. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext4.so $(1)/usr/lib/
  451. endef
  452. define Package/libip6tc/install
  453. $(INSTALL_DIR) $(1)/usr/lib
  454. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libip6tc.so* $(1)/usr/lib/
  455. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext6.so $(1)/usr/lib/
  456. endef
  457. define Package/libxtables/install
  458. $(INSTALL_DIR) $(1)/usr/lib
  459. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.so* $(1)/usr/lib/
  460. $(CP) $(PKG_BUILD_DIR)/extensions/libiptext.so $(1)/usr/lib/
  461. endef
  462. define BuildPlugin
  463. define Package/$(1)/install
  464. $(INSTALL_DIR) $$(1)/usr/lib/iptables
  465. for m in $(patsubst xt_%,ipt_%,$(2)) $(patsubst ipt_%,xt_%,$(2)) $(patsubst xt_%,ip6t_%,$(2)) $(patsubst ip6t_%,xt_%,$(2)); do \
  466. if [ -f $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so ]; then \
  467. $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so $$(1)/usr/lib/iptables/ ; \
  468. fi; \
  469. done
  470. $(3)
  471. endef
  472. $$(eval $$(call BuildPackage,$(1)))
  473. endef
  474. $(eval $(call BuildPackage,iptables))
  475. $(eval $(call BuildPlugin,iptables-mod-conntrack-extra,$(IPT_CONNTRACK_EXTRA-m)))
  476. $(eval $(call BuildPlugin,iptables-mod-conntrack-label,$(IPT_CONNTRACK_LABEL-m)))
  477. $(eval $(call BuildPlugin,iptables-mod-extra,$(IPT_EXTRA-m)))
  478. $(eval $(call BuildPlugin,iptables-mod-filter,$(IPT_FILTER-m)))
  479. $(eval $(call BuildPlugin,iptables-mod-ipopt,$(IPT_IPOPT-m)))
  480. $(eval $(call BuildPlugin,iptables-mod-ipsec,$(IPT_IPSEC-m)))
  481. $(eval $(call BuildPlugin,iptables-mod-nat-extra,$(IPT_NAT_EXTRA-m)))
  482. $(eval $(call BuildPlugin,iptables-mod-iprange,$(IPT_IPRANGE-m)))
  483. $(eval $(call BuildPlugin,iptables-mod-cluster,$(IPT_CLUSTER-m)))
  484. $(eval $(call BuildPlugin,iptables-mod-clusterip,$(IPT_CLUSTERIP-m)))
  485. $(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m)))
  486. $(eval $(call BuildPlugin,iptables-mod-hashlimit,$(IPT_HASHLIMIT-m)))
  487. $(eval $(call BuildPlugin,iptables-mod-rpfilter,$(IPT_RPFILTER-m)))
  488. $(eval $(call BuildPlugin,iptables-mod-led,$(IPT_LED-m)))
  489. $(eval $(call BuildPlugin,iptables-mod-tproxy,$(IPT_TPROXY-m)))
  490. $(eval $(call BuildPlugin,iptables-mod-tee,$(IPT_TEE-m)))
  491. $(eval $(call BuildPlugin,iptables-mod-u32,$(IPT_U32-m)))
  492. $(eval $(call BuildPlugin,iptables-mod-nflog,$(IPT_NFLOG-m)))
  493. $(eval $(call BuildPlugin,iptables-mod-trace,$(IPT_DEBUG-m)))
  494. $(eval $(call BuildPlugin,iptables-mod-nfqueue,$(IPT_NFQUEUE-m)))
  495. $(eval $(call BuildPlugin,iptables-mod-checksum,$(IPT_CHECKSUM-m)))
  496. $(eval $(call BuildPackage,ip6tables))
  497. $(eval $(call BuildPlugin,ip6tables-extra,$(IPT_IPV6_EXTRA-m)))
  498. $(eval $(call BuildPlugin,ip6tables-mod-nat,$(IPT_NAT6-m)))
  499. $(eval $(call BuildPackage,libiptc))
  500. $(eval $(call BuildPackage,libip4tc))
  501. $(eval $(call BuildPackage,libip6tc))
  502. $(eval $(call BuildPackage,libxtables))