Lines Matching refs:sock

36 struct sock;
72 struct sock *sk;
74 void (*destructor)(struct sock *);
75 struct sock *saved_sk;
102 int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
109 int ip_output(struct sock *sk, struct sk_buff *skb);
110 int ip_mc_output(struct sock *sk, struct sk_buff *skb);
111 int ip_fragment(struct sock *sk, struct sk_buff *skb,
112 int (*output)(struct sock *, struct sk_buff *));
116 int ip_local_out_sk(struct sock *sk, struct sk_buff *skb);
122 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
124 int ip_append_data(struct sock *sk, struct flowi4 *fl4,
133 ssize_t ip_append_page(struct sock *sk, struct flowi4 *fl4, struct page *page,
135 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
139 int ip_push_pending_frames(struct sock *sk, struct flowi4 *fl4);
140 void ip_flush_pending_frames(struct sock *sk);
141 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
148 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
158 static inline __u8 get_rtconn_flags(struct ipcm_cookie* ipc, struct sock* sk) in get_rtconn_flags()
164 int __ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
165 int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
167 void ip4_datagram_release_cb(struct sock *sk);
186 void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb,
275 int ip_dont_fragment(struct sock *sk, struct dst_entry *dst) in ip_dont_fragment()
282 static inline bool ip_sk_accept_pmtu(const struct sock *sk) in ip_sk_accept_pmtu()
288 static inline bool ip_sk_use_pmtu(const struct sock *sk) in ip_sk_use_pmtu()
293 static inline bool ip_sk_ignore_df(const struct sock *sk) in ip_sk_ignore_df()
326 struct sock *sk, int segs) in ip_select_ident_segs()
348 struct sock *sk) in ip_select_ident()
359 static inline void inet_set_txhash(struct sock *sk) in inet_set_txhash()
445 static __inline__ void inet_reset_saddr(struct sock *sk) in inet_reset_saddr()
528 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb);
532 int ip_setsockopt(struct sock *sk, int level, int optname, char __user *optval,
534 int ip_getsockopt(struct sock *sk, int level, int optname, char __user *optval,
536 int compat_ip_setsockopt(struct sock *sk, int level, int optname,
538 int compat_ip_getsockopt(struct sock *sk, int level, int optname,
540 int ip_ra_control(struct sock *sk, unsigned char on,
541 void (*destructor)(struct sock *));
543 int ip_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len);
544 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
546 void ip_local_error(struct sock *sk, int err, __be32 daddr, __be16 dport,