Searched refs:rev (Results 1 – 6 of 6) sorted by relevance
/net/netfilter/ |
D | nft_compat.c | 633 int rev, int target) in nfnl_compat_fill_info() argument 645 nla_put_be32(skb, NFTA_COMPAT_REV, htonl(rev)) || in nfnl_compat_fill_info() 666 u32 rev; in nfnl_compat_get_rcu() local 674 rev = ntohl(nla_get_be32(tb[NFTA_COMPAT_REV])); in nfnl_compat_get_rcu() 699 try_then_request_module(xt_find_revision(family, name, rev, target, &ret), in nfnl_compat_get_rcu() 761 u32 rev, family; in nft_match_select_ops() local 770 rev = ntohl(nla_get_be32(tb[NFTA_MATCH_REV])); in nft_match_select_ops() 773 match = xt_request_find_match(family, mt_name, rev); in nft_match_select_ops() 840 u32 rev, family; in nft_target_select_ops() local 849 rev = ntohl(nla_get_be32(tb[NFTA_TARGET_REV])); in nft_target_select_ops() [all …]
|
D | x_tables.c | 295 u8 __user *prev, u8 rev) in xt_obj_to_user() argument 301 if (put_user(rev, prev)) in xt_obj_to_user()
|
/net/ipv4/netfilter/ |
D | arp_tables.c | 1456 struct xt_get_revision rev; in do_arpt_get_ctl() local 1458 if (*len != sizeof(rev)) { in do_arpt_get_ctl() 1462 if (copy_from_user(&rev, user, sizeof(rev)) != 0) { in do_arpt_get_ctl() 1466 rev.name[sizeof(rev.name)-1] = 0; in do_arpt_get_ctl() 1468 try_then_request_module(xt_find_revision(NFPROTO_ARP, rev.name, in do_arpt_get_ctl() 1469 rev.revision, 1, &ret), in do_arpt_get_ctl() 1470 "arpt_%s", rev.name); in do_arpt_get_ctl()
|
D | ip_tables.c | 1666 struct xt_get_revision rev; in do_ipt_get_ctl() local 1669 if (*len != sizeof(rev)) { in do_ipt_get_ctl() 1673 if (copy_from_user(&rev, user, sizeof(rev)) != 0) { in do_ipt_get_ctl() 1677 rev.name[sizeof(rev.name)-1] = 0; in do_ipt_get_ctl() 1684 try_then_request_module(xt_find_revision(AF_INET, rev.name, in do_ipt_get_ctl() 1685 rev.revision, in do_ipt_get_ctl() 1687 "ipt_%s", rev.name); in do_ipt_get_ctl()
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 1676 struct xt_get_revision rev; in do_ip6t_get_ctl() local 1679 if (*len != sizeof(rev)) { in do_ip6t_get_ctl() 1683 if (copy_from_user(&rev, user, sizeof(rev)) != 0) { in do_ip6t_get_ctl() 1687 rev.name[sizeof(rev.name)-1] = 0; in do_ip6t_get_ctl() 1694 try_then_request_module(xt_find_revision(AF_INET6, rev.name, in do_ip6t_get_ctl() 1695 rev.revision, in do_ip6t_get_ctl() 1697 "ip6t_%s", rev.name); in do_ip6t_get_ctl()
|
/net/sched/ |
D | sch_cake.c | 592 bool rev = !skb->_nfct, upd = false; in cake_update_flowkeys() local 601 ip = rev ? tuple.dst.u3.ip : tuple.src.u3.ip; in cake_update_flowkeys() 606 ip = rev ? tuple.src.u3.ip : tuple.dst.u3.ip; in cake_update_flowkeys() 615 port = rev ? tuple.dst.u.all : tuple.src.u.all; in cake_update_flowkeys() 620 port = rev ? tuple.src.u.all : tuple.dst.u.all; in cake_update_flowkeys()
|