Dear All, So in my quest for understanding IPSETs I have traced the registration to ADT functions from the Userland Netlink. How are the Common functions registered, How are they called. They must be called from the IPTABLES code, since I add my rule with a -set --match-set option attaching my Ipset. So where is IPSET common functions getting attached to IPTABLES ? 49 /* Common functions */ 50 51 static inline bool 52 hash_ip4_data_equal(const struct hash_ip4_elem *e1, 53 const struct hash_ip4_elem *e2, 54 u32 *multi) 55 { 56 return e1->ip == e2->ip; 57 } 58 59 static bool 60 hash_ip4_data_list(struct sk_buff *skb, const struct hash_ip4_elem *e) 61 { 62 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip)) 63 goto nla_put_failure; 64 return false; 65 66 nla_put_failure: 67 return true; 68 } 69 70 static inline void 71 hash_ip4_data_next(struct hash_ip4_elem *next, const struct hash_ip4_elem *e) 72 { 73 next->ip = e->ip; 74 } Thanks and regards Gadre Nayan Anand -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html