Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Dudp_tunnel.h161 static inline int udp_tunnel_handle_offloads(struct sk_buff *skb, bool udp_csum) in udp_tunnel_handle_offloads() argument
163 int type = udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; in udp_tunnel_handle_offloads()
Dudp.h138 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum() function
/kernel/linux/linux-5.10/samples/bpf/
Dxdpsock_user.c715 static inline u16 udp_csum(u32 saddr, u32 daddr, u32 len, in udp_csum() function
781 udp_hdr->check = udp_csum(ip_hdr->saddr, ip_hdr->daddr, UDP_PKT_SIZE, in gen_eth_hdr_data()
/kernel/linux/linux-5.10/net/ipv6/
Dudp.c1247 csum = udp_csum(skb); in udp_v6_send_skb()
/kernel/linux/linux-5.10/net/ipv4/
Dudp.c956 csum = udp_csum(skb); in udp_send_skb()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch45364 + __sum16 udp_csum;
45372 + udp_csum = csum_fold(csum);
45373 + if (udp_csum == 0)
45374 + udp_csum = CSUM_MANGLED_0;
45376 + *(__sum16 *)(skb->data + offset) = udp_csum;
48495 + __sum16 udp_csum;
48504 + udp_csum = csum_fold(csum);
48505 + if (udp_csum == 0)
48506 + udp_csum = CSUM_MANGLED_0;
48508 + *(__sum16 *)(skb->data + offset) = udp_csum;
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch338336 + __sum16 udp_csum;
338344 + udp_csum = csum_fold(csum);
338345 + if (udp_csum == 0)
338346 + udp_csum = CSUM_MANGLED_0;
338348 + *(__sum16 *)(skb->data + offset) = udp_csum;
341460 + __sum16 udp_csum;
341469 + udp_csum = csum_fold(csum);
341470 + if (udp_csum == 0)
341471 + udp_csum = CSUM_MANGLED_0;
341473 + *(__sum16 *)(skb->data + offset) = udp_csum;