Searched refs:iplen (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/net/core/ |
D | selftests.c | 63 int iplen, size; in net_test_get_skb() local 124 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in net_test_get_skb() 126 iplen += sizeof(*thdr); in net_test_get_skb() 128 iplen += sizeof(*uhdr); in net_test_get_skb() 131 iplen = attr->max_size - sizeof(*ehdr); in net_test_get_skb() 133 ihdr->tot_len = htons(iplen); in net_test_get_skb()
|
D | pktgen.c | 2866 int datalen, iplen; in fill_packet_ipv4() local 2954 iplen = 20 + 8 + datalen; in fill_packet_ipv4() 2955 iph->tot_len = htons(iplen); in fill_packet_ipv4()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_selftest.c | 86 int iplen; in mlx5e_test_get_udp_skb() local 123 iplen = sizeof(struct iphdr) + sizeof(struct udphdr) + in mlx5e_test_get_udp_skb() 125 iph->tot_len = htons(iplen); in mlx5e_test_get_udp_skb()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 997 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local 1009 iplen = skb_network_header_len(skb); in chcr_ktls_write_tcp_options() 1059 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options() 1064 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_write_tcp_options() 1074 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options() 1573 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local 1613 iplen = skb_network_header_len(skb); in chcr_ktls_tunnel_pkt() 1637 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_tunnel_pkt()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 68 int iplen, size; in stmmac_test_get_udp_skb() local 171 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in stmmac_test_get_udp_skb() 173 iplen += sizeof(*thdr); in stmmac_test_get_udp_skb() 175 iplen += sizeof(*uhdr); in stmmac_test_get_udp_skb() 178 iplen = attr->max_size - sizeof(*ehdr); in stmmac_test_get_udp_skb() 180 ihdr->tot_len = htons(iplen); in stmmac_test_get_udp_skb()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 660 u16 iplen; in otx2_sqe_add_ext() local 669 iplen = htons(ext->lso_sb - skb_network_offset(skb)); in otx2_sqe_add_ext() 671 ip_hdr(skb)->tot_len = iplen; in otx2_sqe_add_ext() 674 ipv6_hdr(skb)->payload_len = iplen; in otx2_sqe_add_ext()
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | puda.c | 422 u32 iplen, l4len; in irdma_puda_send() local 431 iplen = 5; in irdma_puda_send() 434 iplen = 10; in irdma_puda_send() 462 FIELD_PREP(IRDMA_UDA_QPSQ_IPLEN, iplen) | in irdma_puda_send()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4fw_api.h | 551 __be16 iplen; member 562 __be16 iplen; member
|
D | sge.c | 1480 wr->u.udpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_udp_wr() 2239 wr->u.tcpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_wr()
|