/* * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/netlink.h> #include <linux/netfilter.h> #include <linux/netfilter/nf_tables.h> #include <net/netfilter/nf_tables.h>
static void nf_do_netdev_egress(struct sk_buff *skb, struct net_device *dev) { if (skb_mac_header_was_set(skb)) skb_push(skb, skb->mac_len); skb->dev = dev; dev_queue_xmit(skb); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 43 | 100.00% | 1 | 100.00% |
Total | 43 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 55 | 100.00% | 1 | 100.00% |
Total | 55 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Pablo Neira Ayuso | 64 | 98.46% | 2 | 66.67% |
Florian Westphal | 1 | 1.54% | 1 | 33.33% |
Total | 65 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 104 | 50.73% | 1 | 33.33% |
Pablo Neira Ayuso | 101 | 49.27% | 2 | 66.67% |
Total | 205 | 100.00% | 3 | 100.00% |