cregit-Linux how code gets into the kernel

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

PersonTokensPropCommitsCommitProp
pablo neira ayusopablo neira ayuso6478.05%133.33%
patrick mchardypatrick mchardy1518.29%133.33%
david s. millerdavid s. miller33.66%133.33%
Total82100.00%3100.00%

extern struct nft_af_info nft_af_ipv4; #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
pablo neira ayusopablo neira ayuso7877.23%125.00%
patrick mchardypatrick mchardy2019.80%250.00%
david s. millerdavid s. miller32.97%125.00%
Total101100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}