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

123

/freebsd-11.0-release/sys/netinet/
H A Dudp.h41 struct udphdr { struct
H A Din_rss.c175 const struct udphdr *uh;
296 uh = (const struct udphdr *)((c_caddr_t)ip + iphlen);
297 if (m->m_len < iphlen + sizeof(struct udphdr)) {
H A Dudp_usrreq.c334 off += sizeof(struct udphdr);
396 struct udphdr *uh;
427 if (m->m_len < iphlen + sizeof(struct udphdr)) {
428 if ((m = m_pullup(m, iphlen + sizeof(struct udphdr))) == NULL) {
434 uh = (struct udphdr *)((caddr_t)ip + iphlen);
466 if (len > ip_len || len < sizeof(struct udphdr)) {
763 struct udphdr *uh;
788 uh = (struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2));
1426 ui->ui_ulen = htons((u_short)len + sizeof(struct udphdr));
1433 plen = (u_short)len + sizeof(struct udphdr);
1590 struct udphdr *udphdr; local
[all...]
H A Dudp_var.h42 struct udphdr ui_u; /* udp header */
/freebsd-11.0-release/contrib/tcpdump/
H A Dudp.h40 struct udphdr { struct
H A Dprint-udp.c99 vat_print(netdissect_options *ndo, const void *hdr, register const struct udphdr *up)
126 register const struct udphdr *up)
277 register const struct udphdr *up,
285 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up,
353 register const struct udphdr *up;
364 up = (struct udphdr *)bp;
381 if (length < sizeof(struct udphdr)) {
387 if (ulen < sizeof(struct udphdr)) {
392 ulen -= sizeof(struct udphdr);
393 length -= sizeof(struct udphdr);
[all...]
/freebsd-11.0-release/cddl/lib/libdtrace/
H A Dudp.d51 struct udphdr *udp_hdr; /* raw UDP header */
70 translator udpinfo_t < struct udphdr *p > {
/freebsd-11.0-release/sys/netinet/libalias/
H A Dalias_cuseeme.c178 struct udphdr *ud = ip_next(pip);
180 if (ntohs(ud->uh_ulen) - sizeof(struct udphdr) >= sizeof(struct cu_header)) {
202 struct udphdr *ud;
H A Dalias_local.h398 udp_next(struct udphdr *udphdr) argument
400 return ((void *)(udphdr + 1));
H A Dalias_nbt.c343 struct udphdr *uh;
352 uh = (struct udphdr *)ip_next(pip);
772 struct udphdr *uh;
788 uh = (struct udphdr *)ip_next(pip);
H A Dalias.c348 struct udphdr *ud;
355 ud = (struct udphdr *)ip_next(ip);
529 struct udphdr *ud;
537 ud = (struct udphdr *)ip_next(ip);
728 struct udphdr *ud;
733 ud = (struct udphdr *)ip_next(pip);
815 struct udphdr *ud;
827 ud = (struct udphdr *)ip_next(pip);
880 ud = (struct udphdr *)ip_next(pip);
1540 struct udphdr *u
[all...]
/freebsd-11.0-release/lib/libstand/
H A Dudp.c69 struct udphdr *uh;
84 uh = (struct udphdr *)pkt - 1;
146 struct udphdr *uh;
154 uh = (struct udphdr *)pkt - 1;
H A Dtftp.c213 struct udphdr *uh;
214 uh = (struct udphdr *) pkt - 1;
232 struct udphdr *uh;
247 uh = (struct udphdr *) pkt - 1;
/freebsd-11.0-release/sys/netinet6/
H A Dudp6_usrreq.c177 m_adj(n, off + sizeof(struct udphdr));
199 struct udphdr *uh;
215 IP6_EXTHDR_CHECK(m, off, sizeof(struct udphdr), IPPROTO_DONE);
217 uh = (struct udphdr *)((caddr_t)ip6 + off);
219 IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(*uh));
243 if ((ulen < sizeof(struct udphdr)) || (ulen > plen)) {
252 if ((ulen < sizeof(struct udphdr)) || (plen != ulen)) {
303 * here. We need udphdr for IPsec processing so we do that
501 struct udphdr uh;
651 u_int32_t plen = sizeof(struct udphdr)
[all...]
H A Din6_rss.c177 const struct udphdr *uh;
317 if (m->m_len < off + sizeof(struct udphdr)) {
321 uh = (const struct udphdr *)((c_caddr_t)ip6 + off);
/freebsd-11.0-release/sys/netgraph/netflow/
H A Dnetflow_v9.h110 #define _NETFLOW_V9_MAX_SIZE(x) (x) - sizeof(struct ip6_hdr) - sizeof(struct udphdr) - 16
/freebsd-11.0-release/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-11.0-release/sys/contrib/octeon-sdk/
H A Dcvmip.h120 cvmip_udp_hdr_t udphdr; member in union:__anon8409
/freebsd-11.0-release/sbin/dhclient/
H A Dpacket.c115 struct udphdr udp;
166 struct udphdr *udp;
178 udp = (struct udphdr *)(buf + bufix + ip_len);
/freebsd-11.0-release/contrib/wpa/src/ap/
H A Ddhcp_snoop.c23 struct udphdr udph;
/freebsd-11.0-release/contrib/ipfilter/ipsd/Celler/
H A Dip_compat.h192 typedef struct udphdr udphdr_t;
/freebsd-11.0-release/contrib/ipfilter/ipsend/.OLD/
H A Dip_compat.h233 typedef struct udphdr udphdr_t;
/freebsd-11.0-release/sys/netpfil/ipfw/
H A Dip_fw_log.c85 #define UDP(p) ((struct udphdr *)(p))
445 struct udphdr *udp;
466 udp = (struct udphdr *)(((char *)ip) + hlen);
471 udp = L3HDR(struct udphdr, ip);
/freebsd-11.0-release/contrib/ipfilter/ipsend/
H A Dipsend.c65 void udpcksum(ip_t *, struct udphdr *, int);
164 udpcksum(ip_t *ip, struct udphdr *udp, int len)
/freebsd-11.0-release/usr.sbin/ppp/
H A Dip.c303 const struct udphdr *uh;
353 uh = (const struct udphdr *)payload;
496 ip_LogDNS(const struct udphdr *uh, const char *direction)
567 const struct udphdr *uh;
650 uh = (const struct udphdr *)payload;
802 uh = (const struct udphdr *)payload;

Completed in 227 milliseconds

123