Searched refs:UDP_HLEN (Results 1 – 8 of 8) sorted by relevance
31 #define UDP_HLEN (sizeof(struct udphdr)) macro147 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 …]
119 ptr += IPV4_HLEN(ptr) + UDP_HLEN; in ptp_parse_header()122 ptr += IP6_HLEN + UDP_HLEN; in ptp_parse_header()
55 #define UDP_HLEN 8 macro
205 header2 |= PKT_OFFLOAD_HDR2_SIZE_3(UDP_HLEN); in bcmasp_csum_offload()
286 offset = ETH_HLEN + IPV4_HLEN(data) + UDP_HLEN; in ixp_ptp_match()
368 return (struct vsc85xx_ptphdr *)(((unsigned char *)udphdr) + UDP_HLEN); in get_ptp_header_l4()
114 offset = ETH_HLEN + IPV4_HLEN(data) + UDP_HLEN; in pch_ptp_match()
3517 offset = ETH_HLEN + IPV4_HLEN(skb->data) + UDP_HLEN; in t4_systim_to_hwstamp()