tag | line | file | source code |
ufh | 233 | net/ipv4/udp.c | struct udpfakehdr *ufh = (struct udpfakehdr *)p; |
ufh | 241 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
ufh | 247 | net/ipv4/udp.c | src = ufh->from; |
ufh | 250 | net/ipv4/udp.c | ufh->wcheck = csum_partial_copy_fromuser(src, dst, len, ufh->wcheck); |
ufh | 253 | net/ipv4/udp.c | ufh->wcheck = csum_partial((char *)ufh, sizeof(struct udphdr), |
ufh | 254 | net/ipv4/udp.c | ufh->wcheck); |
ufh | 255 | net/ipv4/udp.c | ufh->uh.check = csum_tcpudp_magic(saddr, ufh->daddr, |
ufh | 256 | net/ipv4/udp.c | ntohs(ufh->uh.len), |
ufh | 257 | net/ipv4/udp.c | IPPROTO_UDP, ufh->wcheck); |
ufh | 258 | net/ipv4/udp.c | if (ufh->uh.check == 0) |
ufh | 259 | net/ipv4/udp.c | ufh->uh.check = -1; |
ufh | 260 | net/ipv4/udp.c | memcpy(to, ufh, sizeof(struct udphdr)); |
ufh | 273 | net/ipv4/udp.c | struct udpfakehdr *ufh = (struct udpfakehdr *)p; |
ufh | 281 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
ufh | 287 | net/ipv4/udp.c | src = ufh->from; |
ufh | 292 | net/ipv4/udp.c | memcpy(to, ufh, sizeof(struct udphdr)); |
ufh | 306 | net/ipv4/udp.c | struct udpfakehdr ufh; |
ufh | 311 | net/ipv4/udp.c | ufh.uh.source = sk->dummy_th.source; |
ufh | 312 | net/ipv4/udp.c | ufh.uh.dest = sin->sin_port; |
ufh | 313 | net/ipv4/udp.c | ufh.uh.len = htons(ulen); |
ufh | 314 | net/ipv4/udp.c | ufh.uh.check = 0; |
ufh | 315 | net/ipv4/udp.c | ufh.daddr = sin->sin_addr.s_addr; |
ufh | 316 | net/ipv4/udp.c | ufh.other = (htons(ulen) << 16) + IPPROTO_UDP*256; |
ufh | 317 | net/ipv4/udp.c | ufh.from = from; |
ufh | 318 | net/ipv4/udp.c | ufh.wcheck = 0; |
ufh | 326 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag_nosum, &ufh, ulen, |
ufh | 329 | net/ipv4/udp.c | a = ip_build_xmit(sk, udp_getfrag, &ufh, ulen, |