Lines Matching refs:udphdr
1002 struct udphdr uh;
1044 if (off + sizeof(struct udphdr) > m->m_pkthdr.len)
1110 struct udphdr uh;
1144 if (off + sizeof(struct udphdr) > m->m_pkthdr.len)
2840 struct udphdr *udp;
2847 if (state->m->m_len < hlen + sizeof(struct udphdr)) {
2848 state->m = m_pullup(state->m, hlen + sizeof(struct udphdr));
2857 udp = (struct udphdr *)(((u_int8_t *)ip) + hlen);
4084 struct udphdr *uh;
4103 uh = (struct udphdr*)((char*)m_mtod(m) + sizeof(struct ip));
4115 uh->uh_ulen = htons(1 + sizeof(struct udphdr));
4117 *(u_int8_t*)((char*)m_mtod(m) + sizeof(struct ip) + sizeof(struct udphdr)) = 0xFF;