tag | line | file | source code |
uh | 71 | net/inet/udp.c | static void print_udp(struct udphdr *uh) |
uh | 76 | net/inet/udp.c | if (uh == NULL) |
uh | 81 | net/inet/udp.c | printk("UDP: source = %d, dest = %d\n", ntohs(uh->source), ntohs(uh->dest)); |
uh | 82 | net/inet/udp.c | printk(" len = %d, check = %d\n", ntohs(uh->len), ntohs(uh->check)); |
uh | 141 | net/inet/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, |
uh | 147 | net/inet/udp.c | uh, len, saddr, daddr)); |
uh | 149 | net/inet/udp.c | print_udp(uh); |
uh | 166 | net/inet/udp.c | : "=b"(sum) , "=S"(uh) |
uh | 167 | net/inet/udp.c | : "0"(sum), "c"(len/4) ,"1"(uh) |
uh | 186 | net/inet/udp.c | : "=b"(sum), "=S"(uh) |
uh | 187 | net/inet/udp.c | : "0"(sum) ,"1"(uh) |
uh | 199 | net/inet/udp.c | : "0"(sum) ,"S"(uh) |
uh | 212 | net/inet/udp.c | static void udp_send_check(struct udphdr *uh, unsigned long saddr, |
uh | 215 | net/inet/udp.c | uh->check = 0; |
uh | 218 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
uh | 219 | net/inet/udp.c | if (uh->check == 0) |
uh | 220 | net/inet/udp.c | uh->check = 0xffff; |
uh | 229 | net/inet/udp.c | struct udphdr *uh; |
uh | 283 | net/inet/udp.c | uh = (struct udphdr *) buff; |
uh | 284 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |
uh | 285 | net/inet/udp.c | uh->source = sk->dummy_th.source; |
uh | 286 | net/inet/udp.c | uh->dest = sin->sin_port; |
uh | 287 | net/inet/udp.c | buff = (unsigned char *) (uh + 1); |
uh | 293 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
uh | 500 | net/inet/udp.c | addr.sin_port = skb->h.uh->source; |
uh | 564 | net/inet/udp.c | struct udphdr *uh; |
uh | 566 | net/inet/udp.c | uh = (struct udphdr *) skb->h.uh; |
uh | 567 | net/inet/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
uh | 584 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) |
uh | 613 | net/inet/udp.c | print_udp(uh); |
uh | 619 | net/inet/udp.c | skb->len = len - sizeof(*uh); |
uh | 58 | net/socket/skbuff.h | struct udphdr *uh; |