Home
last modified time | relevance | path

Searched refs:is_udplite (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/include/net/
Dudp.h387 #define UDP_INC_STATS(net, field, is_udplite) do { \ argument
388 if (is_udplite) SNMP_INC_STATS((net)->mib.udplite_statistics, field); \
390 #define __UDP_INC_STATS(net, field, is_udplite) do { \ argument
391 if (is_udplite) __SNMP_INC_STATS((net)->mib.udplite_statistics, field); \
394 #define __UDP6_INC_STATS(net, field, is_udplite) do { \ argument
395 if (is_udplite) __SNMP_INC_STATS((net)->mib.udplite_stats_in6, field);\
/linux-6.1.9/net/ipv6/
Dudp.c347 int is_udplite = IS_UDPLITE(sk); in udpv6_recvmsg() local
381 (is_udplite && UDP_SKB_CB(skb)->partial_cov)) { in udpv6_recvmsg()
666 int is_udplite = IS_UDPLITE(sk); in __udpv6_queue_rcv_skb() local
672 UDP_MIB_RCVBUFERRORS, is_udplite); in __udpv6_queue_rcv_skb()
676 UDP_MIB_MEMERRORS, is_udplite); in __udpv6_queue_rcv_skb()
679 UDP6_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, is_udplite); in __udpv6_queue_rcv_skb()
698 int is_udplite = IS_UDPLITE(sk); in udpv6_queue_rcv_one_skb() local
732 is_udplite); in udpv6_queue_rcv_one_skb()
775 __UDP6_INC_STATS(sock_net(sk), UDP_MIB_CSUMERRORS, is_udplite); in udpv6_queue_rcv_one_skb()
777 __UDP6_INC_STATS(sock_net(sk), UDP_MIB_INERRORS, is_udplite); in udpv6_queue_rcv_one_skb()
[all …]
/linux-6.1.9/net/ipv4/
Dudp.c901 int is_udplite = IS_UDPLITE(sk); in udp_send_skb() local
932 if (skb->ip_summed != CHECKSUM_PARTIAL || is_udplite || in udp_send_skb()
947 if (is_udplite) /* UDP-Lite */ in udp_send_skb()
975 UDP_MIB_SNDBUFERRORS, is_udplite); in udp_send_skb()
980 UDP_MIB_OUTDATAGRAMS, is_udplite); in udp_send_skb()
1060 int err, is_udplite = IS_UDPLITE(sk); in udp_sendmsg() local
1076 getfrag = is_udplite ? udplite_getfrag : ip_generic_getfrag; in udp_sendmsg()
1311 UDP_MIB_SNDBUFERRORS, is_udplite); in udp_sendmsg()
1817 int is_udplite = IS_UDPLITE(sk); in udp_read_skb() local
1820 __UDP_INC_STATS(net, UDP_MIB_CSUMERRORS, is_udplite); in udp_read_skb()
[all …]