input.c (85c5ed4e44a262344ce43b4bf23204107923ca95) input.c (b71d1d426d263b0b6cb5760322efebbfc89d4463)
1/* SCTP kernel implementation
2 * Copyright (c) 1999-2000 Cisco, Inc.
3 * Copyright (c) 1999-2001 Motorola, Inc.
4 * Copyright (c) 2001-2003 International Business Machines, Corp.
5 * Copyright (c) 2001 Intel Corp.
6 * Copyright (c) 2001 Nokia, Inc.
7 * Copyright (c) 2001 La Monte H.P. Yarroll
8 *

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

560 * someone else accesses the socket the ICMP is just dropped
561 * and for some paths there is no check at all.
562 * A more general error queue to queue errors for later handling
563 * is probably better.
564 *
565 */
566void sctp_v4_err(struct sk_buff *skb, __u32 info)
567{
1/* SCTP kernel implementation
2 * Copyright (c) 1999-2000 Cisco, Inc.
3 * Copyright (c) 1999-2001 Motorola, Inc.
4 * Copyright (c) 2001-2003 International Business Machines, Corp.
5 * Copyright (c) 2001 Intel Corp.
6 * Copyright (c) 2001 Nokia, Inc.
7 * Copyright (c) 2001 La Monte H.P. Yarroll
8 *

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

560 * someone else accesses the socket the ICMP is just dropped
561 * and for some paths there is no check at all.
562 * A more general error queue to queue errors for later handling
563 * is probably better.
564 *
565 */
566void sctp_v4_err(struct sk_buff *skb, __u32 info)
567{
568 struct iphdr *iph = (struct iphdr *)skb->data;
568 const struct iphdr *iph = (const struct iphdr *)skb->data;
569 const int ihlen = iph->ihl * 4;
570 const int type = icmp_hdr(skb)->type;
571 const int code = icmp_hdr(skb)->code;
572 struct sock *sk;
573 struct sctp_association *asoc = NULL;
574 struct sctp_transport *transport;
575 struct inet_sock *inet;
576 sk_buff_data_t saveip, savesctp;

--- 563 unchanged lines hidden ---
569 const int ihlen = iph->ihl * 4;
570 const int type = icmp_hdr(skb)->type;
571 const int code = icmp_hdr(skb)->code;
572 struct sock *sk;
573 struct sctp_association *asoc = NULL;
574 struct sctp_transport *transport;
575 struct inet_sock *inet;
576 sk_buff_data_t saveip, savesctp;

--- 563 unchanged lines hidden ---