Home | History | Annotate | Download | only in kern

Lines Matching defs:udp

53 #include <netinet/udp.h>
198 return("UDP");
946 struct udphdr udp;
949 if (pktlen < sizeof(udp)) {
951 pktlen, sizeof(udp));
955 if (m_peek_data(m, off, sizeof(udp), (void *)(&udp)) < 0) {
959 off += sizeof(udp);
961 (*pr)("UDP: Src = %u\n", ntohs(udp.uh_sport));
962 (*pr)("UDP: Dst = %u\n", ntohs(udp.uh_dport));
963 (*pr)("UDP: Length = %u\n", ntohs(udp.uh_ulen));