Searched refs:rev (Results 1 – 6 of 6) sorted by relevance
/net/netfilter/ |
D | nft_compat.c | 630 int rev, int target) in nfnl_compat_fill_info() argument 642 nla_put_be32(skb, NFTA_COMPAT_REV, htonl(rev)) || in nfnl_compat_fill_info() 664 u32 rev; in nfnl_compat_get_rcu() local 673 rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV])); in nfnl_compat_get_rcu() 702 rev, target, &ret), in nfnl_compat_get_rcu() 764 u32 rev, family; in nft_match_select_ops() local 773 rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV])); in nft_match_select_ops() 776 match = xt_request_find_match(family, mt_name, rev); in nft_match_select_ops() 843 u32 rev, family; in nft_target_select_ops() local 852 rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV])); in nft_target_select_ops() [all …]
|
D | x_tables.c | 275 u8 __user *prev, u8 rev) in xt_obj_to_user() argument 281 if (put_user(rev, prev)) in xt_obj_to_user()
|
/net/ipv4/netfilter/ |
D | arp_tables.c | 1495 struct xt_get_revision rev; in do_arpt_get_ctl() local 1497 if (*len != sizeof(rev)) { in do_arpt_get_ctl() 1501 if (copy_from_user(&rev, user, sizeof(rev)) != 0) { in do_arpt_get_ctl() 1505 rev.name[sizeof(rev.name)-1] = 0; in do_arpt_get_ctl() 1507 try_then_request_module(xt_find_revision(NFPROTO_ARP, rev.name, in do_arpt_get_ctl() 1508 rev.revision, 1, &ret), in do_arpt_get_ctl() 1509 "arpt_%s", rev.name); in do_arpt_get_ctl()
|
D | ip_tables.c | 1707 struct xt_get_revision rev; in do_ipt_get_ctl() local 1710 if (*len != sizeof(rev)) { in do_ipt_get_ctl() 1714 if (copy_from_user(&rev, user, sizeof(rev)) != 0) { in do_ipt_get_ctl() 1718 rev.name[sizeof(rev.name)-1] = 0; in do_ipt_get_ctl() 1725 try_then_request_module(xt_find_revision(AF_INET, rev.name, in do_ipt_get_ctl() 1726 rev.revision, in do_ipt_get_ctl() 1728 "ipt_%s", rev.name); in do_ipt_get_ctl()
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 1717 struct xt_get_revision rev; in do_ip6t_get_ctl() local 1720 if (*len != sizeof(rev)) { in do_ip6t_get_ctl() 1724 if (copy_from_user(&rev, user, sizeof(rev)) != 0) { in do_ip6t_get_ctl() 1728 rev.name[sizeof(rev.name)-1] = 0; in do_ip6t_get_ctl() 1735 try_then_request_module(xt_find_revision(AF_INET6, rev.name, in do_ip6t_get_ctl() 1736 rev.revision, in do_ip6t_get_ctl() 1738 "ip6t_%s", rev.name); in do_ip6t_get_ctl()
|
/net/sched/ |
D | sch_cake.c | 593 bool rev = !skb->_nfct; in cake_update_flowkeys() local 601 keys->addrs.v4addrs.src = rev ? tuple.dst.u3.ip : tuple.src.u3.ip; in cake_update_flowkeys() 602 keys->addrs.v4addrs.dst = rev ? tuple.src.u3.ip : tuple.dst.u3.ip; in cake_update_flowkeys() 605 keys->ports.src = rev ? tuple.dst.u.all : tuple.src.u.all; in cake_update_flowkeys() 606 keys->ports.dst = rev ? tuple.src.u.all : tuple.dst.u.all; in cake_update_flowkeys()
|