Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H 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 …]
/openbmc/linux/net/core/
H A Dptp_classifier.c119 ptr += IPV4_HLEN(ptr) + UDP_HLEN; in ptp_parse_header()
122 ptr += IP6_HLEN + UDP_HLEN; in ptp_parse_header()
/openbmc/linux/include/linux/
H A Dptp_classify.h55 #define UDP_HLEN 8 macro
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c205 header2 |= PKT_OFFLOAD_HDR2_SIZE_3(UDP_HLEN); in bcmasp_csum_offload()
/openbmc/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c286 offset = ETH_HLEN + IPV4_HLEN(data) + UDP_HLEN; in ixp_ptp_match()
/openbmc/linux/drivers/net/phy/mscc/
H A Dmscc_ptp.c368 return (struct vsc85xx_ptphdr *)(((unsigned char *)udphdr) + UDP_HLEN); in get_ptp_header_l4()
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c114 offset = ETH_HLEN + IPV4_HLEN(data) + UDP_HLEN; in pch_ptp_match()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c3517 offset = ETH_HLEN + IPV4_HLEN(skb->data) + UDP_HLEN; in t4_systim_to_hwstamp()