Release 4.7 include/net/netfilter/nf_tables_ipv4.h
#ifndef _NF_TABLES_IPV4_H_
#define _NF_TABLES_IPV4_H_
#include <net/netfilter/nf_tables.h>
#include <net/ip.h>
static inline void
nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt,
struct sk_buff *skb,
const struct nf_hook_state *state)
{
struct iphdr *ip;
nft_set_pktinfo(pkt, skb, state);
ip = ip_hdr(pkt->skb);
pkt->tprot = ip->protocol;
pkt->xt.thoff = ip_hdrlen(pkt->skb);
pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
pablo neira ayuso | pablo neira ayuso | 64 | 78.05% | 1 | 33.33% |
patrick mchardy | patrick mchardy | 15 | 18.29% | 1 | 33.33% |
david s. miller | david s. miller | 3 | 3.66% | 1 | 33.33% |
| Total | 82 | 100.00% | 3 | 100.00% |
extern struct nft_af_info nft_af_ipv4;
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
pablo neira ayuso | pablo neira ayuso | 78 | 77.23% | 1 | 25.00% |
patrick mchardy | patrick mchardy | 20 | 19.80% | 2 | 50.00% |
david s. miller | david s. miller | 3 | 2.97% | 1 | 25.00% |
| Total | 101 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.