Lines Matching defs:udp
77 #include <netinet/udp.h>
673 /* tcp(I) - pointer to TCP/UDP header */
901 udphdr_t *udp = NULL;
963 udp = (udphdr_t *)fin->fin_dp;
1018 * For both TCP and UDP, recalculate the layer 4 checksum,
1032 } else if ((udp != NULL) && (udp->uh_sum != 0)) {
1034 u_short sum = ntohs(udp->uh_sum);
1036 udp->uh_sum = htons(sum);
1038 udp->uh_sum = fr_cksum(fin, ip,
1039 IPPROTO_UDP, udp);