[NETFILTER]: nf_conntrack: add helper function for expectation initialization
authorPatrick McHardy <kaber@trash.net>
Sun, 3 Dec 2006 06:08:01 +0000 (22:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2006 06:08:01 +0000 (22:08 -0800)
commitd6a9b6500a8941599bcef98e7de49e1260d104ed
tree10dd941f8b67d885665b469bf9c476c0a8cbeebc
parent55a733247d6d2883d9bb77825fafac3dfca13fc2
[NETFILTER]: nf_conntrack: add helper function for expectation initialization

Expectation address masks need to be differently initialized depending
on the address family, create helper function to avoid cluttering up
the code too much.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_expect.h
include/net/netfilter/nf_conntrack_tuple.h
net/netfilter/nf_conntrack_expect.c