t ipv6_pinfo af_inet6;
} net_pinfo;
# endif
union {
struct tcp_opt af_tcp;
# if defined (CONFIG_INET) | | defined (CONFIG_INET_MODULE)
struct raw_opt tp_raw4;
# endif
# if defined (CONFIG_IPV6) | | defined (CONFIG_IPV6_MODULE)
struct raw6_opt tp_raw;
# endif/* CONFIG_IPV6 */
# if defined (CONFIG_SPX) | | defined (CONFIG_SPX_MODULE)
struct spx_opt af_spx;
# endif/* CONFIG_SPX */
} tp_pinfo;
int err, err_soft;/* Soft holds errors that don't
cause failure but are the cause
of a persistent failure not just
'timed out' */
unsigned short ack_backlog;
unsigned short max_ack_backlog;
__u32 priority;
unsigned short type;
unsigned char localroute;/* Route locally only */
unsigned char protocol;
struct ucred peercred;
int rcvlowat;
long rcvtimeo;
long sndtimeo;
# ifdef CONFIG_FILTER
/* Socket Filtering Instructions */
struct sk_filter * filter;
# endif/* CONFIG_FILTER */
/* This is where all the private (Optional) areas that don't
* overlap will eventually live.
*/
union {
void * destruct_hook;
struct unix_opt af_unix;
# if defined (CONFIG_INET) | | defined (CONFIG_INET_MODULE)
struct inet_opt af_inet;
# endif
# if defined (CONFIG_ATALK) | | defined (CONFIG_ATALK_MODULE)
struct atalk_sock af_at;
# endif
# if defined (CONFIG_IPX) | | defined (CONFIG_IPX_MODULE)
struct ipx_opt af_ipx;
# endif
# if defined (CONFIG_DECNET) | | defined (CONFIG_DECNET_MODULE)
struct dn_scp dn;
# endif
# if defined (CONFIG_PACKET) | | defined (CONFIG_PACKET_MODULE)
struct packet_opt * af_packet;
# endif
# if defined (CONFIG_X25) | | defined (CONFIG_X25_MODULE)
x25_cb * x25;
# endif
# if defined (CONFIG_AX25) | | defined (CONFIG_AX25_MODULE)
ax25_cb * ax25;
# endif
# if defined (CONFIG_NETROM) | | defined (CONFIG_NETROM_MODULE)
nr_cb * nr;
# endif
# if defined (CONFIG_ROSE) | | defined (CONFIG_ROSE_MODULE)
rose_cb * rose;
# endif
# if defined (CONFIG_PPPOE) | | defined (CONFIG_PPPOE_MODULE)
struct pppox_opt * pppox;
# endif
# ifdef CONFIG_NETLINK
struct netlink_opt * af_netlink;
# endif
# if defined (CONFIG_ECONET) | | defined (CONFIG_ECONET_MODULE)
struct econet_opt * af_econet;
# endif
# if defined (CONFIG_ATM) | | defined (CONFIG_ATM_MODULE)
struct atm_vcc * af_atm;
# endif
# if defined (CONFIG_IRDA) | | defined (CONFIG_IRDA_MODULE)
struct irda_sock * irda;
# endif
...