Lines Matching defs:udphdr
2760 struct udp_hdr *udphdr = NULL;
2831 udphdr = (struct udp_hdr *)udpbuf->payload;
2832 if ((ntohs(udphdr->dest) == udppcb->remote_port) && (ntohs(udphdr->src) == udppcb->local_port)) {
2833 if (ntohs(udphdr->len) > UDP_HLEN) {
2834 sendLen = ntohs(udphdr->len) - UDP_HLEN;
2852 struct udp_hdr *udphdr = NULL;
2883 udphdr = (struct udp_hdr *)udpbuf->payload;
2884 if ((ntohs(udphdr->dest) == udppcb->remote_port) && (ntohs(udphdr->src) == udppcb->local_port)) {
2885 sendLen = ntohs(udphdr->len) - UDP_HLEN;