tag | line | file | source code |
icmph | 111 | net/tcp/icmp.c | print_icmph (struct icmp_header *icmph) |
icmph | 113 | net/tcp/icmp.c | PRINTK ((" type = %d, code = %d, checksum = %X\n", icmph->type, |
icmph | 114 | net/tcp/icmp.c | icmph->code, icmph->checksum)); |
icmph | 115 | net/tcp/icmp.c | PRINTK ((" gateway = %X\n", icmph->un.gateway)); |
icmph | 125 | net/tcp/icmp.c | struct icmp_header *icmph; |
icmph | 164 | net/tcp/icmp.c | icmph = (struct icmp_header *)((unsigned char *)(skb+1) + offset); |
icmph | 165 | net/tcp/icmp.c | icmph->type = type; |
icmph | 166 | net/tcp/icmp.c | icmph->code = code; |
icmph | 167 | net/tcp/icmp.c | icmph->checksum = 0; /* we don't need to compute this. */ |
icmph | 168 | net/tcp/icmp.c | icmph->un.gateway = 0; /* might as well 0 it. */ |
icmph | 169 | net/tcp/icmp.c | memcpy (icmph+1, iph+1, 8); |
icmph | 183 | net/tcp/icmp.c | struct icmp_header *icmph, *icmphr; |
icmph | 198 | net/tcp/icmp.c | icmph = (struct icmp_header *)buff; |
icmph | 201 | net/tcp/icmp.c | if( icmph->checksum ) |
icmph | 203 | net/tcp/icmp.c | if( ip_compute_csum( (unsigned char *)icmph, len ) ) |
icmph | 213 | net/tcp/icmp.c | print_icmph(icmph); |
icmph | 216 | net/tcp/icmp.c | switch( icmph->type ) |
icmph | 226 | net/tcp/icmp.c | err = icmph->type << 8 | icmph->code; |
icmph | 230 | net/tcp/icmp.c | iph = (struct ip_header *)(icmph+1); |
icmph | 243 | net/tcp/icmp.c | ipprot->err_handler (err, (unsigned char *)(icmph+1), |
icmph | 259 | net/tcp/icmp.c | iph = (struct ip_header *)(icmph+1); |
icmph | 266 | net/tcp/icmp.c | if ((icmph->code & 1) == 0) rt->net &= 0x00ffffff; |
icmph | 268 | net/tcp/icmp.c | rt->router = icmph->un.gateway; |
icmph | 310 | net/tcp/icmp.c | memcpy( (char *)icmphr, (char *)icmph, len ); |
icmph | 315 | net/tcp/icmp.c | if( icmph->checksum ) |
icmph | 328 | net/tcp/icmp.c | PRINTK(("Unsupported ICMP type = x%x\n", icmph->type )); |