sock.h (9a5d5bd8480068c5829e3d997ee21dab9b3ed05f) sock.h (f3419807716be503c06f399b2bcbc68823be3a78)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the AF_INET socket handler.
7 *
8 * Version: @(#)sock.h 1.0.4 05/13/93

--- 1472 unchanged lines hidden (view full) ---

1481 unsigned long data_len,
1482 int noblock,
1483 int *errcode);
1484extern void *sock_kmalloc(struct sock *sk, int size,
1485 gfp_t priority);
1486extern void sock_kfree_s(struct sock *sk, void *mem, int size);
1487extern void sk_send_sigurg(struct sock *sk);
1488
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the AF_INET socket handler.
7 *
8 * Version: @(#)sock.h 1.0.4 05/13/93

--- 1472 unchanged lines hidden (view full) ---

1481 unsigned long data_len,
1482 int noblock,
1483 int *errcode);
1484extern void *sock_kmalloc(struct sock *sk, int size,
1485 gfp_t priority);
1486extern void sock_kfree_s(struct sock *sk, void *mem, int size);
1487extern void sk_send_sigurg(struct sock *sk);
1488
1489#ifdef CONFIG_CGROUPS
1490extern void sock_update_classid(struct sock *sk);
1491#else
1492static inline void sock_update_classid(struct sock *sk)
1493{
1494}
1495#endif
1496
1497/*
1498 * Functions to fill in entries in struct proto_ops when a protocol
1499 * does not implement a particular function.
1500 */
1501extern int sock_no_bind(struct socket *,
1502 struct sockaddr *, int);
1503extern int sock_no_connect(struct socket *,
1504 struct sockaddr *, int, int);

--- 723 unchanged lines hidden ---
1489/*
1490 * Functions to fill in entries in struct proto_ops when a protocol
1491 * does not implement a particular function.
1492 */
1493extern int sock_no_bind(struct socket *,
1494 struct sockaddr *, int);
1495extern int sock_no_connect(struct socket *,
1496 struct sockaddr *, int, int);

--- 723 unchanged lines hidden ---