cregit-Linux how code gets into the kernel

Release 4.12 include/net/netfilter/nf_socket.h

#ifndef _NF_SOCK_H_

#define _NF_SOCK_H_

struct net_device;
struct sk_buff;
struct sock;
struct net;


static inline bool nf_sk_is_transparent(struct sock *sk) { switch (sk->sk_state) { case TCP_TIME_WAIT: return inet_twsk(sk)->tw_transparent; case TCP_NEW_SYN_RECV: return inet_rsk(inet_reqsk(sk))->no_srccheck; default: return inet_sk(sk)->transparent; } }

Contributors

PersonTokensPropCommitsCommitProp
Pablo Neira Ayuso54100.00%1100.00%
Total54100.00%1100.00%

struct sock *nf_sk_lookup_slow_v4(struct net *net, const struct sk_buff *skb, const struct net_device *indev); struct sock *nf_sk_lookup_slow_v6(struct net *net, const struct sk_buff *skb, const struct net_device *indev); #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Pablo Neira Ayuso120100.00%1100.00%
Total120100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.