Lines Matching refs:sock

177 int tcp_ao_transmit_skb(struct sock *sk, struct sk_buff *skb,
182 const struct sock *sk, const struct sk_buff *skb,
184 int tcp_parse_ao(struct sock *sk, int cmd, unsigned short int family,
188 int tcp_ao_copy_all_matching(const struct sock *sk, struct sock *newsk,
193 void tcp_ao_destroy_sock(struct sock *sk, bool twsk);
195 bool tcp_ao_ignore_icmp(const struct sock *sk, int family, int type, int code);
196 int tcp_ao_get_mkts(struct sock *sk, sockptr_t optval, sockptr_t optlen);
197 int tcp_ao_get_sock_info(struct sock *sk, sockptr_t optval, sockptr_t optlen);
198 int tcp_ao_get_repair(struct sock *sk, sockptr_t optval, sockptr_t optlen);
199 int tcp_ao_set_repair(struct sock *sk, sockptr_t optval, unsigned int optlen);
200 enum skb_drop_reason tcp_inbound_ao_hash(struct sock *sk,
205 struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, int l3index,
213 int tcp_ao_prepare_reset(const struct sock *sk, struct sk_buff *skb,
219 int tcp_v4_parse_ao(struct sock *sk, int cmd, sockptr_t optval, int optlen);
220 struct tcp_ao_key *tcp_v4_ao_lookup(const struct sock *sk, struct sock *addr_sk,
226 const struct sock *sk,
230 struct tcp_ao_key *tcp_v4_ao_lookup_rsk(const struct sock *sk,
234 const struct sock *sk, const struct sk_buff *skb,
243 const struct sock *sk, __be32 sisn,
247 struct tcp_ao_key *tcp_v6_ao_lookup(const struct sock *sk,
248 struct sock *addr_sk, int sndid, int rcvid);
249 struct tcp_ao_key *tcp_v6_ao_lookup_rsk(const struct sock *sk,
253 const struct sock *sk, const struct sk_buff *skb,
255 int tcp_v6_parse_ao(struct sock *sk, int cmd, sockptr_t optval, int optlen);
259 void tcp_ao_established(struct sock *sk);
260 void tcp_ao_finish_connect(struct sock *sk, struct sk_buff *skb);
261 void tcp_ao_connect_init(struct sock *sk);
262 void tcp_ao_syncookie(struct sock *sk, const struct sk_buff *skb,
266 static inline int tcp_ao_transmit_skb(struct sock *sk, struct sk_buff *skb, in tcp_ao_transmit_skb()
273 static inline void tcp_ao_syncookie(struct sock *sk, const struct sk_buff *skb, in tcp_ao_syncookie()
278 static inline bool tcp_ao_ignore_icmp(const struct sock *sk, int family, in tcp_ao_ignore_icmp()
284 static inline enum skb_drop_reason tcp_inbound_ao_hash(struct sock *sk, in tcp_inbound_ao_hash()
292 static inline struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, in tcp_ao_do_lookup()
299 static inline void tcp_ao_destroy_sock(struct sock *sk, bool twsk) in tcp_ao_destroy_sock()
303 static inline void tcp_ao_established(struct sock *sk) in tcp_ao_established()
307 static inline void tcp_ao_finish_connect(struct sock *sk, struct sk_buff *skb) in tcp_ao_finish_connect()
316 static inline void tcp_ao_connect_init(struct sock *sk) in tcp_ao_connect_init()
320 static inline int tcp_ao_get_mkts(struct sock *sk, sockptr_t optval, sockptr_t optlen) in tcp_ao_get_mkts()
325 static inline int tcp_ao_get_sock_info(struct sock *sk, sockptr_t optval, sockptr_t optlen) in tcp_ao_get_sock_info()
330 static inline int tcp_ao_get_repair(struct sock *sk, in tcp_ao_get_repair()
336 static inline int tcp_ao_set_repair(struct sock *sk, in tcp_ao_set_repair()