Lines Matching defs:tuple
38 * -ENOENT - Conntrack lookup could not find entry for tuple
39 * -EAFNOSUPPORT - tuple__sz isn't one of sizeof(tuple->ipv4)
40 * or sizeof(tuple->ipv6)
44 * @dir: - connection tracking tuple direction.
63 struct nf_conntrack_tuple *tuple)
65 union nf_inet_addr *src = dir ? &tuple->dst.u3 : &tuple->src.u3;
66 union nf_inet_addr *dst = dir ? &tuple->src.u3 : &tuple->dst.u3;
67 union nf_conntrack_man_proto *sport = dir ? (void *)&tuple->dst.u
68 : &tuple->src.u;
69 union nf_conntrack_man_proto *dport = dir ? &tuple->src.u
70 : (void *)&tuple->dst.u;
75 memset(tuple, 0, sizeof(*tuple));
79 tuple->src.l3num = AF_INET;
86 tuple->src.l3num = AF_INET6;
95 tuple->dst.protonum = protonum;
96 tuple->dst.dir = dir;
154 struct nf_conntrack_tuple tuple;
167 IP_CT_DIR_ORIGINAL, &tuple);
177 hash = nf_conntrack_find_get(net, &nf_ct_zone_dflt, &tuple);
240 * @bpf_tuple - Pointer to memory representing the tuple to look up
242 * @tuple__sz - Length of the tuple structure
268 /* bpf_xdp_ct_lookup - Lookup CT entry for the given tuple, and acquire a
274 * @bpf_tuple - Pointer to memory representing the tuple to look up
276 * @tuple__sz - Length of the tuple structure
307 * @bpf_tuple - Pointer to memory representing the tuple to look up
309 * @tuple__sz - Length of the tuple structure
336 /* bpf_skb_ct_lookup - Lookup CT entry for the given tuple, and acquire a
342 * @bpf_tuple - Pointer to memory representing the tuple to look up
344 * @tuple__sz - Length of the tuple structure