Searched refs:udp_csum (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/include/net/ |
D | udp_tunnel.h | 165 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()
|
D | udp.h | 138 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum() function
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | xdpxceiver.c | 188 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/ |
D | xdpsock_user.c | 725 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/ |
D | udp.c | 1240 csum = udp_csum(skb); in udp_v6_send_skb()
|
/Linux-v5.15/net/ipv4/ |
D | udp.c | 958 csum = udp_csum(skb); in udp_send_skb()
|