Searched refs:l3hdr (Results 1 – 3 of 3) sorted by relevance
649 struct iovec *l3hdr = fragment + NET_TX_PKT_L3HDR_FRAG; in net_tx_pkt_tcp_fragment_fix() local651 struct ip_header *ip = l3hdr->iov_base; in net_tx_pkt_tcp_fragment_fix()652 struct ip6_header *ip6 = l3hdr->iov_base; in net_tx_pkt_tcp_fragment_fix()653 size_t len = l3hdr->iov_len + l4hdr->iov_len + fragment_len; in net_tx_pkt_tcp_fragment_fix()658 eth_fix_ip4_checksum(l3hdr->iov_base, l3hdr->iov_len); in net_tx_pkt_tcp_fragment_fix()673 struct iovec *l3hdr = fragment + NET_TX_PKT_L3HDR_FRAG; in net_tx_pkt_tcp_fragment_advance() local675 struct ip_header *ip = l3hdr->iov_base; in net_tx_pkt_tcp_fragment_advance()706 struct iovec *l3hdr = fragment + NET_TX_PKT_L3HDR_FRAG; in net_tx_pkt_udp_fragment_fix() local707 struct ip_header *ip = l3hdr->iov_base; in net_tx_pkt_udp_fragment_fix()717 ip->ip_len = cpu_to_be16(l3hdr->iov_len + fragment_len); in net_tx_pkt_udp_fragment_fix()[all …]
319 eth_fix_ip4_checksum(void *l3hdr, size_t l3hdr_len) in eth_fix_ip4_checksum() argument321 struct ip_header *iphdr = (struct ip_header *) l3hdr; in eth_fix_ip4_checksum()323 iphdr->ip_sum = cpu_to_be16(net_raw_checksum(l3hdr, l3hdr_len)); in eth_fix_ip4_checksum()
407 eth_fix_ip4_checksum(void *l3hdr, size_t l3hdr_len);