Lines Matching refs:sk
45 #define udp_port_hash inet.sk.__sk_common.skc_u16hashes[0]
46 #define udp_portaddr_hash inet.sk.__sk_common.skc_u16hashes[1]
47 #define udp_portaddr_node inet.sk.__sk_common.skc_portaddr_node
72 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
73 void (*encap_destroy)(struct sock *sk);
76 static inline struct udp_sock *udp_sk(const struct sock *sk) in udp_sk() argument
78 return (struct udp_sock *)sk; in udp_sk()
81 static inline void udp_set_no_check6_tx(struct sock *sk, bool val) in udp_set_no_check6_tx() argument
83 udp_sk(sk)->no_check6_tx = val; in udp_set_no_check6_tx()
86 static inline void udp_set_no_check6_rx(struct sock *sk, bool val) in udp_set_no_check6_rx() argument
88 udp_sk(sk)->no_check6_rx = val; in udp_set_no_check6_rx()
91 static inline bool udp_get_no_check6_tx(struct sock *sk) in udp_get_no_check6_tx() argument
93 return udp_sk(sk)->no_check6_tx; in udp_get_no_check6_tx()
96 static inline bool udp_get_no_check6_rx(struct sock *sk) in udp_get_no_check6_rx() argument
98 return udp_sk(sk)->no_check6_rx; in udp_get_no_check6_rx()