libnetfilter_conntrack: set_attr_dnat_ipv4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm curious, I'm looking at the libnetfilter_conntrack code, and I see
the following function definition:

static void
set_attr_dnat_ipv4(struct nf_conntrack *ct, const void *value, size_t len)
{
    ct->dnat.min_ip = ct->snat.max_ip = *((u_int32_t *) value);
}

Why does setting the DNAT_IPV4 attribute touch the snat.max_ip struct member?
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux