Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bb923b74
Commit
bb923b74
authored
May 19, 2003
by
Hideaki Yoshifuji
Committed by
David S. Miller
May 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Update RFC references.
parent
362807fc
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+1
-1
net/ipv6/exthdrs.c
net/ipv6/exthdrs.c
+2
-2
net/ipv6/mcast.c
net/ipv6/mcast.c
+3
-3
net/ipv6/proc.c
net/ipv6/proc.c
+2
-2
net/ipv6/route.c
net/ipv6/route.c
+1
-1
net/ipv6/sit.c
net/ipv6/sit.c
+1
-1
net/ipv6/udp.c
net/ipv6/udp.c
+1
-1
No files found.
net/ipv6/addrconf.c
View file @
bb923b74
...
@@ -1140,7 +1140,7 @@ static int __ipv6_regen_rndid(struct inet6_dev *idev)
...
@@ -1140,7 +1140,7 @@ static int __ipv6_regen_rndid(struct inet6_dev *idev)
*
*
* - Reserved subnet anycast (RFC 2526)
* - Reserved subnet anycast (RFC 2526)
* 11111101 11....11 1xxxxxxx
* 11111101 11....11 1xxxxxxx
* - ISATAP (draft-ietf-ngtrans-isatap-
01.txt) 4.3
* - ISATAP (draft-ietf-ngtrans-isatap-
13.txt) 5.1
* 00-00-5E-FE-xx-xx-xx-xx
* 00-00-5E-FE-xx-xx-xx-xx
* - value 0
* - value 0
* - XXX: already assigned to an address on the device
* - XXX: already assigned to an address on the device
...
...
net/ipv6/exthdrs.c
View file @
bb923b74
...
@@ -405,7 +405,7 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr)
...
@@ -405,7 +405,7 @@ ipv6_invert_rthdr(struct sock *sk, struct ipv6_rt_hdr *hdr)
Hop-by-hop options.
Hop-by-hop options.
**********************************/
**********************************/
/* Router Alert as of
draft-ietf-ipngwg-ipv6router-alert-04
*/
/* Router Alert as of
RFC 2711
*/
static
int
ipv6_hop_ra
(
struct
sk_buff
*
skb
,
int
optoff
)
static
int
ipv6_hop_ra
(
struct
sk_buff
*
skb
,
int
optoff
)
{
{
...
@@ -684,7 +684,7 @@ int ipv6_ext_hdr(u8 nexthdr)
...
@@ -684,7 +684,7 @@ int ipv6_ext_hdr(u8 nexthdr)
/*
/*
* Skip any extension headers. This is used by the ICMP module.
* Skip any extension headers. This is used by the ICMP module.
*
*
* Note that strictly speaking this conflicts with RFC
1883
4.0:
* Note that strictly speaking this conflicts with RFC
2460
4.0:
* ...The contents and semantics of each extension header determine whether
* ...The contents and semantics of each extension header determine whether
* or not to proceed to the next header. Therefore, extension headers must
* or not to proceed to the next header. Therefore, extension headers must
* be processed strictly in the order they appear in the packet; a
* be processed strictly in the order they appear in the packet; a
...
...
net/ipv6/mcast.c
View file @
bb923b74
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
* yoshfuji : fix format of router-alert option
* yoshfuji : fix format of router-alert option
* YOSHIFUJI Hideaki @USAGI:
* YOSHIFUJI Hideaki @USAGI:
* Fixed source address for MLD message based on
* Fixed source address for MLD message based on
* <draft-ietf-magma-mld-source-0
2
.txt>.
* <draft-ietf-magma-mld-source-0
5
.txt>.
* YOSHIFUJI Hideaki @USAGI:
* YOSHIFUJI Hideaki @USAGI:
* - Ignore Queries for invalid addresses.
* - Ignore Queries for invalid addresses.
* - MLD for link-local addresses.
* - MLD for link-local addresses.
...
@@ -1227,7 +1227,7 @@ static struct sk_buff *mld_newpack(struct net_device *dev, int size)
...
@@ -1227,7 +1227,7 @@ static struct sk_buff *mld_newpack(struct net_device *dev, int size)
}
}
if
(
ipv6_get_lladdr
(
dev
,
&
addr_buf
))
{
if
(
ipv6_get_lladdr
(
dev
,
&
addr_buf
))
{
/* <draft-ietf-magma-mld-source-0
2
.txt>:
/* <draft-ietf-magma-mld-source-0
5
.txt>:
* use unspecified address as the source address
* use unspecified address as the source address
* when a valid link-local address is not available.
* when a valid link-local address is not available.
*/
*/
...
@@ -1559,7 +1559,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type)
...
@@ -1559,7 +1559,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type)
}
}
if
(
ipv6_get_lladdr
(
dev
,
&
addr_buf
))
{
if
(
ipv6_get_lladdr
(
dev
,
&
addr_buf
))
{
/* <draft-ietf-magma-mld-source-0
2
.txt>:
/* <draft-ietf-magma-mld-source-0
5
.txt>:
* use unspecified address as the source address
* use unspecified address as the source address
* when a valid link-local address is not available.
* when a valid link-local address is not available.
*/
*/
...
...
net/ipv6/proc.c
View file @
bb923b74
...
@@ -67,7 +67,7 @@ struct snmp6_item
...
@@ -67,7 +67,7 @@ struct snmp6_item
#define SNMP6_SENTINEL { .name = NULL, .offset = 0 }
#define SNMP6_SENTINEL { .name = NULL, .offset = 0 }
static
struct
snmp6_item
snmp6_ipv6_list
[]
=
{
static
struct
snmp6_item
snmp6_ipv6_list
[]
=
{
/* ipv6 mib according to
draft-ietf-ipngwg-ipv6-mib-04
*/
/* ipv6 mib according to
RFC 2465
*/
#define SNMP6_GEN(x) { .name = #x , .offset = offsetof(struct ipv6_mib, x) }
#define SNMP6_GEN(x) { .name = #x , .offset = offsetof(struct ipv6_mib, x) }
SNMP6_GEN
(
Ip6InReceives
),
SNMP6_GEN
(
Ip6InReceives
),
SNMP6_GEN
(
Ip6InHdrErrors
),
SNMP6_GEN
(
Ip6InHdrErrors
),
...
@@ -96,7 +96,7 @@ static struct snmp6_item snmp6_ipv6_list[] = {
...
@@ -96,7 +96,7 @@ static struct snmp6_item snmp6_ipv6_list[] = {
};
};
static
struct
snmp6_item
snmp6_icmp6_list
[]
=
{
static
struct
snmp6_item
snmp6_icmp6_list
[]
=
{
/* icmpv6 mib according to
draft-ietf-ipngwg-ipv6-icmp-mib-02
/* icmpv6 mib according to
RFC 2466
Exceptions: {In|Out}AdminProhibs are removed, because I see
Exceptions: {In|Out}AdminProhibs are removed, because I see
no good reasons to account them separately
no good reasons to account them separately
...
...
net/ipv6/route.c
View file @
bb923b74
...
@@ -912,7 +912,7 @@ void rt6_redirect(struct in6_addr *dest, struct in6_addr *saddr,
...
@@ -912,7 +912,7 @@ void rt6_redirect(struct in6_addr *dest, struct in6_addr *saddr,
goto
out
;
goto
out
;
/*
/*
* RFC
1970
specifies that redirects should only be
* RFC
2461
specifies that redirects should only be
* accepted if they come from the nexthop to the target.
* accepted if they come from the nexthop to the target.
* Due to the way default routers are chosen, this notion
* Due to the way default routers are chosen, this notion
* is a bit fuzzy and one might need to check all default
* is a bit fuzzy and one might need to check all default
...
...
net/ipv6/sit.c
View file @
bb923b74
...
@@ -420,7 +420,7 @@ static int ipip6_rcv(struct sk_buff *skb)
...
@@ -420,7 +420,7 @@ static int ipip6_rcv(struct sk_buff *skb)
}
}
/* Returns the embedded IPv4 address if the IPv6 address
/* Returns the embedded IPv4 address if the IPv6 address
comes from 6to4 (
draft-ietf-ngtrans-6to4-04
) addr space */
comes from 6to4 (
RFC 3056
) addr space */
static
inline
u32
try_6to4
(
struct
in6_addr
*
v6dst
)
static
inline
u32
try_6to4
(
struct
in6_addr
*
v6dst
)
{
{
...
...
net/ipv6/udp.c
View file @
bb923b74
...
@@ -666,7 +666,7 @@ static int udpv6_rcv(struct sk_buff **pskb, unsigned int *nhoffp)
...
@@ -666,7 +666,7 @@ static int udpv6_rcv(struct sk_buff **pskb, unsigned int *nhoffp)
goto
short_packet
;
goto
short_packet
;
if
(
uh
->
check
==
0
)
{
if
(
uh
->
check
==
0
)
{
/*
IPv6 draft-v2
section 8.1 says that we SHOULD log
/*
RFC 2460
section 8.1 says that we SHOULD log
this error. Well, it is reasonable.
this error. Well, it is reasonable.
*/
*/
if
(
net_ratelimit
())
if
(
net_ratelimit
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment