libxt_socket.c revision 7d68df47fad305673958351a4e2a5c6e75927caa
1/* 2 * Shared library add-on to iptables to add early socket matching support. 3 * 4 * Copyright (C) 2007 BalaBit IT Ltd. 5 */ 6#include <xtables.h> 7 8static struct xtables_match socket_mt_reg = { 9 .name = "socket", 10 .version = XTABLES_VERSION, 11 .family = NFPROTO_IPV4, 12 .size = XT_ALIGN(0), 13 .userspacesize = XT_ALIGN(0), 14}; 15 16void _init(void) 17{ 18 xtables_register_match(&socket_mt_reg); 19} 20