tag | line | file | source code |
uh | 178 | net/tcp/sock.h | struct udp_header *uh; |
uh | 97 | net/tcp/udp.c | print_uh(struct udp_header *uh) |
uh | 99 | net/tcp/udp.c | if (uh == NULL) |
uh | 104 | net/tcp/udp.c | PRINTK(("source = %d, dest = %d\n", net16(uh->source), net16(uh->dest))); |
uh | 105 | net/tcp/udp.c | PRINTK(("len = %d, check = %d\n", net16(uh->len), net16(uh->check))); |
uh | 175 | net/tcp/udp.c | udp_check (struct udp_header *uh, int len, |
uh | 180 | net/tcp/udp.c | uh, len, saddr, daddr)); |
uh | 182 | net/tcp/udp.c | print_uh (uh); |
uh | 200 | net/tcp/udp.c | : "=b" (sum) , "=S" (uh) |
uh | 201 | net/tcp/udp.c | : "0" (sum), "c" (len/4) ,"1" (uh) |
uh | 222 | net/tcp/udp.c | : "=b" (sum), "=S" (uh) |
uh | 223 | net/tcp/udp.c | : "0" (sum) ,"1" (uh) |
uh | 235 | net/tcp/udp.c | : "0" (sum) ,"S" (uh) |
uh | 244 | net/tcp/udp.c | udp_send_check (struct udp_header *uh, unsigned long saddr, |
uh | 247 | net/tcp/udp.c | uh->check = 0; |
uh | 249 | net/tcp/udp.c | uh->check = udp_check (uh, len, saddr, daddr); |
uh | 257 | net/tcp/udp.c | struct udp_header *uh; |
uh | 270 | net/tcp/udp.c | sizeof (*skb) + sizeof (*uh) + len + 4, |
uh | 277 | net/tcp/udp.c | skb->mem_len = sizeof (*skb) + len + sizeof (*uh) + 4; |
uh | 285 | net/tcp/udp.c | uh = skb->h.uh; |
uh | 286 | net/tcp/udp.c | uh -> source = sk->dummy_th.source; |
uh | 287 | net/tcp/udp.c | uh -> dest = port; |
uh | 288 | net/tcp/udp.c | uh -> len = len + sizeof (*uh); |
uh | 290 | net/tcp/udp.c | memcpy_fromfs(uh+1, from, len); |
uh | 319 | net/tcp/udp.c | struct udp_header *uh; |
uh | 427 | net/tcp/udp.c | amt = min (len + tmp + sizeof (*uh), dev->mtu); |
uh | 435 | net/tcp/udp.c | uh = (struct udp_header *)buff; |
uh | 436 | net/tcp/udp.c | uh->len = net16(amt); |
uh | 437 | net/tcp/udp.c | uh->source = sk->dummy_th.source; |
uh | 438 | net/tcp/udp.c | uh->dest = sin.sin_port; |
uh | 440 | net/tcp/udp.c | amt -= sizeof (*uh); |
uh | 441 | net/tcp/udp.c | buff += sizeof (*uh); |
uh | 455 | net/tcp/udp.c | udp_send_check (uh, saddr, sin.sin_addr.s_addr, |
uh | 456 | net/tcp/udp.c | amt+sizeof (*uh), sk); |
uh | 592 | net/tcp/udp.c | addr.sin_port = skb->h.uh->source; |
uh | 649 | net/tcp/udp.c | struct udp_header *uh; |
uh | 651 | net/tcp/udp.c | uh = (struct udp_header *) skb->h.uh; |
uh | 655 | net/tcp/udp.c | sk = get_sock (prot, net16(uh->dest), saddr, uh->source, daddr); |
uh | 673 | net/tcp/udp.c | if (uh->check && udp_check (uh, len, saddr, daddr)) |
uh | 742 | net/tcp/udp.c | skb->len = len - sizeof (*uh); |