Home
last modified time | relevance | path

Searched refs:udplen (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/netfilter/
Dnf_conntrack_proto_udp.c48 unsigned int udplen = skb->len - dataoff; in udp_error() local
60 if (ntohs(hdr->len) > udplen || ntohs(hdr->len) < sizeof(*hdr)) { in udp_error()
142 unsigned int udplen = skb->len - dataoff; in udplite_error() local
156 cscov = udplen; in udplite_error()
157 } else if (cscov < sizeof(*hdr) || cscov > udplen) { in udplite_error()
/linux-6.1.9/net/core/
Dpktgen.c2994 int datalen, udplen; in fill_packet_ipv6() local
3071 udplen = datalen + sizeof(struct udphdr); in fill_packet_ipv6()
3074 udph->len = htons(udplen); in fill_packet_ipv6()
3086 iph->payload_len = htons(udplen); in fill_packet_ipv6()
3104 udph->check = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, udplen, IPPROTO_UDP, 0); in fill_packet_ipv6()
3106 __wsum csum = skb_checksum(skb, skb_transport_offset(skb), udplen, 0); in fill_packet_ipv6()
3109 udph->check = csum_ipv6_magic(&iph->saddr, &iph->daddr, udplen, IPPROTO_UDP, csum); in fill_packet_ipv6()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h552 __u8 udplen; member
Dsge.c1481 wr->u.udpseg.udplen = sizeof(struct udphdr); in write_eo_udp_wr()