tag | line | file | source code |
icmph | 72 | net/inet/icmp.c | print_icmp(struct icmphdr *icmph) |
icmph | 78 | net/inet/icmp.c | icmph->type, icmph->code, icmph->checksum); |
icmph | 79 | net/inet/icmp.c | printk(" gateway = %s\n", in_ntoa(icmph->un.gateway)); |
icmph | 96 | net/inet/icmp.c | struct icmphdr *icmph; |
icmph | 133 | net/inet/icmp.c | icmph = (struct icmphdr *) ((unsigned char *) (skb + 1) + offset); |
icmph | 134 | net/inet/icmp.c | icmph->type = type; |
icmph | 135 | net/inet/icmp.c | icmph->code = code; |
icmph | 136 | net/inet/icmp.c | icmph->checksum = 0; |
icmph | 137 | net/inet/icmp.c | icmph->un.gateway = 0; |
icmph | 138 | net/inet/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
icmph | 140 | net/inet/icmp.c | icmph->checksum = ip_compute_csum((unsigned char *)icmph, |
icmph | 145 | net/inet/icmp.c | print_icmp(icmph); |
icmph | 156 | net/inet/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb) |
icmph | 163 | net/inet/icmp.c | err = (icmph->type << 8) | icmph->code; |
icmph | 164 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 165 | net/inet/icmp.c | switch(icmph->code & 7) |
icmph | 192 | net/inet/icmp.c | (icmph->code & 7), in_ntoa(iph->daddr))); |
icmph | 210 | net/inet/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
icmph | 225 | net/inet/icmp.c | static void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev) |
icmph | 230 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 232 | net/inet/icmp.c | switch(icmph->code & 7) |
icmph | 236 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev); |
icmph | 240 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev); |
icmph | 248 | net/inet/icmp.c | (icmph->code & 7))); |
icmph | 257 | net/inet/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 293 | net/inet/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 311 | net/inet/icmp.c | static void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 325 | net/inet/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 364 | net/inet/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmph | 365 | net/inet/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmph | 386 | net/inet/icmp.c | struct icmphdr *icmph; |
icmph | 400 | net/inet/icmp.c | icmph = (struct icmphdr *) buff; |
icmph | 403 | net/inet/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) |
icmph | 412 | net/inet/icmp.c | print_icmp(icmph); |
icmph | 415 | net/inet/icmp.c | switch(icmph->type) |
icmph | 420 | net/inet/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 423 | net/inet/icmp.c | icmp_redirect(icmph, skb1, dev); |
icmph | 426 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 433 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 440 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 449 | net/inet/icmp.c | in_ntoa(saddr), icmph->type)); |