| /f-stack/dpdk/examples/bpf/ |
| H A D | t1.c | 50 struct udphdr *udphdr = (void *)iphdr + hlen; in entry() local 52 if (udphdr->dest != htons(5000)) in entry()
|
| /f-stack/freebsd/net/ |
| H A D | if_gre.h | 59 struct udphdr gi_udp; 72 struct udphdr gi6_udp; 101 struct greudp *udphdr; member 128 #define gre_udphdr gre_uhdr.udphdr 141 void gre_update_udphdr(struct gre_softc *, struct udphdr *, uint16_t);
|
| H A D | if_gre.c | 463 gre_update_udphdr(struct gre_softc *sc, struct udphdr *udp, uint16_t csum) in gre_update_udphdr() 696 struct udphdr *uh; 767 uh = (struct udphdr *)mtodo(m, len); 776 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum); 777 len += sizeof(struct udphdr);
|
| /f-stack/tools/compat/include/net/ |
| H A D | if_gre.h | 59 struct udphdr gi_udp; 72 struct udphdr gi6_udp; 101 struct greudp *udphdr; member 128 #define gre_udphdr gre_uhdr.udphdr 141 void gre_update_udphdr(struct gre_softc *, struct udphdr *, uint16_t);
|
| /f-stack/freebsd/netinet6/ |
| H A D | udp6_usrreq.c | 194 m_adj(n, off + sizeof(struct udphdr)); in udp6_append() 216 struct udphdr *uh; in udp6_input() 232 if (m->m_len < off + sizeof(struct udphdr)) { in udp6_input() 233 m = m_pullup(m, off + sizeof(struct udphdr)); in udp6_input() 241 uh = (struct udphdr *)((caddr_t)ip6 + off); in udp6_input() 262 if ((ulen < sizeof(struct udphdr)) || (ulen > plen)) { in udp6_input() 549 struct udphdr uh; in udp6_common_ctlinput() 705 struct udphdr *udp6; in udp6_output() 890 plen = sizeof(struct udphdr) + ulen; in udp6_output() 897 M_PREPEND(m, hlen + sizeof(struct udphdr), M_NOWAIT); in udp6_output() [all …]
|
| H A D | in6_rss.c | 221 const struct udphdr *uh; in rss_mbuf_software_hash_v6() 361 if (m->m_len < off + sizeof(struct udphdr)) { in rss_mbuf_software_hash_v6() 365 uh = (const struct udphdr *)((c_caddr_t)ip6 + off); in rss_mbuf_software_hash_v6()
|
| /f-stack/freebsd/netipsec/ |
| H A D | udpencap.c | 120 struct udphdr *udp; in udp_ipsec_input() 215 struct udphdr *udp; in udp_ipsec_output() 257 off = offsetof(struct udphdr, uh_sum); in udp_ipsec_adjust_cksum()
|
| H A D | ipsec.c | 520 struct udphdr uh; in ipsec4_get_ulp() 537 if (off + sizeof(struct udphdr) > m->m_pkthdr.len) in ipsec4_get_ulp() 681 struct udphdr uh; in ipsec6_get_ulp() 713 if (off + sizeof(struct udphdr) > m->m_pkthdr.len) in ipsec6_get_ulp()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_rss.c | 217 const struct udphdr *uh; in rss_mbuf_software_hash_v4() 338 uh = (const struct udphdr *)((c_caddr_t)ip + iphlen); in rss_mbuf_software_hash_v4() 339 if (m->m_len < iphlen + sizeof(struct udphdr)) { in rss_mbuf_software_hash_v4()
|
| H A D | udp.h | 43 struct udphdr { struct
|
| H A D | udp_usrreq.c | 326 off += sizeof(struct udphdr); in udp_append() 396 struct udphdr *uh; in udp_input() 426 if (m->m_len < iphlen + sizeof(struct udphdr)) { in udp_input() 433 uh = (struct udphdr *)((caddr_t)ip + iphlen); in udp_input() 469 if (len > ip_len || len < sizeof(struct udphdr)) { in udp_input() 784 struct udphdr *uh; in udp_common_ctlinput() 809 uh = (struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2)); in udp_common_ctlinput() 1411 ui->ui_ulen = htons((u_short)len + sizeof(struct udphdr)); in udp_output() 1418 plen = (u_short)len + sizeof(struct udphdr); in udp_output() 1469 htons((u_short)len + sizeof(struct udphdr) + pr)); in udp_output() [all …]
|
| H A D | udp_var.h | 44 struct udphdr ui_u; /* udp header */
|
| H A D | ip_output.c | 1062 struct udphdr *uh; in in_delayed_cksum() 1070 if (offset + sizeof(struct udphdr) > m->m_len) { in in_delayed_cksum() 1071 m_copydata(m, offset + offsetof(struct udphdr, in in_delayed_cksum() 1075 uh = (struct udphdr *)mtodo(m, offset); in in_delayed_cksum()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_checksum.c | 376 struct udphdr *uh; in checksum_ipv4() 378 PULLUP_CHECK(m, sizeof(struct udphdr)); in checksum_ipv4() 379 uh = (struct udphdr *) mtodo(m, l3_offset + hlen); in checksum_ipv4() 501 struct udphdr *uh; in checksum_ipv6() 503 PULLUP_CHECK(m, sizeof(struct udphdr)); in checksum_ipv6() 504 uh = (struct udphdr *) mtodo(m, l3_offset + hlen); in checksum_ipv6()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | udp.h | 43 struct udphdr { struct
|
| H A D | udp_var.h | 44 struct udphdr ui_u; /* udp header */
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_log.c | 81 #define UDP(p) ((struct udphdr *)(p)) 300 struct udphdr *udp; in ipfw_log() 321 udp = (struct udphdr *)(((char *)ip) + hlen); in ipfw_log() 326 udp = L3HDR(struct udphdr, ip); in ipfw_log()
|
| H A D | dn_sched_fq_codel.c | 220 struct udphdr *uh; in fq_codel_classify_flow() 245 uh = (struct udphdr *)(ip6 + 1); in fq_codel_classify_flow() 272 uh = (struct udphdr *)(ip + 1); in fq_codel_classify_flow()
|
| H A D | dn_sched_fq_pie.c | 789 struct udphdr *uh; in fq_pie_classify_flow() 814 uh = (struct udphdr *)(ip6 + 1); in fq_pie_classify_flow() 841 uh = (struct udphdr *)(ip + 1); in fq_pie_classify_flow()
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias.c | 344 struct udphdr *ud; in IcmpAliasIn2() 351 ud = (struct udphdr *)ip_next(ip); in IcmpAliasIn2() 531 struct udphdr *ud; in IcmpAliasOut2() 539 ud = (struct udphdr *)ip_next(ip); in IcmpAliasOut2() 730 struct udphdr *ud; in UdpAliasIn() 737 if (dlen < sizeof(struct udphdr)) in UdpAliasIn() 740 ud = (struct udphdr *)ip_next(pip); in UdpAliasIn() 824 struct udphdr *ud; in UdpAliasOut() 838 if (dlen < sizeof(struct udphdr)) in UdpAliasOut() 841 ud = (struct udphdr *)ip_next(pip); in UdpAliasOut() [all …]
|
| H A D | alias_local.h | 405 udp_next(struct udphdr *udphdr) in udp_next() argument 407 return ((void *)(udphdr + 1)); in udp_next()
|
| H A D | alias_nbt.c | 342 struct udphdr *uh; in AliasHandleUdpNbt() 354 uh = (struct udphdr *)ip_next(pip); in AliasHandleUdpNbt() 787 struct udphdr *uh; in AliasHandleUdpNbtNS() 803 uh = (struct udphdr *)ip_next(pip); in AliasHandleUdpNbtNS()
|
| /f-stack/freebsd/netgraph/netflow/ |
| H A D | netflow_v9.h | 112 #define _NETFLOW_V9_MAX_SIZE(x) (x) - sizeof(struct ip6_hdr) - sizeof(struct udphdr) - 16
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmip.h | 120 cvmip_udp_hdr_t udphdr; member
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.h | 81 #define UDP(p) ((struct udphdr *)(p))
|