Lines Matching refs:tuple
398 orig_tuple = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple;
399 reply_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
724 orig_tuple = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple;
811 struct nf_conntrack_tuple tuple;
816 * Create a tuple so as to be able to look up a connection
818 memset(&tuple, 0, sizeof(tuple));
819 tuple.src.u.all = (__be16)sis->src_port;
820 tuple.dst.dir = IP_CT_DIR_ORIGINAL;
821 tuple.dst.protonum = (uint8_t)sis->protocol;
822 tuple.dst.u.all = (__be16)sis->dest_port;
825 tuple.src.u3.in6 = *((struct in6_addr *)sis->src_ip.ip6);
826 tuple.dst.u3.in6 = *((struct in6_addr *)sis->dest_ip.ip6);
827 tuple.src.l3num = AF_INET6;
830 (int)tuple.dst.protonum,
831 &tuple.src.u3.in6, (unsigned int)ntohs(tuple.src.u.all),
832 &tuple.dst.u3.in6, (unsigned int)ntohs(tuple.dst.u.all));
834 tuple.src.u3.ip = sis->src_ip.ip;
835 tuple.dst.u3.ip = sis->dest_ip.ip;
836 tuple.src.l3num = AF_INET;
839 (int)tuple.dst.protonum,
840 &tuple.src.u3.ip, (unsigned int)ntohs(tuple.src.u.all),
841 &tuple.dst.u3.ip, (unsigned int)ntohs(tuple.dst.u.all));
847 h = nf_conntrack_find_get(&init_net, NF_CT_DEFAULT_ZONE, &tuple);