Searched refs:rtuple (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | mprog.c | 231 struct bpf_tuple rtuple, ntuple = { in bpf_mprog_attach() local 244 ret = bpf_mprog_tuple_relative(&rtuple, id_or_fd, in bpf_mprog_attach() 261 tidx = bpf_mprog_pos_before(entry, &rtuple); in bpf_mprog_attach() 269 tidx = bpf_mprog_pos_after(entry, &rtuple); in bpf_mprog_attach() 277 if (rtuple.prog || flags) { in bpf_mprog_attach() 293 bpf_mprog_tuple_put(&rtuple); in bpf_mprog_attach() 333 struct bpf_tuple rtuple, dtuple = { in bpf_mprog_detach() local 359 tidx = bpf_mprog_pos_before(entry, &rtuple); in bpf_mprog_detach() 367 tidx = bpf_mprog_pos_after(entry, &rtuple); in bpf_mprog_detach() 375 if (rtuple.prog || flags) { in bpf_mprog_detach() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | xt_HMARK.c | 84 struct nf_conntrack_tuple *rtuple; in hmark_ct_set_htuple() local 90 rtuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in hmark_ct_set_htuple() 94 t->dst = hmark_addr_mask(otuple->src.l3num, rtuple->src.u3.ip6, in hmark_ct_set_htuple() 103 t->uports.b16.dst = rtuple->src.u.all; in hmark_ct_set_htuple()
|
H A D | nf_conntrack_bpf.c | 106 struct nf_conntrack_tuple otuple, rtuple; in __bpf_nf_ct_alloc_entry() local 123 IP_CT_DIR_REPLY, &rtuple); in __bpf_nf_ct_alloc_entry() 133 ct = nf_conntrack_alloc(net, &nf_ct_zone_dflt, &otuple, &rtuple, in __bpf_nf_ct_alloc_entry()
|
H A D | nf_conntrack_netlink.c | 2230 struct nf_conntrack_tuple *rtuple, in ctnetlink_create_conntrack() argument 2239 ct = nf_conntrack_alloc(net, zone, otuple, rtuple, GFP_ATOMIC); in ctnetlink_create_conntrack() 2388 struct nf_conntrack_tuple otuple, rtuple; in ctnetlink_new_conntrack() local 2407 err = ctnetlink_parse_tuple(cda, &rtuple, CTA_TUPLE_REPLY, in ctnetlink_new_conntrack() 2416 h = nf_conntrack_find_get(info->net, &zone, &rtuple); in ctnetlink_new_conntrack() 2425 if (otuple.dst.protonum != rtuple.dst.protonum) in ctnetlink_new_conntrack() 2429 &otuple, &rtuple, u3); in ctnetlink_new_conntrack()
|