Searched refs:udplen (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/netfilter/ |
D | nf_conntrack_proto_udp.c | 48 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/ |
D | pktgen.c | 2994 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/ |
D | t4fw_api.h | 552 __u8 udplen; member
|
D | sge.c | 1481 wr->u.udpseg.udplen = sizeof(struct udphdr); in write_eo_udp_wr()
|