OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [net/] [transp_v6.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _TRANSP_V6_H
2
#define _TRANSP_V6_H
3
 
4
#include <net/checksum.h>
5
 
6
/*
7
 *      IPv6 transport protocols
8
 */
9
 
10
#ifdef __KERNEL__
11
 
12
extern struct proto rawv6_prot;
13
extern struct proto udpv6_prot;
14
extern struct proto tcpv6_prot;
15
 
16
struct flowi;
17
 
18
extern void                             ipv6_frag_init(void);
19
 
20
extern void                             rawv6_init(void);
21
extern void                             udpv6_init(void);
22
extern void                             tcpv6_init(void);
23
 
24
extern int                              udpv6_connect(struct sock *sk,
25
                                                      struct sockaddr *uaddr,
26
                                                      int addr_len);
27
 
28
extern int                      datagram_recv_ctl(struct sock *sk,
29
                                                  struct msghdr *msg,
30
                                                  struct sk_buff *skb);
31
 
32
extern int                      datagram_send_ctl(struct msghdr *msg,
33
                                                  struct flowi *fl,
34
                                                  struct ipv6_txoptions *opt,
35
                                                  int *hlimit);
36
 
37
#define         LOOPBACK4_IPV6          __constant_htonl(0x7f000006)
38
 
39
/*
40
 *      address family specific functions
41
 */
42
extern struct tcp_func  ipv4_specific;
43
 
44
extern int inet6_destroy_sock(struct sock *sk);
45
 
46
#endif
47
 
48
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.