Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/
Dudp_tunnel.h165 static inline int udp_tunnel_handle_offloads(struct sk_buff *skb, bool udp_csum) in udp_tunnel_handle_offloads() argument
167 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
/Linux-v5.15/tools/testing/selftests/bpf/
Dxdpxceiver.c188 static u16 udp_csum(u32 saddr, u32 daddr, u32 len, u8 proto, u16 *udp_pkt) in udp_csum() function
235 udp_csum(ip_hdr->saddr, ip_hdr->daddr, UDP_PKT_SIZE, IPPROTO_UDP, (u16 *)udp_hdr); in gen_udp_csum()
/Linux-v5.15/samples/bpf/
Dxdpsock_user.c725 static inline u16 udp_csum(u32 saddr, u32 daddr, u32 len, in udp_csum() function
791 udp_hdr->check = udp_csum(ip_hdr->saddr, ip_hdr->daddr, UDP_PKT_SIZE, in gen_eth_hdr_data()
/Linux-v5.15/net/ipv6/
Dudp.c1240 csum = udp_csum(skb); in udp_v6_send_skb()
/Linux-v5.15/net/ipv4/
Dudp.c958 csum = udp_csum(skb); in udp_send_skb()