Searched refs:udphdr (Results 1 - 25 of 99) sorted by relevance

1234

/freebsd-13-stable/sys/netinet/
H A Dudp.h43 struct udphdr { struct
H A Din_rss.c217 const struct udphdr *uh;
338 uh = (const struct udphdr *)((c_caddr_t)ip + iphlen);
339 if (m->m_len < iphlen + sizeof(struct udphdr)) {
H A Dtcp_timewait.c588 struct udphdr *udp = NULL;
607 udp = (struct udphdr *)(ip6 + 1);
608 hdrlen += sizeof(struct udphdr);
626 udp = (struct udphdr *)(ip + 1);
627 hdrlen += sizeof(struct udphdr);
669 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
691 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
H A Dtcp_lro.h121 struct udphdr *udp;
/freebsd-13-stable/sys/net/
H A Dif_gre.h59 struct udphdr gi_udp;
72 struct udphdr gi6_udp;
101 struct greudp *udphdr; member in union:gre_softc::__anon14864
128 #define gre_udphdr gre_uhdr.udphdr
141 void gre_update_udphdr(struct gre_softc *, struct udphdr *, uint16_t);
/freebsd-13-stable/cddl/lib/libdtrace/
H A Dudp.d51 struct udphdr *udp_hdr; /* raw UDP header */
70 translator udpinfo_t < struct udphdr *p > {
H A Dudplite.d71 translator udpliteinfo_t < struct udphdr *p > {
/freebsd-13-stable/tests/sys/netinet/libalias/
H A Dutil.c110 struct udphdr *
113 struct udphdr *u = (void *)&(up[p->ip_hl]);
H A D2_natout.c133 struct udphdr *ui, *uo;
175 struct udphdr *u;
205 struct udphdr *ui, *uo;
252 struct udphdr *u;
H A D3_natin.c47 struct udphdr *u;
149 struct udphdr *u;
232 struct udphdr *u;
307 struct udphdr *u;
337 struct udphdr *u;
/freebsd-13-stable/stand/libsa/
H A Dudp.c65 struct udphdr *uh;
82 uh = (struct udphdr *)pkt - 1;
113 struct udphdr *uh;
/freebsd-13-stable/sys/dev/ixgbe/
H A Dif_fdir.c87 struct udphdr *uh;
120 uh = (struct udphdr *)((caddr_t)ip + ip_hlen);
/freebsd-13-stable/sys/netgraph/netflow/
H A Dnetflow_v9.h112 #define _NETFLOW_V9_MAX_SIZE(x) (x) - sizeof(struct ip6_hdr) - sizeof(struct udphdr) - 16
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmip.h120 cvmip_udp_hdr_t udphdr; member in union:__anon9993
/freebsd-13-stable/tools/tools/net80211/wesside/dics/
H A Ddics.c165 struct udphdr* uh;
171 uh = (struct udphdr*) ((char*)iph + 20);
232 struct udphdr* uh;
258 uh = (struct udphdr*) ((char*)iph + 20);
/freebsd-13-stable/tools/tools/netmap/
H A Dpkt_hash.c46 /* udphdr */
160 const struct udphdr *udph = NULL;
171 udph = (const struct udphdr *)((const uint8_t *)iph + (iph->ip_hl<<2));
231 const struct udphdr *udph = NULL;
242 udph = (const struct udphdr *)(ipv6h + 1);
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-udp.c100 vat_print(netdissect_options *ndo, const void *hdr, register const struct udphdr *up)
139 register const struct udphdr *up)
302 register const struct udphdr *up,
310 const struct udphdr *up, u_int len)
373 register const struct udphdr *up;
382 up = (const struct udphdr *)bp;
396 if (length < sizeof(struct udphdr)) {
406 if (ulen < sizeof(struct udphdr)) {
411 ulen -= sizeof(struct udphdr);
412 length -= sizeof(struct udphdr);
[all...]
H A Dudp.h40 struct udphdr { struct
/freebsd-13-stable/sbin/dhclient/
H A Dpacket.c117 struct udphdr udp;
168 struct udphdr *udp;
180 udp = (struct udphdr *)(buf + bufix + ip_len);
/freebsd-13-stable/sys/netinet6/
H A Din6_rss.c221 const struct udphdr *uh;
361 if (m->m_len < off + sizeof(struct udphdr)) {
365 uh = (const struct udphdr *)((c_caddr_t)ip6 + off);
H A Dudp6_usrreq.c194 m_adj(n, off + sizeof(struct udphdr));
216 struct udphdr *uh;
232 if (m->m_len < off + sizeof(struct udphdr)) {
233 m = m_pullup(m, off + sizeof(struct udphdr));
241 uh = (struct udphdr *)((caddr_t)ip6 + off);
262 if ((ulen < sizeof(struct udphdr)) || (ulen > plen)) {
271 if ((ulen < sizeof(struct udphdr)) || (plen != ulen)) {
331 * here. We need udphdr for IPsec processing so we do that
549 struct udphdr uh;
705 struct udphdr *udp
[all...]
/freebsd-13-stable/sys/netipsec/
H A Dudpencap.c120 struct udphdr *udp;
215 struct udphdr *udp;
229 DPRINTF(("%s: m_makespace for udphdr failed\n", __func__));
257 off = offsetof(struct udphdr, uh_sum);
/freebsd-13-stable/sys/netgraph/
H A Dng_checksum.c376 struct udphdr *uh;
378 PULLUP_CHECK(m, sizeof(struct udphdr));
379 uh = (struct udphdr *) mtodo(m, l3_offset + hlen);
501 struct udphdr *uh;
503 PULLUP_CHECK(m, sizeof(struct udphdr));
504 uh = (struct udphdr *) mtodo(m, l3_offset + hlen);
/freebsd-13-stable/sys/netinet/libalias/
H A Dalias_local.h373 udp_next(struct udphdr *udphdr) argument
375 return ((void *)(udphdr + 1));
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_fw_log.c81 #define UDP(p) ((struct udphdr *)(p))
298 struct udphdr *udp;
319 udp = (struct udphdr *)(((char *)ip) + hlen);
324 udp = L3HDR(struct udphdr, ip);

Completed in 236 milliseconds

1234