Searched refs:iplen (Results 1 – 7 of 7) sorted by relevance
/linux/net/core/ |
H A 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()
|
H A D | pktgen.c | 2885 int datalen, iplen; in fill_packet_ipv4() local 2973 iplen = 20 + 8 + datalen; in fill_packet_ipv4() 2974 iph->tot_len = htons(iplen); in fill_packet_ipv4()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_selftest.c | 87 int iplen; in mlx5e_test_get_udp_skb() local 124 iplen = sizeof(struct iphdr) + sizeof(struct udphdr) + in mlx5e_test_get_udp_skb() 126 iph->tot_len = htons(iplen); in mlx5e_test_get_udp_skb()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 993 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local 1005 iplen = skb_network_header_len(skb); in chcr_ktls_write_tcp_options() 1055 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options() 1060 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_write_tcp_options() 1070 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options() 1569 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local 1609 iplen = skb_network_header_len(skb); in chcr_ktls_tunnel_pkt() 1633 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_tunnel_pkt()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A 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/drivers/infiniband/hw/irdma/ |
H A D | puda.c | 428 u32 iplen, l4len; in irdma_puda_send() local 437 iplen = 5; in irdma_puda_send() 440 iplen = 10; in irdma_puda_send() 468 FIELD_PREP(IRDMA_UDA_QPSQ_IPLEN, iplen) | in irdma_puda_send()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4fw_api.h | 551 __be16 iplen; member 562 __be16 iplen; member
|