tag | line | file | source code |
uh | 54 | include/linux/skbuff.h | struct udphdr *uh; |
uh | 153 | net/inet/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr) |
uh | 172 | net/inet/udp.c | : "=b"(sum) , "=S"(uh) |
uh | 173 | net/inet/udp.c | : "0"(sum), "c"(len/4) ,"1"(uh) |
uh | 198 | net/inet/udp.c | : "=b"(sum), "=S"(uh) |
uh | 199 | net/inet/udp.c | : "0"(sum) ,"1"(uh) |
uh | 214 | net/inet/udp.c | : "0"(sum) ,"S"(uh) |
uh | 231 | net/inet/udp.c | static void udp_send_check(struct udphdr *uh, unsigned long saddr, |
uh | 234 | net/inet/udp.c | uh->check = 0; |
uh | 237 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
uh | 244 | net/inet/udp.c | if (uh->check == 0) |
uh | 245 | net/inet/udp.c | uh->check = 0xffff; |
uh | 254 | net/inet/udp.c | struct udphdr *uh; |
uh | 304 | net/inet/udp.c | uh = (struct udphdr *) buff; |
uh | 305 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |
uh | 306 | net/inet/udp.c | uh->source = sk->dummy_th.source; |
uh | 307 | net/inet/udp.c | uh->dest = sin->sin_port; |
uh | 308 | net/inet/udp.c | buff = (unsigned char *) (uh + 1); |
uh | 320 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
uh | 497 | net/inet/udp.c | sin->sin_port = skb->h.uh->source; |
uh | 557 | net/inet/udp.c | struct udphdr *uh; |
uh | 563 | net/inet/udp.c | uh = (struct udphdr *) skb->h.uh; |
uh | 571 | net/inet/udp.c | ulen = ntohs(uh->len); |
uh | 573 | net/inet/udp.c | if (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) |
uh | 582 | net/inet/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
uh | 599 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) |
uh | 640 | net/inet/udp.c | skb->len = len - sizeof(*uh); |