Home
last modified time | relevance | path

Searched refs:UDP_HLEN (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/net/
A Dip_defrag.c31 #define UDP_HLEN (sizeof(struct udphdr)) macro
147 udphdr.len = htons(UDP_HLEN + payload_len); in send_fragment()
153 memcpy(frag_start, &udphdr, UDP_HLEN); in send_fragment()
169 memcpy(frag_start + UDP_HLEN, udp_payload, in send_fragment()
170 frag_len - FRAG_HLEN - UDP_HLEN); in send_fragment()
187 memcpy(frag_start + UDP_HLEN, udp_payload, in send_fragment()
188 frag_len - IP4_HLEN - UDP_HLEN); in send_fragment()
247 while (offset < (UDP_HLEN + payload_len)) { in send_udp_frags()
277 while (offset < (UDP_HLEN + payload_len)) { in send_udp_frags()
297 frag_len = UDP_HLEN + max_frag_len; in send_udp_frags()
[all …]
/linux-6.3-rc2/net/core/
A Dptp_classifier.c119 ptr += IPV4_HLEN(ptr) + UDP_HLEN; in ptp_parse_header()
122 ptr += IP6_HLEN + UDP_HLEN; in ptp_parse_header()
/linux-6.3-rc2/include/linux/
A Dptp_classify.h55 #define UDP_HLEN 8 macro
/linux-6.3-rc2/drivers/net/ethernet/xscale/
A Dixp4xx_eth.c286 offset = ETH_HLEN + IPV4_HLEN(data) + UDP_HLEN; in ixp_ptp_match()
/linux-6.3-rc2/drivers/net/phy/mscc/
A Dmscc_ptp.c368 return (struct vsc85xx_ptphdr *)(((unsigned char *)udphdr) + UDP_HLEN); in get_ptp_header_l4()
/linux-6.3-rc2/drivers/net/ethernet/oki-semi/pch_gbe/
A Dpch_gbe_main.c114 offset = ETH_HLEN + IPV4_HLEN(data) + UDP_HLEN; in pch_ptp_match()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dsge.c3517 offset = ETH_HLEN + IPV4_HLEN(skb->data) + UDP_HLEN; in t4_systim_to_hwstamp()

Completed in 26 milliseconds