tag | line | file | source code |
uh | 55 | include/linux/skbuff.h | struct udphdr *uh; |
uh | 83 | net/inet/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len); |
uh | 155 | net/inet/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr) |
uh | 174 | net/inet/udp.c | : "=b"(sum) , "=S"(uh) |
uh | 175 | net/inet/udp.c | : "0"(sum), "c"(len/4) ,"1"(uh) |
uh | 200 | net/inet/udp.c | : "=b"(sum), "=S"(uh) |
uh | 201 | net/inet/udp.c | : "0"(sum) ,"1"(uh) |
uh | 216 | net/inet/udp.c | : "0"(sum) ,"S"(uh) |
uh | 233 | net/inet/udp.c | static void udp_send_check(struct udphdr *uh, unsigned long saddr, |
uh | 236 | net/inet/udp.c | uh->check = 0; |
uh | 239 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
uh | 246 | net/inet/udp.c | if (uh->check == 0) |
uh | 247 | net/inet/udp.c | uh->check = 0xffff; |
uh | 256 | net/inet/udp.c | struct udphdr *uh; |
uh | 313 | net/inet/udp.c | uh = (struct udphdr *) buff; |
uh | 314 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |
uh | 315 | net/inet/udp.c | uh->source = sk->dummy_th.source; |
uh | 316 | net/inet/udp.c | uh->dest = sin->sin_port; |
uh | 317 | net/inet/udp.c | buff = (unsigned char *) (uh + 1); |
uh | 329 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
uh | 506 | net/inet/udp.c | sin->sin_port = skb->h.uh->source; |
uh | 572 | net/inet/udp.c | struct udphdr *uh; |
uh | 582 | net/inet/udp.c | uh = (struct udphdr *) skb->h.uh; |
uh | 590 | net/inet/udp.c | ulen = ntohs(uh->len); |
uh | 592 | net/inet/udp.c | if (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) |
uh | 600 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) |
uh | 618 | net/inet/udp.c | sk=get_sock_mcast(udp_prot.sock_array[ntohs(uh->dest)&(SOCK_ARRAY_SIZE-1)], uh->dest, |
uh | 619 | net/inet/udp.c | saddr, uh->source, daddr); |
uh | 626 | net/inet/udp.c | sknext=get_sock_mcast(sk->next, uh->dest, saddr, uh->source, daddr); |
uh | 632 | net/inet/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
uh | 642 | net/inet/udp.c | sk = get_sock(&udp_prot, uh->dest, saddr, uh->source, daddr); |
uh | 659 | net/inet/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
uh | 662 | net/inet/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len) |
uh | 680 | net/inet/udp.c | skb->len = len - sizeof(*uh); |