Lines Matching refs:expected
30 struct nf_conntrack *expected, *mask;
32 expected = nfct_new();
33 if (!expected)
46 nfct_set_attr_u8(expected, ATTR_L3PROTO, AF_INET);
47 nfct_set_attr_u32(expected, ATTR_IPV4_SRC, saddr->ip);
53 nfct_set_attr_u8(expected, ATTR_L3PROTO, AF_INET6);
54 nfct_set_attr(expected, ATTR_IPV6_SRC, saddr->ip6);
71 nfct_set_attr_u8(expected, ATTR_L3PROTO, AF_INET);
72 nfct_set_attr_u32(expected, ATTR_IPV4_SRC, 0x00000000);
81 nfct_set_attr_u8(expected, ATTR_L3PROTO, AF_INET6);
82 nfct_set_attr(expected, ATTR_IPV6_SRC, addr);
96 nfct_set_attr_u8(expected, ATTR_L4PROTO, l4proto);
97 nfct_set_attr_u16(expected, ATTR_PORT_SRC, *sport);
108 nfct_set_attr_u8(expected, ATTR_L4PROTO, l4proto);
109 nfct_set_attr_u16(expected, ATTR_PORT_SRC, 0x0000);
123 nfct_set_attr_u8(expected, ATTR_L3PROTO, AF_INET);
124 nfct_set_attr_u32(expected, ATTR_IPV4_DST, daddr->ip);
128 nfct_set_attr_u8(expected, ATTR_L3PROTO, AF_INET6);
129 nfct_set_attr(expected, ATTR_IPV6_DST, daddr->ip6);
143 nfct_set_attr_u8(expected, ATTR_L4PROTO, l4proto);
144 nfct_set_attr_u16(expected, ATTR_PORT_DST, *dport);
153 nfexp_set_attr(exp, ATTR_EXP_EXPECTED, expected);
157 nfct_destroy(expected);