__be32 *addr, __be32 new_addr){inttransport_len = skb->len - skb_transport_offset(skb);if(nh->protocol == IPPROTO_TCP) {if(likely(transport_len >=sizeof(struct tcphdr)))inet_proto_csum_replace4(&tcp_hdr(skb)->check, skb, *addr, new_addr,1); }elseif(nh->protocol == IPPR...
函数名称:csum_replace4 函数原型:static inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) 返回类型:void 参数: 类型参数名称 __sum16 * sum __be32 from __be32 to 126 tmp等于csum_sub(~csum_unfold( * sum), (__force__wsum)from) 128...